From 91acabc7a3c0fe23a3e4f94135116e20e9205954 Mon Sep 17 00:00:00 2001 From: Pacho Ramos Date: Sat, 14 Apr 2018 20:43:04 +0200 Subject: app-text/docbook-sgml-dtd: Update eapi Package-Manager: Portage-2.3.28, Repoman-2.3.9 --- app-text/docbook-sgml-dtd/docbook-sgml-dtd-3.1-r3.ebuild | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'app-text/docbook-sgml-dtd/docbook-sgml-dtd-3.1-r3.ebuild') diff --git a/app-text/docbook-sgml-dtd/docbook-sgml-dtd-3.1-r3.ebuild b/app-text/docbook-sgml-dtd/docbook-sgml-dtd-3.1-r3.ebuild index d2bee0c42c72..25ee2b14ca9a 100644 --- a/app-text/docbook-sgml-dtd/docbook-sgml-dtd-3.1-r3.ebuild +++ b/app-text/docbook-sgml-dtd/docbook-sgml-dtd-3.1-r3.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="docbk31" @@ -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 *.txt } -- cgit v1.2.3-65-gdbad