summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2018-04-14 20:43:04 +0200
committerPacho Ramos <pacho@gentoo.org>2018-04-14 20:45:14 +0200
commit91acabc7a3c0fe23a3e4f94135116e20e9205954 (patch)
tree15a2b2ac72d6afb108e683e600cdea6f6c1188af /app-text/docbook-sgml-dtd/docbook-sgml-dtd-4.4.ebuild
parentnet-p2p/ctorrent: Support libressl (#602326) (diff)
downloadgentoo-91acabc7a3c0fe23a3e4f94135116e20e9205954.tar.gz
gentoo-91acabc7a3c0fe23a3e4f94135116e20e9205954.tar.bz2
gentoo-91acabc7a3c0fe23a3e4f94135116e20e9205954.zip
app-text/docbook-sgml-dtd: Update eapi
Package-Manager: Portage-2.3.28, Repoman-2.3.9
Diffstat (limited to 'app-text/docbook-sgml-dtd/docbook-sgml-dtd-4.4.ebuild')
-rw-r--r--app-text/docbook-sgml-dtd/docbook-sgml-dtd-4.4.ebuild12
1 files changed, 6 insertions, 6 deletions
diff --git a/app-text/docbook-sgml-dtd/docbook-sgml-dtd-4.4.ebuild b/app-text/docbook-sgml-dtd/docbook-sgml-dtd-4.4.ebuild
index e8a045063c2a..42f570ed67a4 100644
--- a/app-text/docbook-sgml-dtd/docbook-sgml-dtd-4.4.ebuild
+++ b/app-text/docbook-sgml-dtd/docbook-sgml-dtd-4.4.ebuild
@@ -1,6 +1,7 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
+EAPI=5
inherit sgml-catalog eutils
MY_P="docbook-${PV}"
@@ -16,22 +17,21 @@ IUSE=""
DEPEND=">=app-arch/unzip-5.41"
RDEPEND="app-text/sgml-common"
-S=${WORKDIR}
+S="${WORKDIR}"
sgml-catalog_cat_include "/etc/sgml/sgml-docbook-${PV}.cat" \
"/usr/share/sgml/docbook/sgml-dtd-${PV}/catalog"
sgml-catalog_cat_include "/etc/sgml/sgml-docbook-${PV}.cat" \
"/etc/sgml/sgml-docbook.cat"
-src_unpack() {
- unpack ${A}
+src_prepare() {
+ default
epatch "${FILESDIR}"/${P}-catalog.diff
}
src_install() {
insinto /usr/share/sgml/docbook/sgml-dtd-${PV}
- doins *.dcl *.dtd *.mod || die "doins failed"
- newins docbook.cat catalog || die "newins failed"
-
+ doins *.dcl *.dtd *.mod
+ newins docbook.cat catalog
dodoc ChangeLog README
}