diff options
author | George Shapovalov <george@gentoo.org> | 2003-07-09 18:21:47 +0000 |
---|---|---|
committer | George Shapovalov <george@gentoo.org> | 2003-07-09 18:21:47 +0000 |
commit | 6aabf0640da2f21c7a3d8f161a8baea79498288b (patch) | |
tree | 1298f1e002df214ec93eda13c9ca5a425e39411d /app-sci/gmt | |
parent | Version bumped. ebuild submitted by Soren Harward <soren@byu.edu> in #233780 (diff) | |
download | gentoo-2-6aabf0640da2f21c7a3d8f161a8baea79498288b.tar.gz gentoo-2-6aabf0640da2f21c7a3d8f161a8baea79498288b.tar.bz2 gentoo-2-6aabf0640da2f21c7a3d8f161a8baea79498288b.zip |
new version + small cleanups
Diffstat (limited to 'app-sci/gmt')
-rw-r--r-- | app-sci/gmt/ChangeLog | 11 | ||||
-rw-r--r-- | app-sci/gmt/Manifest | 5 | ||||
-rw-r--r-- | app-sci/gmt/files/digest-gmt-3.4.3 | 9 | ||||
-rw-r--r-- | app-sci/gmt/gmt-3.4.3.ebuild | 111 | ||||
-rw-r--r-- | app-sci/gmt/metadata.xml | 5 |
5 files changed, 139 insertions, 2 deletions
diff --git a/app-sci/gmt/ChangeLog b/app-sci/gmt/ChangeLog index e3252d443f8b..fff305609be3 100644 --- a/app-sci/gmt/ChangeLog +++ b/app-sci/gmt/ChangeLog @@ -1,6 +1,15 @@ # 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.2 2003/02/12 05:16:15 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-sci/gmt/ChangeLog,v 1.3 2003/07/09 18:21:34 george Exp $ + +*gmt-3.4.3 (08 Jul 2003) + + 08 Jul 2003; George Shapovalov <george@gentoo.org> gmt-3.4.3.ebuild, files/digest-gmt-3.4.3 : + new version (#23977) + evuild now applies local useflags instead of checking some arbitrary vars. + Will make this version stable instead of previous one upon some testing. + Thanks to Castel?o <castelao@oceanologia.net> for submission + *gmt-3.4.2.ebuild (06 Feb 2003) diff --git a/app-sci/gmt/Manifest b/app-sci/gmt/Manifest index 323e32a94843..c826395c4330 100644 --- a/app-sci/gmt/Manifest +++ b/app-sci/gmt/Manifest @@ -1,3 +1,6 @@ -MD5 022c07b9dbd9df421f8aa8ee442def7c ChangeLog 455 MD5 6f7441e2f6f8dbbe14a4c714fa9d251d gmt-3.4.2.ebuild 2147 +MD5 f545f6007236ec9a505861b8e1371cfe gmt-3.4.3.ebuild 3077 +MD5 fa79161401d934b29a7e3fb203dc283b ChangeLog 819 +MD5 8c623e53daafa025137077c6b65815bd metadata.xml 156 MD5 fb07774d6e28052651615e1ae14f5f15 files/digest-gmt-3.4.2 520 +MD5 8c4d22612de4bad68c71056c9a0c2339 files/digest-gmt-3.4.3 581 diff --git a/app-sci/gmt/files/digest-gmt-3.4.3 b/app-sci/gmt/files/digest-gmt-3.4.3 new file mode 100644 index 000000000000..999b2328de69 --- /dev/null +++ b/app-sci/gmt/files/digest-gmt-3.4.3 @@ -0,0 +1,9 @@ +MD5 5c6d329c7ec810ff22238a2df818307d GMT3.4.3_progs.tar.bz2 558935 +MD5 7375498ea9894255e753bd377ef6eafb GMT_share.tar.bz2 3662062 +MD5 e0dae08d68590834810d0f5e577999f5 GMT3.4.3_tut.tar.bz2 986401 +MD5 62a6966aa3a72475fcb403d99b7de33f GMT3.4.3_scripts.tar.bz2 3051535 +MD5 e693d32653d6764ce1d1a0781b3260d3 GMT3.4.3_man.tar.bz2 86380 +MD5 f6b62419d59eb94f84bd276008377b01 GMT3.4.3_suppl.tar.bz2 521583 +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.3.ebuild b/app-sci/gmt/gmt-3.4.3.ebuild new file mode 100644 index 000000000000..1f9b5658dd74 --- /dev/null +++ b/app-sci/gmt/gmt-3.4.3.ebuild @@ -0,0 +1,111 @@ +# Copyright 1999-2003 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.3.ebuild,v 1.1 2003/07/09 18:21:34 george Exp $ + + +DESCRIPTION="Powerfull map generator" + +HOMEPAGE="http://gmt.soest.hawaii.edu/" + +SRC_URI="ftp://gmt.soest.hawaii.edu/pub/gmt/GMT${PV}_progs.tar.bz2 + ftp://gmt.soest.hawaii.edu/pub/gmt/GMT_share.tar.bz2 + ftp://gmt.soest.hawaii.edu/pub/gmt/GMT${PV}_tut.tar.bz2 + ftp://gmt.soest.hawaii.edu/pub/gmt/GMT${PV}_scripts.tar.bz2 + ftp://gmt.soest.hawaii.edu/pub/gmt/GMT${PV}_man.tar.bz2 + gmtsuppl? ( ftp://gmt.soest.hawaii.edu/pub/gmt/GMT${PV}_suppl.tar.bz2) + gmtfull? ( ftp://gmt.soest.hawaii.edu/pub/gmt/GMT_full.tar.bz2 ) + gmthigh? ( ftp://gmt.soest.hawaii.edu/pub/gmt/GMT_high.tar.bz2 ) + gmttria? ( ftp://gmt.soest.hawaii.edu/pub/gmt/triangle.tar.bz2 )" + #gmtpdf? ( ftp://gmt.soest.hawaii.edu/pub/gmt/GMT${PV}_pdf.tar.bz2 ) + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" + +#Internal USE flags. +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 [ -n "`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 mymake + + myconf=" --prefix=/usr \ + --bindir=/usr/bin \ + --libdir=/usr/lib/gmt-${PV} \ + --includedir=/usr/include/gmt-${PV} \ + --mandir=/usr/man + --datadir=/usr/share/${PN}" + + use gmttria && myconf="${myconf} --enable-triangle" + + ./configure ${myconf} \ + || die "configure failed" + + mymake="gmt" + use gmtsuppl && mymake="${mymake} suppl" + + make ${mymake} \ + || die "make ${mymake} failed" + +} + +src_install() { + mymake="install install-data install-man" + + use gmtsuppl && mymake="${mymake} install-suppl" + use doc && mymake="${mymake} install-www" + + make \ + prefix=${D}/usr \ + bindir=${D}/usr/bin \ + libdir=${D}/usr/lib/gmt-${PV} \ + includedir=${D}/usr/include/gmt-${PV} \ + mandir=${D}/usr/man \ + datadir=${D}/usr/share/${PN} \ + ${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." + +} diff --git a/app-sci/gmt/metadata.xml b/app-sci/gmt/metadata.xml new file mode 100644 index 000000000000..b229aec85b8f --- /dev/null +++ b/app-sci/gmt/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>sci</herd> +</pkgmetadata> |