diff options
author | Marcus D. Hanwell <cryos@gentoo.org> | 2005-02-23 14:16:37 +0000 |
---|---|---|
committer | Marcus D. Hanwell <cryos@gentoo.org> | 2005-02-23 14:16:37 +0000 |
commit | 736e7f53cf303b59e91fb669051472684fac131e (patch) | |
tree | 686516ca3a22d1c6695c38259bdc3a54153dc9d6 /sci-geosciences/gmt | |
parent | Marked ~mips (diff) | |
download | historical-736e7f53cf303b59e91fb669051472684fac131e.tar.gz historical-736e7f53cf303b59e91fb669051472684fac131e.tar.bz2 historical-736e7f53cf303b59e91fb669051472684fac131e.zip |
Version bump, closes bug 51887 - thanks to Castelão <castelao@oceanologia.net>.
Package-Manager: portage-2.0.51-r15
Diffstat (limited to 'sci-geosciences/gmt')
-rw-r--r-- | sci-geosciences/gmt/ChangeLog | 8 | ||||
-rw-r--r-- | sci-geosciences/gmt/Manifest | 14 | ||||
-rw-r--r-- | sci-geosciences/gmt/files/digest-gmt-4.0 | 10 | ||||
-rw-r--r-- | sci-geosciences/gmt/gmt-4.0.ebuild | 110 |
4 files changed, 140 insertions, 2 deletions
diff --git a/sci-geosciences/gmt/ChangeLog b/sci-geosciences/gmt/ChangeLog index 07b618e722de..de0e30b8a040 100644 --- a/sci-geosciences/gmt/ChangeLog +++ b/sci-geosciences/gmt/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sci-geosciences/gmt # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/gmt/ChangeLog,v 1.3 2005/02/04 13:33:47 phosphan Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/gmt/ChangeLog,v 1.4 2005/02/23 14:16:37 cryos Exp $ + +*gmt-4.0 (23 Feb 2005) + + 23 Feb 2005; Marcus D. Hanwell <cryos@gentoo.org> +gmt-4.0.ebuild: + Version bump, thanks to Castelão <castelao@oceanologia.net>, bug 51887. Some + modifications by me before adding it to portage. 04 Feb 2005; Patrick Kursawe <phosphan@gentoo.org> gmt-3.4.4-r1.ebuild, -gmt-3.4.3.ebuild: diff --git a/sci-geosciences/gmt/Manifest b/sci-geosciences/gmt/Manifest index 13eee55973e0..21ca5a8c7654 100644 --- a/sci-geosciences/gmt/Manifest +++ b/sci-geosciences/gmt/Manifest @@ -1,4 +1,16 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +MD5 b5d8dd35d7a04de7a73ce74c3a43a66d gmt-4.0.ebuild 3630 MD5 c0505f45636cfb70135febbef230171a gmt-3.4.4-r1.ebuild 3184 -MD5 99ca631cef4e6d3736d8d604022ea392 ChangeLog 1937 +MD5 c831f91689daaf85267578179dc77a4c ChangeLog 2158 MD5 8c623e53daafa025137077c6b65815bd metadata.xml 156 MD5 eb664b10894e3ad4684892cff8b36494 files/digest-gmt-3.4.4-r1 647 +MD5 79607acabc6963de96f4dbdf435e36bd files/digest-gmt-4.0 637 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.2.6 (GNU/Linux) + +iD8DBQFCHJBkntT9W3vfTuoRAs0MAJ49vocDYxPLCR3webiD2d8eb7YXoQCglMtx +zkNA2ntc26YRIDVIXCX3mmc= +=nsBt +-----END PGP SIGNATURE----- diff --git a/sci-geosciences/gmt/files/digest-gmt-4.0 b/sci-geosciences/gmt/files/digest-gmt-4.0 new file mode 100644 index 000000000000..83d4a636ef60 --- /dev/null +++ b/sci-geosciences/gmt/files/digest-gmt-4.0 @@ -0,0 +1,10 @@ +MD5 e3b1d7fb4dfb56d8cfce058f3a9cd698 GMT4.0_progs.tar.bz2 752349 +MD5 7375498ea9894255e753bd377ef6eafb GMT_share.tar.bz2 3662062 +MD5 c166c4ae4e79acc04b16a244fcaac722 GMT4.0_tut.tar.bz2 986417 +MD5 0a078474daf5dfa3c00475d332b4fb9d GMT4.0_scripts.tar.bz2 3139217 +MD5 88b8c882c352166febcc8a29d17426fa GMT4.0_man.tar.bz2 105146 +MD5 d11762923fc7cb3e11dc9302bbaff361 GMT4.0_pdf.tar.bz2 9578106 +MD5 c48cf1331c37b2b849b2bc0a6c53578b GMT4.0_suppl.tar.bz2 606149 +MD5 ffef8d3d3308278fe3e7fcd333e8c610 GMT_full.tar.bz2 28792514 +MD5 10f16ecac3eb5435373f76074c847363 GMT_high.tar.bz2 8706163 +MD5 928d5b3457422a6c22bd35bff16ccc97 triangle.tar.bz2 102115 diff --git a/sci-geosciences/gmt/gmt-4.0.ebuild b/sci-geosciences/gmt/gmt-4.0.ebuild new file mode 100644 index 000000000000..b76980db4af7 --- /dev/null +++ b/sci-geosciences/gmt/gmt-4.0.ebuild @@ -0,0 +1,110 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/gmt/gmt-4.0.ebuild,v 1.1 2005/02/23 14:16:37 cryos Exp $ + +inherit multilib + +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 )" +# 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="~x86 ~amd64" +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 -> Supplement functions for GMT;" + einfo "Others GMT flags will be included soon." +} |