diff options
author | Olivier Fisette <ribosome@gentoo.org> | 2004-12-29 01:29:52 +0000 |
---|---|---|
committer | Olivier Fisette <ribosome@gentoo.org> | 2004-12-29 01:29:52 +0000 |
commit | 09e63e54c7bcd4253aed287903fd1115925ba42b (patch) | |
tree | 107f5888e3d74b772e919dc3a5963010f9f76572 /sci-geosciences/gmt | |
parent | Moved gempak from app-sci to sci-geosciences (diff) | |
download | gentoo-2-09e63e54c7bcd4253aed287903fd1115925ba42b.tar.gz gentoo-2-09e63e54c7bcd4253aed287903fd1115925ba42b.tar.bz2 gentoo-2-09e63e54c7bcd4253aed287903fd1115925ba42b.zip |
Moved from app-sci/gmt to sci-geosciences/gmt.
Diffstat (limited to 'sci-geosciences/gmt')
-rw-r--r-- | sci-geosciences/gmt/ChangeLog | 49 | ||||
-rw-r--r-- | sci-geosciences/gmt/Manifest | 6 | ||||
-rw-r--r-- | sci-geosciences/gmt/files/digest-gmt-3.4.3 | 9 | ||||
-rw-r--r-- | sci-geosciences/gmt/files/digest-gmt-3.4.4-r1 | 10 | ||||
-rw-r--r-- | sci-geosciences/gmt/gmt-3.4.3.ebuild | 92 | ||||
-rw-r--r-- | sci-geosciences/gmt/gmt-3.4.4-r1.ebuild | 97 | ||||
-rw-r--r-- | sci-geosciences/gmt/metadata.xml | 5 |
7 files changed, 268 insertions, 0 deletions
diff --git a/sci-geosciences/gmt/ChangeLog b/sci-geosciences/gmt/ChangeLog new file mode 100644 index 000000000000..0b31ba62efcf --- /dev/null +++ b/sci-geosciences/gmt/ChangeLog @@ -0,0 +1,49 @@ +# ChangeLog for app-sci/gmt +# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/gmt/ChangeLog,v 1.1 2004/12/29 01:29:52 ribosome Exp $ + +*gmt-3.4.4-r1 (28 Dec 2004) + + 28 Dec 2004; Olivier Fisette <ribosome@gentoo.org> +metadata.xml, + +gmt-3.4.3.ebuild, +gmt-3.4.4-r1.ebuild: + Moved from app-sci/gmt to sci-geosciences/gmt. + + 07 Aug 2004; Tom Martin <slarti@gentoo.org> gmt-3.4.3.ebuild, + gmt-3.4.4-r1.ebuild: + Typo in DESCRIPTION: Powerfull -> Powerful. Bug 59717. + + 02 Jun 2004; Aron Griffis <agriffis@gentoo.org> gmt-3.4.3.ebuild, + gmt-3.4.4-r1.ebuild: + Fix use invocation + + 17 May 2004; Patrick Kursawe <phosphan@gentoo.org> gmt-3.4.4-r1.ebuild: + Going stable + + 26 Mar 2004; Patrick Kursawe <phosphan@gentoo.org> gmt-3.4.3.ebuild: + Adding "doc" to IUSE + +*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) + + 24 Mar 2004; Patrick Kursawe <phosphan@gentoo.org> gmt-3.4.4.ebuild: + Version bump because of bug #38477. + +*gmt-3.4.3 (08 Jul 2003) + + 08 Jul 2003; George Shapovalov <george@gentoo.org> gmt-3.4.3.ebuild, files/digest-gmt-3.4.3 : + new version (#23977) + evuild now applies local useflags instead of checking some arbitrary vars. + Will make this version stable instead of previous one upon some testing. + Thanks to Castel?o <castelao@oceanologia.net> for submission + + +*gmt-3.4.2.ebuild (06 Feb 2003) + + 06 Feb 2003; George Shapovalov <george@gentoo.org> ChangeLog, gmt-3.4.2.ebuild, files/digest-gmt-3.4.2 : + initial release (#10956) + Powerfull map generator + ebuild submitted by Castel?o <castelao@oceanologia.net> diff --git a/sci-geosciences/gmt/Manifest b/sci-geosciences/gmt/Manifest new file mode 100644 index 000000000000..2dabde62b849 --- /dev/null +++ b/sci-geosciences/gmt/Manifest @@ -0,0 +1,6 @@ +MD5 5c3cad064236802eb1851b2386ffd55f gmt-3.4.3.ebuild 2804 +MD5 d5267f49daedbf491c545e11ea206f21 gmt-3.4.4-r1.ebuild 3171 +MD5 02d8fab2db700cdbc2618690bd6e776a ChangeLog 1549 +MD5 8c623e53daafa025137077c6b65815bd metadata.xml 156 +MD5 8c4d22612de4bad68c71056c9a0c2339 files/digest-gmt-3.4.3 581 +MD5 eb664b10894e3ad4684892cff8b36494 files/digest-gmt-3.4.4-r1 647 diff --git a/sci-geosciences/gmt/files/digest-gmt-3.4.3 b/sci-geosciences/gmt/files/digest-gmt-3.4.3 new file mode 100644 index 000000000000..999b2328de69 --- /dev/null +++ b/sci-geosciences/gmt/files/digest-gmt-3.4.3 @@ -0,0 +1,9 @@ +MD5 5c6d329c7ec810ff22238a2df818307d GMT3.4.3_progs.tar.bz2 558935 +MD5 7375498ea9894255e753bd377ef6eafb GMT_share.tar.bz2 3662062 +MD5 e0dae08d68590834810d0f5e577999f5 GMT3.4.3_tut.tar.bz2 986401 +MD5 62a6966aa3a72475fcb403d99b7de33f GMT3.4.3_scripts.tar.bz2 3051535 +MD5 e693d32653d6764ce1d1a0781b3260d3 GMT3.4.3_man.tar.bz2 86380 +MD5 f6b62419d59eb94f84bd276008377b01 GMT3.4.3_suppl.tar.bz2 521583 +MD5 6f7d5721167e037b03c2bed9f4bb8725 GMT_full.tar.bz2 28789894 +MD5 63217a3ca2ebcf3b918f085651a91e12 GMT_high.tar.bz2 8641460 +MD5 3361f8dbf09443814c0c68fb9cfda1b5 triangle.tar.bz2 90342 diff --git a/sci-geosciences/gmt/files/digest-gmt-3.4.4-r1 b/sci-geosciences/gmt/files/digest-gmt-3.4.4-r1 new file mode 100644 index 000000000000..e6aff12e574c --- /dev/null +++ b/sci-geosciences/gmt/files/digest-gmt-3.4.4-r1 @@ -0,0 +1,10 @@ +MD5 91e2c498acf44c9a6e5eb582327a9b5b GMT3.4.4_progs.tar.bz2 571995 +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 +MD5 3361f8dbf09443814c0c68fb9cfda1b5 triangle.tar.bz2 90342 diff --git a/sci-geosciences/gmt/gmt-3.4.3.ebuild b/sci-geosciences/gmt/gmt-3.4.3.ebuild new file mode 100644 index 000000000000..9d6eb2b92710 --- /dev/null +++ b/sci-geosciences/gmt/gmt-3.4.3.ebuild @@ -0,0 +1,92 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/gmt/gmt-3.4.3.ebuild,v 1.1 2004/12/29 01:29:52 ribosome Exp $ + +DESCRIPTION="Powerful map generator" +HOMEPAGE="http://gmt.soest.hawaii.edu/" +SRC_URI="ftp://gmt.soest.hawaii.edu/pub/gmt/GMT${PV}_progs.tar.bz2 + ftp://gmt.soest.hawaii.edu/pub/gmt/GMT_share.tar.bz2 + ftp://gmt.soest.hawaii.edu/pub/gmt/GMT${PV}_tut.tar.bz2 + ftp://gmt.soest.hawaii.edu/pub/gmt/GMT${PV}_scripts.tar.bz2 + ftp://gmt.soest.hawaii.edu/pub/gmt/GMT${PV}_man.tar.bz2 + gmtsuppl? ( ftp://gmt.soest.hawaii.edu/pub/gmt/GMT${PV}_suppl.tar.bz2) + gmtfull? ( ftp://gmt.soest.hawaii.edu/pub/gmt/GMT_full.tar.bz2 ) + gmthigh? ( ftp://gmt.soest.hawaii.edu/pub/gmt/GMT_high.tar.bz2 ) + gmttria? ( ftp://gmt.soest.hawaii.edu/pub/gmt/triangle.tar.bz2 )" + #gmtpdf? ( ftp://gmt.soest.hawaii.edu/pub/gmt/GMT${PV}_pdf.tar.bz2 ) + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="x86" +IUSE="gmtsuppl gmtfull gmthigh gmttria doc" + +#Need to include gcc and bzip?? +DEPEND=">=sci-libs/netcdf-3.5.0" +#RDEPEND="" + +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() { + + unpack ${A} || die + + mv -f ${WORKDIR}/share/* ${S}/share/ || die + if use gmttria ; then + mv -f ${WORKDIR}/src/* ${S}/src/ || die + fi +} + +src_compile() { + #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}·\ + ${myconf} \ + || die "configure failed" + + local mymake= + use gmtsuppl && mymake="${mymake} suppl" + make gmt ${mymake} || die "make ${mymake} failed" +} + +src_install() { + local mymake= + use gmtsuppl && mymake="${mymake} install-suppl" + use doc && mymake="${mymake} install-www" + + einstall \ + includedir=${D}/usr/include/gmt-${PV} \ + libdir=${D}/usr/lib/gmt-${PV}·\ + install \ + install-data \ + install-man \ + ${mymake} \ + || die "install failed" + + #now some docs + dodoc CHANGES COPYING README + cp -r ${S}/{examples,tutorial} ${D}/usr/share/doc/${PF}/ +} + +pkg_postinst() { + einfo "The default instalation is the cleanest one" + 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;" + einfo "gmtsuppl -> Supplement functions for GMT;" + einfo "Others GMT flags will be included soon." +} diff --git a/sci-geosciences/gmt/gmt-3.4.4-r1.ebuild b/sci-geosciences/gmt/gmt-3.4.4-r1.ebuild new file mode 100644 index 000000000000..7aed3af02716 --- /dev/null +++ b/sci-geosciences/gmt/gmt-3.4.4-r1.ebuild @@ -0,0 +1,97 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/gmt/gmt-3.4.4-r1.ebuild,v 1.1 2004/12/29 01:29:52 ribosome Exp $ + +MAINV="${PV:0:1}" + +DESCRIPTION="Powerful map generator" +HOMEPAGE="http://gmt.soest.hawaii.edu/" +SRC_URI="ftp://gmt.soest.hawaii.edu/pub/gmt/${MAINV}/GMT${PV}_progs.tar.bz2 + ftp://gmt.soest.hawaii.edu/pub/gmt/${MAINV}/GMT_share.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 ) + gmttria? ( ftp://gmt.soest.hawaii.edu/pub/gmt/${MAINV}/triangle.tar.bz2 )" + #gmtpdf? ( ftp://gmt.soest.hawaii.edu/pub/gmt/GMT${PV}_pdf.tar.bz2 ) + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="x86" +IUSE="gmtsuppl gmtfull gmthigh gmttria doc" + +RDEPEND=">=sci-libs/netcdf-3.5.0" +DEPEND="${RDEPEND} + gmtsuppl? ( >=sys-devel/autoconf-2.58 )" + +S="${WORKDIR}/GMT${PV}" + +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 + if use gmttria ; then + mv -f ${WORKDIR}/src/* ${S}/src/ || die + fi +} + +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/${PF} \ + --includedir=/usr/include/${PF} \ + --datadir=${D}/usr/share/${PF} \ + ${myconf} \ + || die "configure failed" + + local mymake= + use gmtsuppl && mymake="${mymake} suppl" + make gmt ${mymake} || die "make ${mymake} failed" +} + +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} \ + datadir=${D}/usr/share/${PF} \ + install \ + install-data \ + install-man \ + ${mymake} \ + || die "install failed" + + #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() { + einfo "The default instalation is the cleanest one" + einfo "To include more resources use the syntax:" + einfo "env USE=\"\${USE} gmt_flags\" emerge gmt" + einfo "Possible GMT flags are:" + einfo "gmthigh -> High resolution bathimetry data base;" + einfo "gmtfull -> Full resolution bathimetry data base;" + einfo "gmttria -> Non GNU triangulate method, but more efficient;" + einfo "gmtsuppl -> Supplement functions for GMT;" + einfo "Others GMT flags will be included soon." +} diff --git a/sci-geosciences/gmt/metadata.xml b/sci-geosciences/gmt/metadata.xml new file mode 100644 index 000000000000..b229aec85b8f --- /dev/null +++ b/sci-geosciences/gmt/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>sci</herd> +</pkgmetadata> |