summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Chvatal <scarabeus@gentoo.org>2012-05-29 17:25:17 +0000
committerTomas Chvatal <scarabeus@gentoo.org>2012-05-29 17:25:17 +0000
commit4416340e4100c779a201de467eb9031ed63d9d73 (patch)
tree7197d577e5d53882e0ae2aff1a3a6bf1e12cfbeb /sci-geosciences
parentKeyword ~x86 (diff)
downloadhistorical-4416340e4100c779a201de467eb9031ed63d9d73.tar.gz
historical-4416340e4100c779a201de467eb9031ed63d9d73.tar.bz2
historical-4416340e4100c779a201de467eb9031ed63d9d73.zip
Version bump to latest release.
Package-Manager: portage-2.2.0_alpha108/cvs/Linux x86_64
Diffstat (limited to 'sci-geosciences')
-rw-r--r--sci-geosciences/gmt/ChangeLog8
-rw-r--r--sci-geosciences/gmt/Manifest34
-rw-r--r--sci-geosciences/gmt/gmt-4.5.8.ebuild86
-rw-r--r--sci-geosciences/gmt/metadata.xml1
4 files changed, 113 insertions, 16 deletions
diff --git a/sci-geosciences/gmt/ChangeLog b/sci-geosciences/gmt/ChangeLog
index 12feb19564b6..7570c1177050 100644
--- a/sci-geosciences/gmt/ChangeLog
+++ b/sci-geosciences/gmt/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sci-geosciences/gmt
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/gmt/ChangeLog,v 1.26 2012/05/29 11:51:20 scarabeus Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/gmt/ChangeLog,v 1.27 2012/05/29 17:25:17 scarabeus Exp $
+
+*gmt-4.5.8 (29 May 2012)
+
+ 29 May 2012; Tomáš Chvátal <scarabeus@gentoo.org> +gmt-4.5.8.ebuild,
+ metadata.xml:
+ Version bump to latest release.
29 May 2012; Tomáš Chvátal <scarabeus@gentoo.org> -gmt-4.0.ebuild,
gmt-4.5.6.ebuild:
diff --git a/sci-geosciences/gmt/Manifest b/sci-geosciences/gmt/Manifest
index f3ea7909d485..34bedd1198dc 100644
--- a/sci-geosciences/gmt/Manifest
+++ b/sci-geosciences/gmt/Manifest
@@ -11,23 +11,27 @@ DIST GMT4.5.6_triangle.tar.bz2 103426 RMD160 a8fb547530f857ffa8618c49609666d0a75
DIST GSHHS2.1.1_coast.tar.bz2 4322743 RMD160 d75a9dcce2a36fa418054ab77b315f5595423a96 SHA1 f54899ad197136271cdf17e0b0edc68a08718d0c SHA256 9d78154cc316553e7ade8c79792d15e97469615f67e256e91b35da4bf0e64730
DIST GSHHS2.1.1_full.tar.bz2 29916230 RMD160 63f779f17bb5ed54518aac73f723304bba0d394e SHA1 95b26d901796d8bf8a6d7be0142d10e7f29473fb SHA256 a81f6cdf64cad78c36b71c550079f11ebc11305b399f2c5354dc0d4087977938
DIST GSHHS2.1.1_high.tar.bz2 9712697 RMD160 4a3047276ba25bf20ee0310d0c6dcea8aa5f174c SHA1 599797908ba0258fc00706f634909e1494a55717 SHA256 a19e1e4b205419d56ae3dca98a71dd0001eb5aab2ebc5f436c1d7e6e741945c7
+DIST gmt-4.5.8-non-gpl.tar.bz2 109125 RMD160 e420fa50d388227eb4147ef3a363459c8720408f SHA1 d383d480d46229ba142d64c55a4ede4fb14f0196 SHA256 f68c9ee5d0376f0931643be9afc34f21f2f8752117c7fdfb46a7239c1acdc98f
+DIST gmt-4.5.8.tar.bz2 39350328 RMD160 faa58f8c35a4e00f5a9515066b90e08a940cb0d6 SHA1 823783c1abc9a7e0493c35661e516d4f607fff17 SHA256 de3398acaf3ecb34f48c8a61a916c6037276793bd4b13bef376282a7731e54d4
+DIST gshhs-2.2.0.tar.bz2 47021761 RMD160 aa744b2fdcdf849cc5c4abce97f1d29f4cdc20a4 SHA1 786d58b9a335d3bacb37f40f21ee3bfbb424cd10 SHA256 e6c6c93ae10c9476c33934d46f5fb54a4d12463bdfb46f8e1c2f189ed4a4dfd2
EBUILD gmt-4.5.6.ebuild 2327 RMD160 29f34b12891a3b234ebd86df7cc193e34cabe6fe SHA1 e44b05dbeb9282fb6b47dd1cb47e0c137625f0c7 SHA256 2a0057241adf8bde388d44a5753b8a8be7f1410d7b829e5b2689c2f991a54f24
-MISC ChangeLog 5393 RMD160 39b4b4481ba6bee40f26d59a83f9440c19c73aec SHA1 09c5f47a6acf772b27f6b86751b675f33ba3e2ed SHA256 8509a5e37c3fe7f765189a7d57f6e1346d1a62be176b470699be3f693c185f99
-MISC metadata.xml 662 RMD160 bc9eca7a8885a34cf1a182a9814eb6f947e035d4 SHA1 29a81c37730fad30d2106d7dc5c411cab2f3c034 SHA256 0f121cf40c6ef5a10cd6392d1896eb55abe121888166004307c3957404e196c3
+EBUILD gmt-4.5.8.ebuild 1898 RMD160 13186f9de924e12d267e49ba7ab77a417991d269 SHA1 8543c1b75388f0eb8c290968ede9955c3fbb1bb9 SHA256 9820b48ebf2cb7bfa1bf46c519965ee62cb73558c7070019f0d4b21a0549172a
+MISC ChangeLog 5544 RMD160 4a6f18c969a5514ea3c822c0ae194d7dc1bda722 SHA1 fbe8b799d54d8c058d8d334ba22db62c6def69bb SHA256 20180c8339b17aed5d3e95a0269a1079fcfbf50a4d679ebbdc12de76154c8589
+MISC metadata.xml 737 RMD160 0200684775cb8c16d0b18e32dc2f43c13bee2d54 SHA1 f98a83e739b208a1e982959cb30df99b9f64cd17 SHA256 7873c97ab286bb01a646b51e016bd9287cff50ea5c4ff08cb0ed4d064a7501dc
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
-iQIcBAEBAgAGBQJPxLhAAAoJEOSiRoyO7jvoTA4P/3o0GJThnR+JMZkXLeRE74HT
-faWdQF+3lS6RoVnVLW9vaG54VIJnaRg4+SyX0agV6U1lOJ6Z8MlMFwiMP4BHkE0l
-ePvc2BJ90hKdDhCfpQq4tukrAf56LoFRT2ljpUXdLy4wTK+ndfGSyUin0KUkTDxP
-4t0v74AuH5IksuP5nyNbZOKYAaQG8aCUa/47gMtkNwqZNxQybltonkvTLM70eDR/
-NG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fmykkjNgO7cPCx4cCCQc
+R1OaP0MJ/BHES13L2onSg8gnSsfVcFrLhrx4ZP1jzsZoAQawZPS+J5P8IoYssKVY
+XLW/r9cIA/+UedGpn4xfVldayY8DDDwncl+rrhGYZbfRQMajMVw30KuqzP6UcyuU
++hLPVLOZBoqGRMBBC6OC
+=FX9c
-----END PGP SIGNATURE-----
diff --git a/sci-geosciences/gmt/gmt-4.5.8.ebuild b/sci-geosciences/gmt/gmt-4.5.8.ebuild
new file mode 100644
index 000000000000..1216cb27f0db
--- /dev/null
+++ b/sci-geosciences/gmt/gmt-4.5.8.ebuild
@@ -0,0 +1,86 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/gmt/gmt-4.5.8.ebuild,v 1.1 2012/05/29 17:25:16 scarabeus Exp $
+
+EAPI=4
+
+inherit multilib autotools eutils
+
+GSHHS="gshhs-2.2.0"
+
+DESCRIPTION="Powerful map generator"
+HOMEPAGE="http://gmt.soest.hawaii.edu/"
+SRC_URI="mirror://gmt/${P}.tar.bz2
+ mirror://gmt/${GSHHS}.tar.bz2
+ gmttria? ( mirror://gmt/${P}-non-gpl.tar.bz2 )
+"
+LICENSE="GPL-2 gmttria? ( Artistic )"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug +gdal gmttria +metric mex +netcdf octave ps"
+
+RDEPEND="
+ !sci-biology/probcons
+ gdal? ( sci-libs/gdal )
+ netcdf? ( >=sci-libs/netcdf-4.1 )
+ octave? ( sci-mathematics/octave )
+"
+DEPEND="${RDEPEND}"
+
+S="${WORKDIR}/GMT${PV}"
+
+# mex can use matlab too which i can't test
+REQUIRED_USE="
+ mex? ( octave )
+"
+
+# hand written make files that are not parallel safe
+MAKEOPTS+=" -j1"
+
+src_prepare() {
+ mv -f "${WORKDIR}/share/"* "${S}/share/" || die
+
+ epatch \
+ "${FILESDIR}/${PN}-4.5.0-no-strip.patch" \
+ "${FILESDIR}/${PN}-4.5.6-respect-ldflags.patch"
+
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ --libdir=/usr/$(get_libdir)/${P} \
+ --includedir=/usr/include/${P} \
+ --datadir=/usr/share/${P} \
+ --docdir=/usr/share/doc/${PF} \
+ --disable-update \
+ --disable-matlab \
+ --disable-xgrid \
+ --enable-shared \
+ --disable-debug \
+ $(use_enable gdal) \
+ $(use_enable netcdf) \
+ $(use_enable octave) \
+ $(use_enable debug devdebug) \
+ $(use_enable !metric US) \
+ $(use_enable ps eps) \
+ $(use_enable mex) \
+ $(use_enable gmttria triangle)
+}
+
+src_install() {
+ emake \
+ DESTDIR="${D}" \
+ install-all
+
+ # remove static libs
+ find "${ED}/usr/$(get_libdir)" -name '*.a' -exec rm -f {} +
+
+ dodoc README
+
+ cat << _EOF_ > "${T}/99gmt"
+GMTHOME="${EPREFIX}/usr/share/${P}"
+GMT_SHAREDIR="${EPREFIX}/usr/share/${P}"
+_EOF_
+ doenvd "${T}/99gmt"
+}
diff --git a/sci-geosciences/gmt/metadata.xml b/sci-geosciences/gmt/metadata.xml
index 8c519f3c7f84..d870102f7c95 100644
--- a/sci-geosciences/gmt/metadata.xml
+++ b/sci-geosciences/gmt/metadata.xml
@@ -3,6 +3,7 @@
<pkgmetadata>
<herd>sci-geosciences</herd>
<use>
+ <flag name='gdal'>Enable <pkg>sci-libs/gdal</pkg> library support</flag>
<flag name='gmtfull'>Full resolution bathymetry database</flag>
<flag name='gmthigh'>Add high resolution bathymetry database</flag>
<flag name='gmttria'>Non GNU triangulation method, more efficient</flag>