summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2007-04-30 11:12:46 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2007-04-30 11:12:46 +0000
commit18441d3c86175ad1254db12db43fd06acb02b962 (patch)
tree8ca0c25c815d121d1d4dc327e74d800fa773dae1 /sci-misc
parentAdded udunits local USE flag for sci-misc/ncview. (diff)
downloadgentoo-2-18441d3c86175ad1254db12db43fd06acb02b962.tar.gz
gentoo-2-18441d3c86175ad1254db12db43fd06acb02b962.tar.bz2
gentoo-2-18441d3c86175ad1254db12db43fd06acb02b962.zip
Version bump. Revamped ebuild, with added netpbm deps, proper installation, and a udunits flag. Added longdescription in metadata.xml.
(Portage version: 2.1.2.2)
Diffstat (limited to 'sci-misc')
-rw-r--r--sci-misc/ncview/ChangeLog9
-rw-r--r--sci-misc/ncview/files/digest-ncview-1.93b3
-rw-r--r--sci-misc/ncview/metadata.xml7
-rw-r--r--sci-misc/ncview/ncview-1.93b.ebuild43
4 files changed, 61 insertions, 1 deletions
diff --git a/sci-misc/ncview/ChangeLog b/sci-misc/ncview/ChangeLog
index 0884518d845f..120fd781428d 100644
--- a/sci-misc/ncview/ChangeLog
+++ b/sci-misc/ncview/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for sci-misc/ncview
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-misc/ncview/ChangeLog,v 1.6 2007/02/22 01:18:18 jokey Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-misc/ncview/ChangeLog,v 1.7 2007/04/30 11:12:46 bicatali Exp $
+
+*ncview-1.93b (30 Apr 2007)
+
+ 30 Apr 2007; Sébastien Fabbro <bicatali@gentoo.org> metadata.xml,
+ +ncview-1.93b.ebuild:
+ Version bump. Revamped ebuild, with added netpbm deps, proper installation,
+ and a udunits flag. Added longdescription in metadata.xml.
22 Feb 2007; Markus Ullmann <jokey@gentoo.org> ChangeLog:
Redigest for Manifest2
diff --git a/sci-misc/ncview/files/digest-ncview-1.93b b/sci-misc/ncview/files/digest-ncview-1.93b
new file mode 100644
index 000000000000..70d805bd8ca8
--- /dev/null
+++ b/sci-misc/ncview/files/digest-ncview-1.93b
@@ -0,0 +1,3 @@
+MD5 48c99b2eda1bbc86d7fbe648977f1844 ncview-1.93b.tar.gz 1633213
+RMD160 681d125fe691b87b94aa6f2bddce3a82530d37a8 ncview-1.93b.tar.gz 1633213
+SHA256 cff92766da744b6dd042320049c999252854e51ae7020cb4faf8049d25fa4718 ncview-1.93b.tar.gz 1633213
diff --git a/sci-misc/ncview/metadata.xml b/sci-misc/ncview/metadata.xml
index b229aec85b8f..195a55b8a3be 100644
--- a/sci-misc/ncview/metadata.xml
+++ b/sci-misc/ncview/metadata.xml
@@ -2,4 +2,11 @@
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>sci</herd>
+<longdescription lang="en">
+Ncview is a visual browser for netCDF format files. Typically you
+would use ncview to get a quick and easy, push-button look at your
+netCDF files. You can view simple movies of the data, view along
+various dimensions, take a look at the actual data values, change
+color maps, invert the data, etc.
+</longdescription>
</pkgmetadata>
diff --git a/sci-misc/ncview/ncview-1.93b.ebuild b/sci-misc/ncview/ncview-1.93b.ebuild
new file mode 100644
index 000000000000..08ba3ac2c12e
--- /dev/null
+++ b/sci-misc/ncview/ncview-1.93b.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-misc/ncview/ncview-1.93b.ebuild,v 1.1 2007/04/30 11:12:46 bicatali Exp $
+
+inherit multilib
+
+DESCRIPTION="X-based viewer for netCDF files"
+SRC_URI="ftp://cirrus.ucsd.edu/pub/ncview/${P}.tar.gz"
+HOMEPAGE="http://meteora.ucsd.edu/~pierce/ncview_home_page.html"
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="udunits"
+KEYWORDS="~x86 ~amd64 ~ppc"
+
+DEPEND="sci-libs/netcdf
+ media-libs/netpbm
+ || ( x11-libs/libXaw virtual/x11 )
+ udunits? ( sci-libs/udunits )"
+
+src_compile() {
+ # force netpbm (could be a use flag, but worth it?)
+ econf \
+ --with-libppm \
+ $(use_with udunits) \
+ || die "econf failed"
+ emake || die "emake failed"
+}
+
+src_install() {
+ dodir /usr/share/X11/app-defaults
+ dodir /usr/share/${PN}
+ emake \
+ DESTDIR="${D}" \
+ BINDIR="${D}/usr/bin" \
+ MANDIR="${D}/usr/share/man/man1" \
+ NCVIEW_LIB_DIR="${D}/usr/share/${PN}" \
+ XAPPLRESDIR="${D}/usr/share/X11/app-defaults" \
+ install || "emake install failed"
+ insinto /usr/share/${PN}
+ doins *.ncmap nc_overlay* || die "doins failed"
+ dodoc README README_WISH_LIST RELEASE_NOTES
+}