diff options
author | Benda XU <heroxbd@gentoo.org> | 2012-04-04 03:19:00 +0000 |
---|---|---|
committer | Benda XU <heroxbd@gentoo.org> | 2012-04-04 03:19:00 +0000 |
commit | fd379655a02738e361f2f268362d2dea74c78412 (patch) | |
tree | 2b92d7d0e0264ab0433ad723969e5ac4e0d6ef30 /app-text/docbook-sgml-utils | |
parent | Cleanups (diff) | |
download | gentoo-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')
3 files changed, 106 insertions, 6 deletions
diff --git a/app-text/docbook-sgml-utils/ChangeLog b/app-text/docbook-sgml-utils/ChangeLog index 96b33b30546b..703cda8187c7 100644 --- a/app-text/docbook-sgml-utils/ChangeLog +++ b/app-text/docbook-sgml-utils/ChangeLog @@ -1,8 +1,13 @@ # ChangeLog for app-text/docbook-sgml-utils # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/docbook-sgml-utils/ChangeLog,v 1.63 2012/03/31 08:40:59 heroxbd Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/docbook-sgml-utils/ChangeLog,v 1.64 2012/04/04 03:19:00 heroxbd Exp $ - 31 Mar 2012: XU Benda <heroxbd@gentoo.org> + 04 Apr 2010: Benda XU <heroxbd@gentoo.org> + docbook-sgml-utils-0.6.14-r1.ebuild: + +docbook-utils-0.6.14-prefix.patch + patch for prefix, add keywords for ~x86-{macosx,freebsd}, bug #410737 + + 31 Mar 2012: Benda XU <heroxbd@gentoo.org> docbook-sgml-utils-0.6.14-r1.ebuild: add keywords for ~{amd64,x86}-linux 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() { diff --git a/app-text/docbook-sgml-utils/files/docbook-utils-0.6.14-prefix.patch b/app-text/docbook-sgml-utils/files/docbook-utils-0.6.14-prefix.patch new file mode 100644 index 000000000000..29906c2046ad --- /dev/null +++ b/app-text/docbook-sgml-utils/files/docbook-utils-0.6.14-prefix.patch @@ -0,0 +1,90 @@ +--- doc/HTML/Makefile.am~ 2007-10-08 04:13:04 +0200 ++++ doc/HTML/Makefile.am 2007-10-08 04:13:34 +0200 +@@ -23,7 +23,7 @@ + $(top_srcdir)/doc/refentry/docbook2texi-spec.pl.sgml \ + $(top_srcdir)/doc/refentry/frontend-spec.sgml \ + $(top_srcdir)/doc/refentry/sgmldiff.sgml +- SGML_CATALOG_FILES=/etc/sgml/catalog \ ++ SGML_CATALOG_FILES=@GENTOO_PORTAGE_EPREFIX@/etc/sgml/catalog \ + SGML_SEARCH_PATH=$(top_srcdir):$(top_srcdir)/doc:.. \ + jade -t sgml -i html -d $(top_srcdir)/docbook-utils.dsl\#html \ + -V '%use-id-as-filename%' $< +--- doc/man/Makefile.am~ 2007-10-08 04:14:16 +0200 ++++ doc/man/Makefile.am 2007-10-08 04:14:29 +0200 +@@ -10,7 +10,7 @@ + + $(man1_MANS) $(man7_MANS): $(top_srcdir)/doc/docbook-utils.sgml \ + $(top_srcdir)/helpers/docbook2man-spec.pl +- SGML_CATALOG_FILES=/etc/sgml/catalog \ ++ SGML_CATALOG_FILES=@GENTOO_PORTAGE_EPREFIX@/etc/sgml/catalog \ + SGML_SEARCH_PATH=$(top_srcdir)/doc:.. \ + nsgmls $< | \ + sgmlspl $(top_srcdir)/helpers/docbook2man-spec.pl +--- bin/jw.in~ 2007-10-08 04:27:18 +0200 ++++ bin/jw.in 2007-10-08 04:28:40 +0200 +@@ -63,7 +63,7 @@ + then + SGML_CONF=`sgmlwhich` + else +- SGML_CONF="/etc/sgml/sgml.conf" ++ SGML_CONF="@GENTOO_PORTAGE_EPREFIX@/etc/sgml/sgml.conf" + fi + + # Set version message +@@ -77,7 +77,7 @@ + + # Set SGML base directory and centralized catalogs directory + SGML_BASE_DIR="@prefix@/share/sgml" +-SGML_CATALOGS_DIR="/etc/sgml" ++SGML_CATALOGS_DIR="@GENTOO_PORTAGE_EPREFIX@/etc/sgml" + if [ -f "$SGML_CONF" ] + then + RE='^[:space:]*SGML_BASE_DIR[:space:]*=[:space:]*' +--- backends/txt~ 2007-10-08 04:59:59 +0200 ++++ backends/txt 2007-10-08 05:00:52 +0200 +@@ -2,21 +2,21 @@ + # Send any comments to Eric Bischoff <eric@caldera.de> + # This program is under GPL license. See LICENSE file for details. + +-if [ -x /usr/bin/lynx ] ++if [ -x "@GENTOO_PORTAGE_EPREFIX@"/usr/bin/lynx ] + then +- CONVERT=/usr/bin/lynx ++ CONVERT="@GENTOO_PORTAGE_EPREFIX@"/usr/bin/lynx + ARGS="-force_html -dump -nolist -width=72" +-elif [ -x /usr/bin/links ] ++elif [ -x "@GENTOO_PORTAGE_EPREFIX@"/usr/bin/links ] + then +- CONVERT=/usr/bin/links ++ CONVERT="@GENTOO_PORTAGE_EPREFIX@"/usr/bin/links + ARGS="-dump" +-elif [ -x /usr/bin/elinks ] ++elif [ -x "@GENTOO_PORTAGE_EPREFIX@"/usr/bin/elinks ] + then +- CONVERT=/usr/bin/elinks ++ CONVERT="@GENTOO_PORTAGE_EPREFIX@"/usr/bin/elinks + ARGS="-dump" +-elif [ -x /usr/bin/w3m ] ++elif [ -x "@GENTOO_PORTAGE_EPREFIX@"/usr/bin/w3m ] + then +- CONVERT=/usr/bin/w3m ++ CONVERT="@GENTOO_PORTAGE_EPREFIX@"/usr/bin/w3m + ARGS="-dump" + else + echo >&2 "No way to convert HTML to text found." +--- configure.in~ 2004-02-11 15:14:15 +0100 ++++ configure.in 2007-10-14 10:40:51 +0200 +@@ -20,11 +20,11 @@ + AC_SUBST(docdir) + + dnl Checks for programs. +-jade_bindirs="/usr/bin /usr/local/bin" ++jade_bindirs="@GENTOO_PORTAGE_EPREFIX@/usr/bin" + AC_FIND_PROGRAM(nsgmls, $jade_bindirs, jade_bindir) + AC_SUBST(jade_bindir) + +-perl_bindirs="/usr/bin /usr/local/bin" ++perl_bindirs="@GENTOO_PORTAGE_EPREFIX@/usr/bin" + AC_FIND_PROGRAM(perl, $perl_bindirs, perl_bindir) + AC_SUBST(perl_bindir) + |