summaryrefslogtreecommitdiff
path: root/math/py-fpconst/buildlink3.mk
blob: 499ffdf569410f94b1102292d23c5fbcbb310015 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# $NetBSD: buildlink3.mk,v 1.2 2006/02/05 23:10:03 joerg Exp $

BUILDLINK_DEPTH:=		${BUILDLINK_DEPTH}+
PY_FPCONST_BUILDLINK3_MK:=	${PY_FPCONST_BUILDLINK3_MK}+

.include "../../lang/python/pyversion.mk"

.if !empty(BUILDLINK_DEPTH:M+)
BUILDLINK_DEPENDS+=	py-fpconst
.endif

BUILDLINK_PACKAGES:=	${BUILDLINK_PACKAGES:Npy-fpconst}
BUILDLINK_PACKAGES+=	py-fpconst

.if !empty(PY_FPCONST_BUILDLINK3_MK:M+)
BUILDLINK_DEPENDS.py-fpconst+=	${PYPKGPREFIX}-fpconst>=0.7.0
BUILDLINK_RECOMMENDED.py-fpconst?=	${PYPKGPREFIX}-fpconst>=0.7.0nb1
BUILDLINK_PKGSRCDIR.py-fpconst?=	../../math/py-fpconst
.endif	# PY_FPCONST_BUILDLINK3_MK

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