summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-misc')
-rw-r--r--sci-misc/nco/Manifest1
-rw-r--r--sci-misc/nco/nco-3.9.9.ebuild70
2 files changed, 0 insertions, 71 deletions
diff --git a/sci-misc/nco/Manifest b/sci-misc/nco/Manifest
index f265a13c2998..5d9f8e4e9e04 100644
--- a/sci-misc/nco/Manifest
+++ b/sci-misc/nco/Manifest
@@ -1,2 +1 @@
-DIST nco-3.9.9.tar.gz 4109201 BLAKE2B 1249963c2f884326811502b01d02b2ef9c19c4bd0e6e61ddd823661a43e53a895f16f2870d00c02f732a44d7f93b0b4794efe591c95ed4fca1bc168ac13ecb9c SHA512 883d77413aed29982df3be531c458bbbc8c46201783593a71745b993287356aec4c664a080f05da1f2d550d32d2553d55eff7372807d20b4e6dba7bdff282400
DIST nco-4.5.1.tar.gz 4406757 BLAKE2B f2e203f1c38f5575fe4affb9122c91c61db8a2c2604cbcf9cd1eec6330e4771b8ff4325fcc19cfa292508e9b7a3107ae20e6230397f1269441e4efb883f8e4e9 SHA512 69c19cc9502272adada329dae669fc1c263a360789963253315e81ce1534647b9172b39a0fd3c0f0f453bf903c8a8a4b0e3f0eb778390e43b64eede3a0478485
diff --git a/sci-misc/nco/nco-3.9.9.ebuild b/sci-misc/nco/nco-3.9.9.ebuild
deleted file mode 100644
index 17372725724e..000000000000
--- a/sci-misc/nco/nco-3.9.9.ebuild
+++ /dev/null
@@ -1,70 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=2
-inherit eutils flag-o-matic
-
-DESCRIPTION="Command line utilities for operating on netCDF files"
-SRC_URI="http://dust.ess.uci.edu/nco/src/${P}.tar.gz"
-HOMEPAGE="http://nco.sourceforge.net/"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="amd64 x86"
-
-IUSE="doc mpi ncap2 udunits"
-
-RDEPEND="sci-libs/netcdf
- mpi? ( virtual/mpi )
- udunits? ( >=sci-libs/udunits-2 )"
-
-DEPEND="${RDEPEND}
- ncap2? ( !mpi? ( dev-java/antlr:0 ) )
- doc? ( virtual/latex-base )"
-
-pkg_setup() {
- if use mpi && use ncap2; then
- elog
- elog "mpi and ncap2 are still incompatible flags"
- elog "nco configure will automatically disables ncap2"
- elog
- fi
-}
-
-src_configure() {
- local myconf
- if has_version ">=sci-libs/netcdf-4" && built_with_use sci-libs/netcdf hdf5; then
- append-cppflags -DHAVE_NETCDF4_H
- myconf="--enable-netcdf4"
- else
- myconf="--disable-netcdf4"
- fi
- econf \
- ${myconf} \
- --disable-udunits \
- $(use_enable ncap2) \
- $(use_enable udunits udunits2) \
- $(use_enable mpi)
-}
-
-src_compile() {
- emake || die "emake failed"
- cd doc
- emake clean info
- if use doc; then
- VARTEXFONTS="${T}/fonts" emake html pdf || die "emake doc failed"
- fi
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die "emake install failed"
- cd doc
- dodoc ANNOUNCE ChangeLog MANIFEST NEWS README TAG TODO VERSION *.txt \
- || die "dodoc failed"
- doinfo *.info* || die "doinfo failed"
- if use doc; then
- dohtml nco.html/* || die "dohtml failed"
- insinto /usr/share/doc/${PF}
- doins nco.pdf || die "pdf install failed"
- fi
-}