summaryrefslogtreecommitdiff
path: root/devel/netcdf/buildlink2.mk
blob: f80cc2a327c18a84c3ca693bf99d81ca56ec7a80 (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
# $NetBSD: buildlink2.mk,v 1.4 2003/04/29 21:57:03 jtb Exp $

.if !defined(NETCDF_BUILDLINK2_MK)
NETCDF_BUILDLINK2_MK=	# defined

BUILDLINK_PACKAGES+=		netcdf
BUILDLINK_DEPENDS.netcdf?=	netcdf>=3.5
BUILDLINK_PKGSRCDIR.netcdf?=	../../devel/netcdf

EVAL_PREFIX+=				BUILDLINK_PREFIX.netcdf=netcdf
BUILDLINK_PREFIX.netcdf_DEFAULT=	${LOCALBASE}
BUILDLINK_FILES.netcdf=			include/ncvalues.h
BUILDLINK_FILES.netcdf=			include/netcdf.h
BUILDLINK_FILES.netcdf+=		include/netcdf.inc
BUILDLINK_FILES.netcdf+=		include/netcdf.hh
BUILDLINK_FILES.netcdf+=		include/ncvalues.h
BUILDLINK_FILES.netcdf+=		lib/libnetcdf.*
BUILDLINK_FILES.netcdf+=		lib/libnetcdf_c++.*

BUILDLINK_TARGETS+=	netcdf-buildlink

netcdf-buildlink: _BUILDLINK_USE

.endif	# NETCDF_BUILDLINK2_MK