blob: d1cb99c6abd870033002a72c8df64f23c0e98413 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sci-misc/ncview/ncview-2.1.1.ebuild,v 1.2 2012/08/04 18:24:48 bicatali Exp $
EAPI=4
inherit eutils
DESCRIPTION="X-based viewer for netCDF files"
HOMEPAGE="http://meteora.ucsd.edu/~pierce/ncview_home_page.html"
SRC_URI="ftp://cirrus.ucsd.edu/pub/ncview/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
IUSE=""
KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
DEPEND="media-libs/libpng
>=sci-libs/netcdf-4.1[hdf5]
x11-libs/libXaw
sci-libs/udunits"
RDEPEND="${DEPEND}"
src_install() {
default
doman data/${PN}.1
insinto /usr/share/X11/app-defaults
newins Ncview-appdefaults Ncview
insinto /usr/share/${PN}
doins *.ncmap
make_desktop_entry ${PN}
}
|