diff options
author | Sebastien Fabbro <bicatali@gentoo.org> | 2008-04-12 17:58:27 +0000 |
---|---|---|
committer | Sebastien Fabbro <bicatali@gentoo.org> | 2008-04-12 17:58:27 +0000 |
commit | ceac4abae57dbca57a7b79bc5f109117f14aaff7 (patch) | |
tree | 76626d510464c51f076772ab25a5e055167e9983 /sci-libs/plplot | |
parent | Switch tetex to local jadetex for sci-libs/plplot (diff) | |
download | gentoo-2-ceac4abae57dbca57a7b79bc5f109117f14aaff7.tar.gz gentoo-2-ceac4abae57dbca57a7b79bc5f109117f14aaff7.tar.bz2 gentoo-2-ceac4abae57dbca57a7b79bc5f109117f14aaff7.zip |
Switch tetex to local jadetex, bug #196745
(Portage version: 2.1.5_rc2)
Diffstat (limited to 'sci-libs/plplot')
-rw-r--r-- | sci-libs/plplot/ChangeLog | 5 | ||||
-rw-r--r-- | sci-libs/plplot/plplot-5.5.2.ebuild | 24 |
2 files changed, 16 insertions, 13 deletions
diff --git a/sci-libs/plplot/ChangeLog b/sci-libs/plplot/ChangeLog index 3ec1112aefbd..abbf090730cd 100644 --- a/sci-libs/plplot/ChangeLog +++ b/sci-libs/plplot/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for sci-libs/plplot # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/plplot/ChangeLog,v 1.13 2008/04/05 19:56:56 bicatali Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-libs/plplot/ChangeLog,v 1.14 2008/04/12 17:58:27 bicatali Exp $ + + 12 Apr 2008; Sébastien Fabbro <bicatali@gentoo.org> plplot-5.5.2.ebuild: + Switch tetex to local jadetex, bug #196745 05 Apr 2008; Sébastien Fabbro <bicatali@gentoo.org> plplot-5.5.2.ebuild: Removed ifc use flag (see bug #97929) diff --git a/sci-libs/plplot/plplot-5.5.2.ebuild b/sci-libs/plplot/plplot-5.5.2.ebuild index 0dbd11c8ad74..ccd1f15c719a 100644 --- a/sci-libs/plplot/plplot-5.5.2.ebuild +++ b/sci-libs/plplot/plplot-5.5.2.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/plplot/plplot-5.5.2.ebuild,v 1.12 2008/04/05 19:56:56 bicatali Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-libs/plplot/plplot-5.5.2.ebuild,v 1.13 2008/04/12 17:58:27 bicatali Exp $ inherit eutils fortran @@ -15,13 +15,13 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" LICENSE="LGPL-2" SLOT="0" KEYWORDS="~amd64 ~x86 ~ppc" -IUSE="X debug doc fortran itcl java jpeg octave png python tk tetex truetype" +IUSE="X debug doc fortran itcl java jpeg octave png python tk jadetex truetype" RDEPEND="virtual/libc dev-lang/perl python? ( dev-python/numeric ) java? ( virtual/jre ) - tetex? ( app-text/jadetex ) + jadetex? ( app-text/jadetex ) octave? ( sci-mathematics/octave ) jpeg? ( media-libs/gd ) png? ( media-libs/gd ) @@ -51,11 +51,11 @@ pkg_setup() { src_unpack() { unpack ${A} - cd ${S} + cd "${S}" # Fix compilation problems on GCC 3.4 and the octave # bindings, thanks to the patch from Debian's BTS bug 274359. - epatch ${FILESDIR}/${PN}-5.5.1-gcc-3.4-fix.patch - epatch ${FILESDIR}/${P}-macro-fix.patch + epatch "${FILESDIR}"/${PN}-5.5.1-gcc-3.4-fix.patch + epatch "${FILESDIR}"/${P}-macro-fix.patch # properly detect octave 2.9.x sed -e "s:filepath:filedir:" \ @@ -104,7 +104,7 @@ src_compile() { # Device drivers. EXTRA_CONF="${EXTRA_CONF} $(use_enable jpeg)" EXTRA_CONF="${EXTRA_CONF} $(use_enable png)" - EXTRA_CONF="${EXTRA_CONF} $(use_enable tetex pstex)" + EXTRA_CONF="${EXTRA_CONF} $(use_enable jadetex pstex)" # Dynamic driver loading causes segfaults. EXTRA_CONF="${EXTRA_CONF} --disable-dyndrivers" # The linuxvga driver doesn't compile. @@ -146,17 +146,17 @@ src_install() { sed -i -e "s|\$(datadir)/doc/plplot|/usr/share/doc/${PF}|" Makefile || \ die "sed replacement of docs dir failed." - make install DESTDIR=${D} || die "make install step failed." + make install DESTDIR="${D}" || die "make install step failed." # To match the Gentoo FSH. if use java; then - mv ${D}/usr/lib/java/plplot ${D}/usr/share/${PN}/lib - rm -r ${D}/usr/lib/java + mv "${D}"/usr/lib/java/plplot "${D}"/usr/share/${PN}/lib + rm -r "${D}"/usr/lib/java fi # Fix permissions and gzip the basic documentation. - chmod 644 ${D}/usr/share/doc/${PF}/* - gzip ${D}/usr/share/doc/${PF}/* + chmod 644 "${D}"/usr/share/doc/${PF}/* + gzip "${D}"/usr/share/doc/${PF}/* # Install prebuilt documentation. if use doc; then cd doc/docbook/src/ |