summaryrefslogtreecommitdiff
path: root/net/py-ORBit/buildlink3.mk
blob: 7348c30c35653f059ac2987ea72a1e4d5a9cc87d (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: buildlink3.mk,v 1.2 2004/02/20 03:12:22 minskim Exp $
#
# This Makefile fragment is included by packages that use py-ORBit.
#

BUILDLINK_DEPTH:=	${BUILDLINK_DEPTH}+
PY_ORBIT_BUILDLINK3_MK:=	${PY_ORBIT_BUILDLINK3_MK}+

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

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

.if !empty(PY_ORBIT_BUILDLINK3_MK:M+)
BUILDLINK_PACKAGES+=			pyorbit
BUILDLINK_DEPENDS.pyorbit+=		${PYPKGPREFIX}-ORBit>=2.0.0nb1
BUILDLINK_PKGSRCDIR.pyorbit?=		../../net/py-ORBit

.include "../../net/ORBit2/buildlink3.mk"

.endif # PY_ORBIT_BUILDLINK3_MK

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