summaryrefslogtreecommitdiff
path: root/devel/netcdf/buildlink2.mk
blob: 1ab2e2c4f43a3b746666d5cca9c4fe92c56e87a9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# $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