summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcus D. Hanwell <cryos@gentoo.org>2009-07-25 12:53:51 +0000
committerMarcus D. Hanwell <cryos@gentoo.org>2009-07-25 12:53:51 +0000
commited95688156a6a2f43a6d35bab3b48c36a29035c2 (patch)
treee82b60909cb14a980912731e723d4d1935d8df6c /sci-geosciences/gmt
parentFinal touch for DESCRIPTION (diff)
downloadhistorical-ed95688156a6a2f43a6d35bab3b48c36a29035c2.tar.gz
historical-ed95688156a6a2f43a6d35bab3b48c36a29035c2.tar.bz2
historical-ed95688156a6a2f43a6d35bab3b48c36a29035c2.zip
Version bump (long overdue). Thanks for the suggestions and contributions from people in bug 145277. Closes bug 145277.
Package-Manager: portage-2.2_rc33/cvs/Linux x86_64
Diffstat (limited to 'sci-geosciences/gmt')
-rw-r--r--sci-geosciences/gmt/ChangeLog10
-rw-r--r--sci-geosciences/gmt/Manifest21
-rw-r--r--sci-geosciences/gmt/gmt-4.5.0.ebuild113
3 files changed, 131 insertions, 13 deletions
diff --git a/sci-geosciences/gmt/ChangeLog b/sci-geosciences/gmt/ChangeLog
index f0b46ede2aba..5fa5dc420b0e 100644
--- a/sci-geosciences/gmt/ChangeLog
+++ b/sci-geosciences/gmt/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sci-geosciences/gmt
-# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/gmt/ChangeLog,v 1.17 2008/08/06 17:51:06 ulm Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/gmt/ChangeLog,v 1.18 2009/07/25 12:53:51 cryos Exp $
+
+*gmt-4.5.0 (25 Jul 2009)
+
+ 25 Jul 2009; Marcus D. Hanwell <cryos@gentoo.org> +gmt-4.5.0.ebuild:
+ Version bump (long overdue). Thanks for the suggestions and contributions
+ from people in bug 145277. Closes bug 145277.
06 Aug 2008; Ulrich Mueller <ulm@gentoo.org> metadata.xml:
Add USE flag description to metadata wrt GLEP 56.
diff --git a/sci-geosciences/gmt/Manifest b/sci-geosciences/gmt/Manifest
index 6ea1a71ec406..c71b18e93c8d 100644
--- a/sci-geosciences/gmt/Manifest
+++ b/sci-geosciences/gmt/Manifest
@@ -1,6 +1,3 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
DIST GMT4.0_man.tar.bz2 105146 RMD160 685526638dd2b6f4058dd136e043ad0c81a25545 SHA1 51812b72a4542c515305cf5d5b0bbd78f46c8029 SHA256 83d2709a5683a11fd8cae44b2fd5a9316864535d8249d89c2b83716f46c9a9fe
DIST GMT4.0_pdf.tar.bz2 9578106 RMD160 dea1c7c294aae7c1c96475101e5fa88dd2397e79 SHA1 0e9e0b4f6d42c3e1d488627583e6b28ec2c69f95 SHA256 9b6e529973ce645f1d3d0599677562c3f05812b2895ced1a7d1af9dc7cf8ce30
DIST GMT4.0_progs.tar.bz2 752349 RMD160 9fd4da238a33b5763c018410bef9300c91e036d7 SHA1 7087960c34b6b3f08856d0da5652ab01faa2a078 SHA256 5d88b6cf7fd69fc3cda9564e6876e1232d816ed50aadb7e45700ddc6e87d0b2f
@@ -13,18 +10,20 @@ DIST GMT4.1.1_progs.tar.bz2 897165 RMD160 0d1099b05270f34841d3aa548b77aef7c0bf9b
DIST GMT4.1.1_scripts.tar.bz2 3142070 RMD160 9947ceb8d270a32bd59f8b1abb376954139831ce SHA1 66824e7c2b6aa8c8f96730dc73b42303ed68a8f1 SHA256 a797ed2bfbd3de31c2be79fc1be53d0756610e3897d00ef239de555527f493b9
DIST GMT4.1.1_suppl.tar.bz2 739708 RMD160 e07286bb8f1ccf8ec0ecfb86870f6b37d0c3c04f SHA1 151076e65ab27ec539a0ff0c1efe1fa90829f8cd SHA256 024f832775123c7705b0bf2040e0eef326dc115eb56c057d5f684a9450f9a2c0
DIST GMT4.1.1_tut.tar.bz2 986365 RMD160 125c38758241d433b6389adb7844723a9e714a28 SHA1 1a0a4e2120775dc5bc8dcbb1ec78ff7ff76836a8 SHA256 4752e4f385ab9eac889bb2878cbe5c9e58c182ce0ad719b73c01f22908ece14e
+DIST GMT4.5.0_doc.tar.bz2 25008913 RMD160 25ced36300f548d40c4b7683d6c64356ab606f5c SHA1 2e7be0424901f0a0df488a3c5cb1b5402e9236dd SHA256 9068ce4f74c9fd151a8af60becdbea7de284d322376e8b3aaed8ba7efcfbf4db
+DIST GMT4.5.0_share.tar.bz2 47466 RMD160 cad7fc66f4c5c74d07fb02cc9c15a65b88d3c440 SHA1 f92cf1f9ea2f339392ec5a2e61a6f8c633f45695 SHA256 5e4c8ca70da6ade12f88f92c61bf88f605afdab60b251582b3a2182aa7f4afd4
+DIST GMT4.5.0_src.tar.bz2 1102928 RMD160 ecc45a7a951e84af503e19598cef9e02b96f55cd SHA1 2896f2258a6e7b5d7b85726e80ff3d409d8760ad SHA256 1be2ba47c44bb1045ab3a27f6d92ab81e5749dbf328cafba261edd0ab5e223d3
+DIST GMT4.5.0_suppl.tar.bz2 4100463 RMD160 2e137e4318c7e74a07fbb6ec7bd42c6af5518d6d SHA1 90d46ebd9880c08261e9d1edb93b6eba2c63acbb SHA256 e9f00fa5868e3f92bf579e328991cbc31b0cd178fef000b5ceeedf830ebc62e9
+DIST GMT4.5.0_triangle.tar.bz2 103387 RMD160 0dc64f48da01c837246dd0cc1ab66766b8327f63 SHA1 8f2cd8381756ab90893b0fe6c264269df9848618 SHA256 396156b6cb00730fc1f53783228d79c51ab5fe67465bd0dcdebb9e022701572f
DIST GMT_full.tar.bz2 28792514 RMD160 2bf0517295957e2f821ee4fcf4a61c5e45b830a7 SHA1 497e4d4c23091d108cd3a904eae5c17b16626f39 SHA256 07c16ad90d95a27037fc5af6b55b2e61973113894fcb0e3a8a9b32452a01de0a
DIST GMT_high.tar.bz2 8706163 RMD160 8e4e020d71e4206740f4ca25ed542ed59b560825 SHA1 a6516e44ae8aa8071cff56b3bcb7446d2a23e483 SHA256 9ea624cb622fb05c4c05b23b98122bd29ecb21e618794455c499511494d616e7
DIST GMT_share.tar.bz2 3662062 RMD160 85d424770771c58a4a997b662e857f188b0da0e8 SHA1 3d3d5cfd75ad3499454dcc902f63099ff1b2cc2c SHA256 7c143f518dc3f7f085e834d528085ebe4156a5debd7abc424536aebfc813119f
+DIST GSHHS2.0_coast.tar.bz2 4226168 RMD160 a099d16cbea6bb7d8c6dddce5280a0c5a3b0064d SHA1 c4d5f72630e877c3f06b1dba5721419f66a46a9a SHA256 c287558cf5c5ad15be6f46be5f3611367c51415243f96490d76cd8bddc30953b
+DIST GSHHS2.0_full.tar.bz2 29518019 RMD160 3bfd0ba09c78da876973336744d1606cb66a0786 SHA1 b8bb2b5c4b9ee49ff92c49717a0bc529d6846e1c SHA256 9a952e8d2916592b393c04e3fbebbbd1d51cebdc558bd2386d2b4fbffe15f0a9
+DIST GSHHS2.0_high.tar.bz2 9411460 RMD160 bc78714e38bbc55d957ce52ea1ba756bcf2dfad7 SHA1 f2e44ffcb18203d4115c422bb45b4f509b6d63f2 SHA256 ee2ef5f57970a6f12005bf4f73be11dac693c4a8af529b186060831c5ad4ae30
DIST triangle.tar.bz2 103116 RMD160 98d55e26393530a03aba3b9c8b1dc04fa96a1a8b SHA1 6430dda9d481121b095d1aa0955519f79a88875d SHA256 798cd5b01ba84dde53cce5bf6fb45ff66a830a9ab83960fd1e050a8e3237f3e9
EBUILD gmt-4.0.ebuild 3704 RMD160 ba524b02331a778c273675d82c347075a92e5f0d SHA1 c7d60b8960f29c1e076b86e0adc76af9e4ec53a0 SHA256 8aca6748de0938cf363f6c465d6503de758024a8ea9766c708a3743cdbc1dd20
EBUILD gmt-4.1.1.ebuild 3566 RMD160 c3f16ba6a83a39272e1d47b9c180d90abf65ecd6 SHA1 d1d616acfa779f8b3684c6bae353224ea89a560c SHA256 257ebb1b4ad87a398e29b54124c4afb31a771bbf5ef6ab3b4266e0466930905b
-MISC ChangeLog 3731 RMD160 c1a080ef1a0c39c0fc960c3b593642b1a5a124b8 SHA1 b773858be6e6626a7539d2ea51aff9b7161ddb4a SHA256 2023df6a616c752790130d27d135571617c5c3a8d37eb201124fc0df9af6d517
+EBUILD gmt-4.5.0.ebuild 3139 RMD160 f583625f32ed933bf240019360144ad32dc3065c SHA1 ebe7c9cf37e12686ca045fd1629a86eaccf2bdc0 SHA256 cdb177f4f96abb1aacad223d643ae0eef05f95d3778d082aa0795ca1f3d0603a
+MISC ChangeLog 3955 RMD160 31fc9d4373438e0f9f1a216c4c91a8766c22d510 SHA1 d14de895259e5da46329091ffcdc3e33fa0a0b56 SHA256 37ac5998a9f8ee531a8031769ae4395646ba27ca03db01eb25b16778c0fe6a1f
MISC metadata.xml 452 RMD160 e70c04a9d50d215cd99d37693423527d71ec6ccc SHA1 f16c5be9e455d820c5c48665f55cb7d7f304e753 SHA256 0509f73fc513ea60968d8dd1a94ec77095709475709e64d25a7d52cef2f44789
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.9 (GNU/Linux)
-
-iEYEARECAAYFAkiZ5JsACgkQOeoy/oIi7uyxnQCaA7YYJESBMqI+0NxiIqDJQkx0
-ZikAoIUGp7r/V1QOdEvW4ledmI/xSEQo
-=84X1
------END PGP SIGNATURE-----
diff --git a/sci-geosciences/gmt/gmt-4.5.0.ebuild b/sci-geosciences/gmt/gmt-4.5.0.ebuild
new file mode 100644
index 000000000000..bf7ab3eed698
--- /dev/null
+++ b/sci-geosciences/gmt/gmt-4.5.0.ebuild
@@ -0,0 +1,113 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/gmt/gmt-4.5.0.ebuild,v 1.1 2009/07/25 12:53:51 cryos Exp $
+
+inherit multilib autotools
+
+GSHHS="GSHHS2.0"
+
+DESCRIPTION="Powerful map generator"
+HOMEPAGE="http://gmt.soest.hawaii.edu/"
+SRC_URI="ftp://falcon.grdl.noaa.gov/pub/gmt/GMT${PV}_src.tar.bz2
+ ftp://falcon.grdl.noaa.gov/pub/gmt/GMT${PV}_share.tar.bz2
+ ftp://falcon.grdl.noaa.gov/pub/gmt/${GSHHS}_coast.tar.bz2
+ doc? ( ftp://falcon.grdl.noaa.gov/pub/gmt/GMT${PV}_doc.tar.bz2 )
+ gmtsuppl? ( ftp://falcon.grdl.noaa.gov/pub/gmt/GMT${PV}_suppl.tar.bz2 )
+ gmtfull? ( ftp://falcon.grdl.noaa.gov/pub/gmt/${GSHHS}_full.tar.bz2 )
+ gmthigh? ( ftp://falcon.grdl.noaa.gov/pub/gmt/${GSHHS}_high.tar.bz2 )
+ gmttria? ( ftp://falcon.grdl.noaa.gov/pub/gmt/GMT${PV}_triangle.tar.bz2 )"
+
+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() {
+ unpack ${A} || die "Unpacking failed."
+ mv -f "${WORKDIR}/share/"* "${S}/share/" || die "Moving sources failed."
+ cd "${S}"
+ if use gmtsuppl; then
+ WANT_AUTOCONF=2.5 eautoreconf || die "autoconf failed."
+ fi
+}
+
+src_compile() {
+
+ # In make process will include /lib and /include to NETCDFHOME
+ export NETCDFHOME="/usr"
+
+ local myconf=""
+
+ if use gmttria; then
+ myconf="${myconf} --enable-triangle"
+ fi
+
+ econf \
+ --libdir=/usr/$(get_libdir)/${P} \
+ --includedir=/usr/include/${P} \
+ --datadir=/usr/share/${P} \
+ ${myconf} \
+ || die "Configure failed."
+
+ local mymake=
+ if use gmtsuppl; then
+ mymake="${mymake} suppl"
+ fi
+
+ emake gmt ${mymake} || die "Make ${mymake} failed."
+}
+
+src_install() {
+ local mymake=
+ if use gmtsuppl; then
+ mymake="${mymake} install-suppl"
+ fi
+ if use doc; then
+ mymake="${mymake} install-doc"
+ mkdir -p www/gmt/doc/html
+ fi
+
+ 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 README
+ cp -r "${S}/{examples,tutorial}" "${D}/usr/share/doc/${PF}/"
+
+ # 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;"
+}