summaryrefslogtreecommitdiff
path: root/x11/py-sip/buildlink3.mk
blob: 0e0cd4f383b13251dc52d982217b5785f8b849b0 (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.1.1.1 2008/10/08 14:10:45 wiz Exp $

BUILDLINK_DEPTH:=		${BUILDLINK_DEPTH}+
PY_SIP_BUILDLINK3_MK:=	${PY_SIP_BUILDLINK3_MK}+

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

.if ${BUILDLINK_DEPTH} == "+"
BUILDLINK_DEPENDS+=	py-sip
.endif

BUILDLINK_PACKAGES:=	${BUILDLINK_PACKAGES:Npy-sip}
BUILDLINK_PACKAGES+=	py-sip
BUILDLINK_ORDER:=	${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}py-sip

.if ${PY_SIP_BUILDLINK3_MK} == "+"
BUILDLINK_API_DEPENDS.py-sip+=	${PYPKGPREFIX}-sip>=4.7.7
BUILDLINK_PKGSRCDIR.py-sip?=	../../x11/py-sip
.endif	# PY_SIP_BUILDLINK3_MK

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