summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Kursawe <phosphan@gentoo.org>2004-03-24 07:05:11 +0000
committerPatrick Kursawe <phosphan@gentoo.org>2004-03-24 07:05:11 +0000
commitffaf6d0adfbf353797f13ea3f833e7b4c0effab5 (patch)
tree9eb711f456e60d83b09b7cdc61150e64cd3beee3
parentIUSE; don't rdepend on sed; tidy (Manifest recommit) (diff)
downloadgentoo-2-ffaf6d0adfbf353797f13ea3f833e7b4c0effab5.tar.gz
gentoo-2-ffaf6d0adfbf353797f13ea3f833e7b4c0effab5.tar.bz2
gentoo-2-ffaf6d0adfbf353797f13ea3f833e7b4c0effab5.zip
Version bump because of bug #38477
-rw-r--r--app-sci/gmt/ChangeLog9
-rw-r--r--app-sci/gmt/Manifest2
-rw-r--r--app-sci/gmt/files/digest-gmt-3.4.49
-rw-r--r--app-sci/gmt/gmt-3.4.4.ebuild94
4 files changed, 112 insertions, 2 deletions
diff --git a/app-sci/gmt/ChangeLog b/app-sci/gmt/ChangeLog
index fff305609be3..3cc7adf21a86 100644
--- a/app-sci/gmt/ChangeLog
+++ b/app-sci/gmt/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-sci/gmt
-# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-sci/gmt/ChangeLog,v 1.3 2003/07/09 18:21:34 george Exp $
+# 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 $
+
+*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)
diff --git a/app-sci/gmt/Manifest b/app-sci/gmt/Manifest
index 7e444c75dcbc..9c911011a7b1 100644
--- a/app-sci/gmt/Manifest
+++ b/app-sci/gmt/Manifest
@@ -1,4 +1,6 @@
+MD5 9bcd3866ee5ca8f695407f23384e4a47 gmt-3.4.4.ebuild 2916
MD5 413b10d4b3db8a4ece1016fb85862da2 gmt-3.4.3.ebuild 2815
MD5 fa79161401d934b29a7e3fb203dc283b ChangeLog 819
MD5 8c623e53daafa025137077c6b65815bd metadata.xml 156
MD5 8c4d22612de4bad68c71056c9a0c2339 files/digest-gmt-3.4.3 581
+MD5 044f8c7eb6a703a88fc1598342cacdef files/digest-gmt-3.4.4 581
diff --git a/app-sci/gmt/files/digest-gmt-3.4.4 b/app-sci/gmt/files/digest-gmt-3.4.4
new file mode 100644
index 000000000000..a3d0775dd6c3
--- /dev/null
+++ b/app-sci/gmt/files/digest-gmt-3.4.4
@@ -0,0 +1,9 @@
+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 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/app-sci/gmt/gmt-3.4.4.ebuild b/app-sci/gmt/gmt-3.4.4.ebuild
new file mode 100644
index 000000000000..8cb575448d32
--- /dev/null
+++ b/app-sci/gmt/gmt-3.4.4.ebuild
@@ -0,0 +1,94 @@
+# 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 $
+
+MAINV="${PV:0:1}"
+
+DESCRIPTION="Powerfull 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
+ 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"
+
+#Need to include gcc and bzip??
+DEPEND=">=app-sci/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."
+}