summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenda XU <heroxbd@gentoo.org>2012-04-04 03:19:00 +0000
committerBenda XU <heroxbd@gentoo.org>2012-04-04 03:19:00 +0000
commitfd379655a02738e361f2f268362d2dea74c78412 (patch)
tree2b92d7d0e0264ab0433ad723969e5ac4e0d6ef30 /app-text/docbook-sgml-utils/docbook-sgml-utils-0.6.14-r1.ebuild
parentCleanups (diff)
downloadgentoo-2-fd379655a02738e361f2f268362d2dea74c78412.tar.gz
gentoo-2-fd379655a02738e361f2f268362d2dea74c78412.tar.bz2
gentoo-2-fd379655a02738e361f2f268362d2dea74c78412.zip
patch for prefix, add keywords for ~x86-{macosx,freebsd}, bug #410737
(Portage version: 2.1.10.49/cvs/Linux x86_64)
Diffstat (limited to 'app-text/docbook-sgml-utils/docbook-sgml-utils-0.6.14-r1.ebuild')
-rw-r--r--app-text/docbook-sgml-utils/docbook-sgml-utils-0.6.14-r1.ebuild13
1 files changed, 9 insertions, 4 deletions
diff --git a/app-text/docbook-sgml-utils/docbook-sgml-utils-0.6.14-r1.ebuild b/app-text/docbook-sgml-utils/docbook-sgml-utils-0.6.14-r1.ebuild
index 56497e02ea95..82791839424c 100644
--- a/app-text/docbook-sgml-utils/docbook-sgml-utils-0.6.14-r1.ebuild
+++ b/app-text/docbook-sgml-utils/docbook-sgml-utils-0.6.14-r1.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/docbook-sgml-utils/docbook-sgml-utils-0.6.14-r1.ebuild,v 1.8 2012/03/31 08:40:59 heroxbd Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/docbook-sgml-utils/docbook-sgml-utils-0.6.14-r1.ebuild,v 1.9 2012/04/04 03:19:00 heroxbd Exp $
EAPI=3
-inherit eutils
+inherit eutils autotools prefix
MY_PN=${PN/-sgml/}
MY_P=${MY_PN}-${PV}
@@ -16,7 +16,7 @@ SRC_URI="ftp://sources.redhat.com/pub/docbook-tools/new-trials/SOURCES/${MY_P}.t
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux"
+KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x86-macos"
IUSE="jadetex"
DEPEND=">=dev-lang/perl-5
@@ -44,6 +44,11 @@ DEPEND=">=dev-lang/perl-5
src_prepare() {
epatch "${FILESDIR}"/${MY_P}-elinks.patch
epatch "${FILESDIR}"/${P}-grep-2.7.patch
+ if use prefix; then
+ epatch "${FILESDIR}"/${MY_P}-prefix.patch
+ eprefixify doc/{man,HTML}/Makefile.am bin/jw.in backends/txt configure.in
+ eautoreconf
+ fi
}
src_install() {