summaryrefslogtreecommitdiff
path: root/math/udunits/buildlink3.mk
blob: f4b4c5cea9c283f08603788a8dd0e7ba9d4857f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# $NetBSD: buildlink3.mk,v 1.1 2004/03/22 17:29:02 jlam Exp $

BUILDLINK_DEPTH:=	${BUILDLINK_DEPTH}+
UDUNITS_BUILDLINK3_MK:=	${UDUNITS_BUILDLINK3_MK}+

.if !empty(BUILDLINK_DEPTH:M+)
BUILDLINK_DEPENDS+=	udunits
.endif

BUILDLINK_PACKAGES:=	${BUILDLINK_PACKAGES:Nudunits}
BUILDLINK_PACKAGES+=	udunits

.if !empty(UDUNITS_BUILDLINK3_MK:M+)
BUILDLINK_DEPENDS.udunits+=	udunits>=1.11.7
BUILDLINK_PKGSRCDIR.udunits?=	../../math/udunits
BUILDLINK_DEPMETHOD.udunits?=	build
BUILDLINK_FILES.udunits=	include/udunits.inc
.endif	# UDUNITS_BUILDLINK3_MK

BUILDLINK_DEPTH:=     ${BUILDLINK_DEPTH:S/+$//}