summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2007-08-20 13:40:40 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2007-08-20 13:40:40 +0000
commitb6f3c8da97d0f912e003766c1037fac018d32d70 (patch)
tree43cbda84d50b5aa06d2b9220490cc51a7c800de3 /sci-misc/ncview
parentRestore status quo ante, bug #189590. (diff)
downloadgentoo-2-b6f3c8da97d0f912e003766c1037fac018d32d70.tar.gz
gentoo-2-b6f3c8da97d0f912e003766c1037fac018d32d70.tar.bz2
gentoo-2-b6f3c8da97d0f912e003766c1037fac018d32d70.zip
Version bump, removed older version.
(Portage version: 2.1.2.11)
Diffstat (limited to 'sci-misc/ncview')
-rw-r--r--sci-misc/ncview/ChangeLog8
-rw-r--r--sci-misc/ncview/files/digest-ncview-1.92e3
-rw-r--r--sci-misc/ncview/files/digest-ncview-1.93c3
-rw-r--r--sci-misc/ncview/ncview-1.92e.ebuild35
-rw-r--r--sci-misc/ncview/ncview-1.93c.ebuild48
5 files changed, 58 insertions, 39 deletions
diff --git a/sci-misc/ncview/ChangeLog b/sci-misc/ncview/ChangeLog
index 93f9fdc79c78..5d8fccce3ce8 100644
--- a/sci-misc/ncview/ChangeLog
+++ b/sci-misc/ncview/ChangeLog
@@ -1,6 +1,12 @@
# 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.9 2007/07/22 06:56:34 dberkholz Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-misc/ncview/ChangeLog,v 1.10 2007/08/20 13:40:40 bicatali Exp $
+
+*ncview-1.93c (20 Aug 2007)
+
+ 20 Aug 2007; Sébastien Fabbro <bicatali@gentoo.org> -ncview-1.92e.ebuild,
+ +ncview-1.93c.ebuild:
+ Version bump, removed older version.
22 Jul 2007; Donnie Berkholz <dberkholz@gentoo.org>; ncview-1.92e.ebuild,
ncview-1.93b.ebuild:
diff --git a/sci-misc/ncview/files/digest-ncview-1.92e b/sci-misc/ncview/files/digest-ncview-1.92e
deleted file mode 100644
index a06d10a73d4f..000000000000
--- a/sci-misc/ncview/files/digest-ncview-1.92e
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 37b9566e6ece132c9e578e69db0cdf7d ncview-1.92e.tar.gz 879600
-RMD160 59d2bff3230ff0f9049646c9dda5a1507040dca3 ncview-1.92e.tar.gz 879600
-SHA256 09090edccd5c0233621b288886868deac93340c9e68c84b548e595329277c1a8 ncview-1.92e.tar.gz 879600
diff --git a/sci-misc/ncview/files/digest-ncview-1.93c b/sci-misc/ncview/files/digest-ncview-1.93c
new file mode 100644
index 000000000000..c831b6688f96
--- /dev/null
+++ b/sci-misc/ncview/files/digest-ncview-1.93c
@@ -0,0 +1,3 @@
+MD5 c6a3cbabb9c1a55633fae7d892b301cc ncview-1.93c.tar.gz 1645918
+RMD160 5451fdc915a07c66509ea2ef7771dd6863b4fe45 ncview-1.93c.tar.gz 1645918
+SHA256 e180ab469f8aa403febaf4278386a7cfc7d00830dce4db094fc039eebd77944f ncview-1.93c.tar.gz 1645918
diff --git a/sci-misc/ncview/ncview-1.92e.ebuild b/sci-misc/ncview/ncview-1.92e.ebuild
deleted file mode 100644
index 22955b13eab2..000000000000
--- a/sci-misc/ncview/ncview-1.92e.ebuild
+++ /dev/null
@@ -1,35 +0,0 @@
-# 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.92e.ebuild,v 1.2 2007/07/22 06:56:34 dberkholz Exp $
-
-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=""
-KEYWORDS="~x86 ~amd64 ~ppc"
-
-DEPEND="sci-libs/netcdf
- x11-libs/libXaw"
-
-src_compile() {
- econf || die "./configure failed"
- emake || die
-}
-
-src_install() {
-# dodir /lib/ncview
- dobin ncview
- doman ncview.1
- insinto /usr/lib/ncview
- doins 3gauss.ncmap 3saw.ncmap default.ncmap \
- detail.ncmap hotres.ncmap \
- nc_overlay.earth.lat-lon.p8deg \
- nc_overlay.lat-lon-grid.20x60 \
- nc_overlay.lat-lon-grid.10x30
- insinto /usr/lib/X11/app-defaults
- newins Ncview-appdefaults Ncview
- dodoc README
-}
diff --git a/sci-misc/ncview/ncview-1.93c.ebuild b/sci-misc/ncview/ncview-1.93c.ebuild
new file mode 100644
index 000000000000..53eab31a1305
--- /dev/null
+++ b/sci-misc/ncview/ncview-1.93c.ebuild
@@ -0,0 +1,48 @@
+# 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.93c.ebuild,v 1.1 2007/08/20 13:40:40 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
+ 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() {
+ local appdef=/usr/share/X11/app-defaults
+ dodir ${appdef}
+ dodir /usr/share/${PN}
+ # fix when root installs it.
+ sed -i \
+ -e "s:/usr/lib/X11/app-defaults:${D}${appdef}:g" \
+ install-appdef || die "sed failed"
+ 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
+}