diff options
-rw-r--r-- | app-sci/gmt/ChangeLog | 7 | ||||
-rw-r--r-- | app-sci/gmt/Manifest | 2 | ||||
-rw-r--r-- | app-sci/gmt/files/digest-gmt-3.4.4-r1 (renamed from app-sci/gmt/files/digest-gmt-3.4.4) | 1 | ||||
-rw-r--r-- | app-sci/gmt/gmt-3.4.4-r1.ebuild (renamed from app-sci/gmt/gmt-3.4.4.ebuild) | 35 |
4 files changed, 28 insertions, 17 deletions
diff --git a/app-sci/gmt/ChangeLog b/app-sci/gmt/ChangeLog index 3cc7adf21a86..da3e3e62f61f 100644 --- a/app-sci/gmt/ChangeLog +++ b/app-sci/gmt/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-sci/gmt # Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-sci/gmt/ChangeLog,v 1.4 2004/03/24 07:05:11 phosphan Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-sci/gmt/ChangeLog,v 1.5 2004/03/25 08:44:58 phosphan Exp $ + +*gmt-3.4.4-r1 (25 Mar 2004) + + 25 Mar 2004; Patrick Kursawe <phosphan@gentoo.org> gmt-3.4.4-r1.ebuild: + Fixing a few problems building with gmtsuppl in USE. *gmt-3.4.4 (24 Mar 2004) diff --git a/app-sci/gmt/Manifest b/app-sci/gmt/Manifest index 671cf000938c..aa6f6ae9878d 100644 --- a/app-sci/gmt/Manifest +++ b/app-sci/gmt/Manifest @@ -1,6 +1,8 @@ MD5 4a416fed1d6ace018a152642decedf15 gmt-3.4.4.ebuild 2916 MD5 413b10d4b3db8a4ece1016fb85862da2 gmt-3.4.3.ebuild 2815 +MD5 8fc2e4498c8a275143da3a04e3f0b9ed gmt-3.4.4-r1.ebuild 2974 MD5 59a75918373837f5ecef639d77b81155 ChangeLog 957 MD5 8c623e53daafa025137077c6b65815bd metadata.xml 156 MD5 8c4d22612de4bad68c71056c9a0c2339 files/digest-gmt-3.4.3 581 MD5 044f8c7eb6a703a88fc1598342cacdef files/digest-gmt-3.4.4 581 +MD5 eb664b10894e3ad4684892cff8b36494 files/digest-gmt-3.4.4-r1 647 diff --git a/app-sci/gmt/files/digest-gmt-3.4.4 b/app-sci/gmt/files/digest-gmt-3.4.4-r1 index a3d0775dd6c3..e6aff12e574c 100644 --- a/app-sci/gmt/files/digest-gmt-3.4.4 +++ b/app-sci/gmt/files/digest-gmt-3.4.4-r1 @@ -3,6 +3,7 @@ MD5 7375498ea9894255e753bd377ef6eafb GMT_share.tar.bz2 3662062 MD5 32261b973a15fdd16e973b65e9a22757 GMT3.4.4_tut.tar.bz2 986362 MD5 3f2c48e93c50503cf5f89eac5a398a99 GMT3.4.4_scripts.tar.bz2 3051755 MD5 b48c1a6bd92d9e5998703dcc49c71306 GMT3.4.4_man.tar.bz2 85214 +MD5 a0b32b180b7330500ee5bada8c30b4b3 GMT3.4.4_pdf.tar.bz2 6813835 MD5 fe1163b5bc72233048a68118546da480 GMT3.4.4_suppl.tar.bz2 518872 MD5 6f7d5721167e037b03c2bed9f4bb8725 GMT_full.tar.bz2 28789894 MD5 63217a3ca2ebcf3b918f085651a91e12 GMT_high.tar.bz2 8641460 diff --git a/app-sci/gmt/gmt-3.4.4.ebuild b/app-sci/gmt/gmt-3.4.4-r1.ebuild index 8cb575448d32..4f6375ea343d 100644 --- a/app-sci/gmt/gmt-3.4.4.ebuild +++ b/app-sci/gmt/gmt-3.4.4-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-sci/gmt/gmt-3.4.4.ebuild,v 1.1 2004/03/24 07:05:11 phosphan Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-sci/gmt/gmt-3.4.4-r1.ebuild,v 1.1 2004/03/25 08:44:58 phosphan Exp $ MAINV="${PV:0:1}" @@ -11,6 +11,7 @@ SRC_URI="ftp://gmt.soest.hawaii.edu/pub/gmt/${MAINV}/GMT${PV}_progs.tar.bz2 ftp://gmt.soest.hawaii.edu/pub/gmt/${MAINV}/GMT${PV}_tut.tar.bz2 ftp://gmt.soest.hawaii.edu/pub/gmt/${MAINV}/GMT${PV}_scripts.tar.bz2 ftp://gmt.soest.hawaii.edu/pub/gmt/${MAINV}/GMT${PV}_man.tar.bz2 + doc? ( ftp://gmt.soest.hawaii.edu/pub/gmt/${MAINV}/GMT${PV}_pdf.tar.bz2 ) gmtsuppl? ( ftp://gmt.soest.hawaii.edu/pub/gmt/${MAINV}/GMT${PV}_suppl.tar.bz2) gmtfull? ( ftp://gmt.soest.hawaii.edu/pub/gmt/${MAINV}/GMT_full.tar.bz2 ) gmthigh? ( ftp://gmt.soest.hawaii.edu/pub/gmt/${MAINV}/GMT_high.tar.bz2 ) @@ -20,21 +21,16 @@ SRC_URI="ftp://gmt.soest.hawaii.edu/pub/gmt/${MAINV}/GMT${PV}_progs.tar.bz2 LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86" -IUSE="gmtsuppl gmtfull gmthigh gmttria" +IUSE="gmtsuppl gmtfull gmthigh gmttria doc" -#Need to include gcc and bzip?? -DEPEND=">=app-sci/netcdf-3.5.0" -#RDEPEND="" +RDEPEND=">=app-sci/netcdf-3.5.0" +DEPEND="${RDEPEND} + gmtsuppl? ( >=sys-devel/autoconf-2.58 )" S="${WORKDIR}/GMT${PV}" -pkg_setup() { - einfo "The default instalation is the cleanest one. To include more " - einfo "resources take a look at ebuild file." -} - src_unpack() { - + use gmtfull && einfo "Please be patient, this will take some time to unpack..." unpack ${A} || die mv -f ${WORKDIR}/share/* ${S}/share/ || die @@ -44,14 +40,16 @@ src_unpack() { } src_compile() { + use gmtsuppl && autoconf # the configure in 3.4.4 is faulty when using gmtsuppl #In make process will include /lib and /include to NETCDFHOME export NETCDFHOME="/usr" local myconf= use gmttria && myconf="${myconf} --enable-triangle" econf \ - --libdir=/usr/lib/gmt-${PV}·\ - --includedir=/usr/include/gmt-${PV}·\ + --libdir=/usr/lib/${PF} \ + --includedir=/usr/include/${PF} \ + --datadir=${D}/usr/share/${PF} \ ${myconf} \ || die "configure failed" @@ -63,11 +61,13 @@ src_compile() { src_install() { local mymake= use gmtsuppl && mymake="${mymake} install-suppl" + mkdir -p www/gmt/doc/html use doc && mymake="${mymake} install-www" einstall \ includedir=${D}/usr/include/gmt-${PV} \ - libdir=${D}/usr/lib/gmt-${PV}·\ + libdir=${D}/usr/lib/gmt-${PV} \ + datadir=${D}/usr/share/${PF} \ install \ install-data \ install-man \ @@ -77,6 +77,11 @@ src_install() { #now some docs dodoc CHANGES COPYING README cp -r ${S}/{examples,tutorial} ${D}/usr/share/doc/${PF}/ + use doc && dodoc ${WORKDIR}/*pdf* + dodir /etc/env.d + echo "GMTHOME=/usr/share/${PF}" > ${D}/etc/env.d/99gmt + cd ${D}/usr/share/${PF} + ln -s . share } pkg_postinst() { @@ -84,8 +89,6 @@ pkg_postinst() { einfo "To include more resources use the syntax:" einfo "env USE=\"\${USE} gmt_flags\" emerge gmt" einfo "Possible GMT flags are:" - #einfo "gmtman -> man documents;" - #einfo "gmtpdf -> PDF documents;"#Not right setted yet einfo "gmthigh -> High resolution bathimetry data base;" einfo "gmtfull -> Full resolution bathimetry data base;" einfo "gmttria -> Non GNU triangulate method, but more efficient;" |