blob: 525c23e343601c21c2b213e2b65a8799e19ca8cb (
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
|
# $NetBSD: Makefile,v 1.6 2002/04/20 15:47:01 cjep Exp $
DISTNAME= ncview-1.92c
CATEGORIES= graphics
MASTER_SITES= ftp://cirrus.ucsd.edu/pub/ncview/
MAINTAINER= packages@netbsd.org
HOMEPAGE= http://meteora.ucsd.edu/~pierce/ncview_home_page.html
COMMENT= Visual browser for netCDF format files
DEPENDS+= netcdf>=3.4:../../devel/netcdf
DEPENDS+= udunits>=1.11.7:../../math/udunits
GNU_CONFIGURE= yes
USE_XAW= yes
USE_X11BASE= yes
NETCDF_DEFAULT= ${LOCALBASE}
EVAL_PREFIX+= NETCDF=netcdf
UDUNITS_DEFAULT= ${LOCALBASE}
EVAL_PREFIX+= UDUNITS=udunits
CONFIGURE_ARGS+= --with-netcdf_incdir=${NETCDF}/include
CONFIGURE_ARGS+= --with-netcdf_libdir=${NETCDF}/lib
CONFIGURE_ARGS+= --with-udunits_incdir=${UDUNITS}/include
CONFIGURE_ARGS+= --with-udunits_libdir=${UDUNITS}/lib
.if (${MACHINE_ARCH} == "arm32")
. include "../../lang/gcc/Makefile.gcc"
.endif
.include "../../mk/bsd.pkg.mk"
|