pkgsrc/devel/netcdf/buildlink2.mk
jlam efb93b17bd Merge changes in packages from the buildlink2 branch that have
buildlink2.mk files back into the main trunk.
2002-08-25 19:21:43 +00:00

23 lines
711 B
Makefile

# $NetBSD: buildlink2.mk,v 1.2 2002/08/25 19:22:34 jlam Exp $
.if !defined(NETCDF_BUILDLINK2_MK)
NETCDF_BUILDLINK2_MK= # defined
BUILDLINK_PACKAGES+= netcdf
BUILDLINK_DEPENDS.netcdf?= netcdf>=3.4
BUILDLINK_PKGSRCDIR.netcdf?= ../../devel/netcdf
EVAL_PREFIX+= BUILDLINK_PREFIX.netcdf=netcdf
BUILDLINK_PREFIX.netcdf_DEFAULT= ${LOCALBASE}
BUILDLINK_FILES.netcdf= include/netcdf.h
BUILDLINK_FILES.netcdf+= include/netcdf.inc
BUILDLINK_FILES.netcdf+= include/netcdf.hh
BUILDLINK_FILES.netcdf+= include/ncvalues.hh
BUILDLINK_FILES.netcdf+= lib/libnetcdf.*
BUILDLINK_FILES.netcdf+= lib/libnetcdf_c++.*
BUILDLINK_TARGETS+= netcdf-buildlink
netcdf-buildlink: _BUILDLINK_USE
.endif # NETCDF_BUILDLINK2_MK