summaryrefslogtreecommitdiff
path: root/math/R/buildlink3.mk
blob: cbea7d9b627da0f9f25bb05d83800bed4b0a17b4 (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.2 2006/02/05 23:09:59 joerg Exp $
# XXX	BUILDLINK_DEPMETHOD.R?=	build

BUILDLINK_DEPTH:=	${BUILDLINK_DEPTH}+
R_BUILDLINK3_MK:=	${R_BUILDLINK3_MK}+

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

BUILDLINK_PACKAGES:=	${BUILDLINK_PACKAGES:NR}
BUILDLINK_PACKAGES+=	R

.if !empty(R_BUILDLINK3_MK:M+)
BUILDLINK_DEPENDS.R+=	R>=1.7.0
BUILDLINK_RECOMMENDED.R?=	R>=2.2.1nb2
BUILDLINK_PKGSRCDIR.R?=	../../math/R
.endif	# R_BUILDLINK3_MK

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