summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcus D. Hanwell <cryos@gentoo.org>2006-01-10 12:34:04 +0000
committerMarcus D. Hanwell <cryos@gentoo.org>2006-01-10 12:34:04 +0000
commite8458b0213461ae85aab98868f9f4f513dff4baf (patch)
treed704460fd380681c9dcee58f00ab6c145faf7551 /sci-geosciences
parentChanged mirror as files removed from the main mirror, also removed nomirror w... (diff)
downloadgentoo-2-e8458b0213461ae85aab98868f9f4f513dff4baf.tar.gz
gentoo-2-e8458b0213461ae85aab98868f9f4f513dff4baf.tar.bz2
gentoo-2-e8458b0213461ae85aab98868f9f4f513dff4baf.zip
Version bump.
(Portage version: 2.0.53)
Diffstat (limited to 'sci-geosciences')
-rw-r--r--sci-geosciences/gmt/ChangeLog7
-rw-r--r--sci-geosciences/gmt/Manifest12
-rw-r--r--sci-geosciences/gmt/files/digest-gmt-4.110
-rw-r--r--sci-geosciences/gmt/gmt-4.1.ebuild109
4 files changed, 127 insertions, 11 deletions
diff --git a/sci-geosciences/gmt/ChangeLog b/sci-geosciences/gmt/ChangeLog
index 095be3f3c85f..0c74938e0f07 100644
--- a/sci-geosciences/gmt/ChangeLog
+++ b/sci-geosciences/gmt/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sci-geosciences/gmt
# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/gmt/ChangeLog,v 1.9 2006/01/10 12:27:33 cryos Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/gmt/ChangeLog,v 1.10 2006/01/10 12:34:04 cryos Exp $
+
+*gmt-4.1 (10 Jan 2006)
+
+ 10 Jan 2006; Marcus D. Hanwell <cryos@gentoo.org> +gmt-4.1.ebuild:
+ Version bump.
10 Jan 2006; Marcus D. Hanwell <cryos@gentoo.org> gmt-4.0.ebuild:
Changed mirror as files removed from the main mirror, also removed nomirror
diff --git a/sci-geosciences/gmt/Manifest b/sci-geosciences/gmt/Manifest
index 6ae57b932cbd..4beff6894ee7 100644
--- a/sci-geosciences/gmt/Manifest
+++ b/sci-geosciences/gmt/Manifest
@@ -1,16 +1,8 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
MD5 e94ed20adc6d65fcb0dec746922b580d ChangeLog 2867
MD5 eb664b10894e3ad4684892cff8b36494 files/digest-gmt-3.4.4-r1 647
MD5 922748bfd75f599ea7776e58e934b160 files/digest-gmt-4.0 637
+MD5 c00d2f1803318abe9f1ace05a31145eb files/digest-gmt-4.1 638
MD5 1a5290b5150d12ddd187bc0e2ba34ea7 gmt-3.4.4-r1.ebuild 3185
MD5 6cf4a893341b030c01d504eba744b569 gmt-4.0.ebuild 3706
+MD5 61ad9647af90ccaa76054efa3cfa3f51 gmt-4.1.ebuild 3588
MD5 8c623e53daafa025137077c6b65815bd metadata.xml 156
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.2 (GNU/Linux)
-
-iD8DBQFDw6hNntT9W3vfTuoRAuGfAJ9kf7Gb3aC+B/qhm7ME/CRS7rizJwCdH/cd
-N5LZRLEWkbrv4AOFiMluC5Q=
-=QIuo
------END PGP SIGNATURE-----
diff --git a/sci-geosciences/gmt/files/digest-gmt-4.1 b/sci-geosciences/gmt/files/digest-gmt-4.1
new file mode 100644
index 000000000000..d5f593078c3b
--- /dev/null
+++ b/sci-geosciences/gmt/files/digest-gmt-4.1
@@ -0,0 +1,10 @@
+MD5 5884a682a2fb1d91df99bde4fe1347aa GMT4.1_man.tar.bz2 109902
+MD5 3db1077fd3f126cb7f4b2a74a5ab0ad2 GMT4.1_pdf.tar.bz2 10771567
+MD5 80ff62596d89f1490d6495dc99cb6980 GMT4.1_progs.tar.bz2 786811
+MD5 a103d192c266ec1196cf16f8fcba3c09 GMT4.1_scripts.tar.bz2 3139106
+MD5 1838ca6802103b593f1161563a23ace1 GMT4.1_suppl.tar.bz2 689281
+MD5 bb6bf91a0d24e4cba409ea598f136f5a GMT4.1_tut.tar.bz2 986405
+MD5 ffef8d3d3308278fe3e7fcd333e8c610 GMT_full.tar.bz2 28792514
+MD5 10f16ecac3eb5435373f76074c847363 GMT_high.tar.bz2 8706163
+MD5 f5f2b272f8c8b575ef96849cb3add36f GMT_share.tar.bz2 3661351
+MD5 1d65b96eca53342c659676eda3591527 triangle.tar.bz2 103116
diff --git a/sci-geosciences/gmt/gmt-4.1.ebuild b/sci-geosciences/gmt/gmt-4.1.ebuild
new file mode 100644
index 000000000000..c78b83fac187
--- /dev/null
+++ b/sci-geosciences/gmt/gmt-4.1.ebuild
@@ -0,0 +1,109 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/gmt/gmt-4.1.ebuild,v 1.1 2006/01/10 12:34:04 cryos Exp $
+
+inherit multilib
+
+MAINV="${PV:0:1}"
+
+DESCRIPTION="Powerful map generator"
+HOMEPAGE="http://gmt.soest.hawaii.edu/"
+SRC_URI="ftp://falcon.grdl.noaa.gov/pub/gmt/${MAINV}/GMT${PV}_progs.tar.bz2
+ ftp://falcon.grdl.noaa.gov/pub/gmt/${MAINV}/GMT_share.tar.bz2
+ ftp://falcon.grdl.noaa.gov/pub/gmt/${MAINV}/GMT${PV}_tut.tar.bz2
+ ftp://falcon.grdl.noaa.gov/pub/gmt/${MAINV}/GMT${PV}_scripts.tar.bz2
+ ftp://falcon.grdl.noaa.gov/pub/gmt/${MAINV}/GMT${PV}_man.tar.bz2
+ doc? ( ftp://falcon.grdl.noaa.gov/pub/gmt/${MAINV}/GMT${PV}_pdf.tar.bz2 )
+ gmtsuppl? ( ftp://falcon.grdl.noaa.gov/pub/gmt/${MAINV}/GMT${PV}_suppl.tar.bz2 )
+ gmtfull? ( ftp://falcon.grdl.noaa.gov/pub/gmt/${MAINV}/GMT_full.tar.bz2 )
+ gmthigh? ( ftp://falcon.grdl.noaa.gov/pub/gmt/${MAINV}/GMT_high.tar.bz2 )
+ gmttria? ( ftp://falcon.grdl.noaa.gov/pub/gmt/${MAINV}/triangle.tar.bz2 )"
+# Needed because GMT_share in version 3 is different of that one in version 4, but they have same name.
+
+RESTRICT="nomirror"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~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 "Unpacking failed."
+
+ mv -f ${WORKDIR}/share/* ${S}/share/ || die "Moving sources failed."
+ if use gmttria; then
+ mv -f ${WORKDIR}/src/* ${S}/src/ || die "Moving gmttria failed."
+ fi
+}
+
+src_compile() {
+ use gmtsuppl && WANT_AUTOCONF=2.5 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/$(get_libdir)/${P} \
+ --includedir=/usr/include/${P} \
+ --datadir=${D}/usr/share/${P} \
+ ${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/${P} \
+ libdir=${D}/usr/$(get_libdir)/${P} \
+ datadir=${D}/usr/share/${P} \
+ install \
+ install-data \
+ install-man \
+ ${mymake} \
+ || die "Make install failed."
+
+ #now some docs
+ dodoc CHANGES README
+ cp -r ${S}/{examples,tutorial} ${D}/usr/share/doc/${PF}/
+ use doc && dodoc ${WORKDIR}/*pdf*
+
+ # Move the HTML and PDF docs to the docs directory. Old location breaks FHS
+ # compliance, and is not used by web servers generally.
+ if use doc; then
+ mv ${D}/usr/www/gmt/doc/pdf/*.pdf ${D}/usr/share/doc/${PF}/
+ mv ${D}/usr/www/gmt/doc/html ${D}/usr/share/doc/${PF}/
+ rm -rf ${D}/usr/www
+ fi
+
+ dodir /etc/env.d
+ echo "GMTHOME=/usr/share/${P}" > ${D}/etc/env.d/99gmt
+ cd ${D}/usr/share/${P}
+ ln -s . share
+}
+
+pkg_postinst() {
+ einfo "The default installation is the cleanest one"
+ einfo "To include more resources use the syntax:"
+ einfo "USE=\"gmt_flags\" emerge gmt"
+ einfo "Possible GMT flags are:"
+ einfo "gmthigh -> High resolution bathimetry database;"
+ einfo "gmtfull -> Full resolution bathimetry database;"
+ einfo "gmttria -> Non GNU triangulate method, but more efficient;"
+ einfo "gmtsuppl -> Supplementary functions for GMT;"
+}