From 9522709a3740c0c59967383265c82a2fd53c66af Mon Sep 17 00:00:00 2001 From: Ulrich Müller Date: Mon, 3 Feb 2020 11:22:45 +0100 Subject: app-doc/devmanual: Update live ebuild. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This accounts for "upstream" changes in XSL stylesheet and Makefile. Drop unused patch. Rename the fallback USE flag to offline. Package-Manager: Portage-2.3.85, Repoman-2.3.20 Signed-off-by: Ulrich Müller --- app-doc/devmanual/devmanual-9999.ebuild | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) (limited to 'app-doc/devmanual/devmanual-9999.ebuild') diff --git a/app-doc/devmanual/devmanual-9999.ebuild b/app-doc/devmanual/devmanual-9999.ebuild index 0cd5087804b2..bb8f0ecfc78d 100644 --- a/app-doc/devmanual/devmanual-9999.ebuild +++ b/app-doc/devmanual/devmanual-9999.ebuild @@ -18,7 +18,7 @@ fi LICENSE="CC-BY-SA-4.0" SLOT="0" -IUSE="+fallback" +IUSE="+offline" BDEPEND="dev-libs/libxml2 dev-libs/libxslt @@ -27,14 +27,9 @@ BDEPEND="dev-libs/libxml2 PATCHES=( "${FILESDIR}"/${PN}-eclasses.patch ) -src_prepare() { - default - use fallback && eapply "${FILESDIR}"/${PN}-fallback.patch -} - src_compile() { - emake build - use fallback || emake documents.js + emake build OFFLINE=$(usex offline 1 0) + use offline || emake documents.js } src_install() { @@ -54,7 +49,7 @@ src_install() { local DOC_CONTENTS="In order to browse the Gentoo Development Guide in offline mode, point your browser to the following url: - ${EPREFIX}/usr/share/doc/devmanual/html/index.html" + file://${EPREFIX}/usr/share/doc/${PN}/html/index.html" readme.gentoo_create_doc } @@ -66,6 +61,5 @@ pkg_postinst() { elog "the following package:" elog elog "app-doc/eclass-manpages" - elog fi } -- cgit v1.2.3-65-gdbad