fb6c29f8bf
now and not NetBSD-*-arm32. Changes include one or more of: - Change MACHINE_ARCH == arm32 to also match arm - Where ONLY_FOR_PLATFORM includes NetBSD-*-arm32, add NetBSD-*-arm - Where BROKEN or worked around for arm gcc bugs, set USE_GCC3 The last may shake out a few more broken packages the next bulk build.
28 lines
916 B
Makefile
28 lines
916 B
Makefile
# $NetBSD: Makefile,v 1.11 2003/06/11 20:50:55 abs Exp $
|
|
|
|
DISTNAME= ncview-1.92c
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= ftp://cirrus.ucsd.edu/pub/ncview/
|
|
|
|
MAINTAINER= tech-pkg@netbsd.org
|
|
HOMEPAGE= http://meteora.ucsd.edu/~pierce/ncview_home_page.html
|
|
COMMENT= Visual browser for netCDF format files
|
|
|
|
USE_BUILDLINK2= yes
|
|
GNU_CONFIGURE= yes
|
|
USE_X11BASE= yes
|
|
|
|
CONFIGURE_ARGS+= --with-netcdf_incdir=${BUILDLINK_PREFIX.netcdf}/include
|
|
CONFIGURE_ARGS+= --with-netcdf_libdir=${BUILDLINK_PREFIX.netcdf}/lib
|
|
CONFIGURE_ARGS+= --with-udunits_incdir=${BUILDLINK_PREFIX.udunits}/include
|
|
CONFIGURE_ARGS+= --with-udunits_libdir=${BUILDLINK_PREFIX.udunits}/lib
|
|
|
|
.if ${MACHINE_ARCH} == "arm" || ${MACHINE_ARCH} == "arm32"
|
|
. include "../../mk/gcc.buildlink2.mk"
|
|
.endif
|
|
|
|
.include "../../devel/netcdf/buildlink2.mk"
|
|
.include "../../math/udunits/buildlink2.mk"
|
|
.include "../../mk/xaw.buildlink2.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|