diff options
Diffstat (limited to 'app-text/docbook-sgml-dtd/docbook-sgml-dtd-4.2-r2.ebuild')
-rw-r--r-- | app-text/docbook-sgml-dtd/docbook-sgml-dtd-4.2-r2.ebuild | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/app-text/docbook-sgml-dtd/docbook-sgml-dtd-4.2-r2.ebuild b/app-text/docbook-sgml-dtd/docbook-sgml-dtd-4.2-r2.ebuild index bc684fd098a7..3148720a2ac7 100644 --- a/app-text/docbook-sgml-dtd/docbook-sgml-dtd-4.2-r2.ebuild +++ b/app-text/docbook-sgml-dtd/docbook-sgml-dtd-4.2-r2.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-4.2" @@ -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 } |