summaryrefslogtreecommitdiff
path: root/devel/swig-python/buildlink3.mk
blob: ad30cc7cf1ab955194370d7ef17b4c10e72fe597 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# $NetBSD: buildlink3.mk,v 1.2 2004/03/18 09:12:11 jlam Exp $

BUILDLINK_DEPTH:=		${BUILDLINK_DEPTH}+
SWIG_PYTHON_BUILDLINK3_MK:=	${SWIG_PYTHON_BUILDLINK3_MK}+

PYTHON_VERSION_ACCEPTED=	22 22pth

.include "../../lang/python/pyversion.mk"
.include "../../devel/swig-build/Makefile.version"

.if !empty(BUILDLINK_DEPTH:M+)
BUILDLINK_DEPENDS+=	swig-python
.endif

BUILDLINK_PACKAGES:=	${BUILDLINK_PACKAGES:Nswig-python}
BUILDLINK_PACKAGES+=	swig-python

.if !empty(SWIG_PYTHON_BUILDLINK3_MK:M+)
BUILDLINK_DEPENDS.swig-python+=		swig-python>=${SWIG_VERSION}
BUILDLINK_PKGSRCDIR.swig-python?=	../../devel/swig-python
.endif	# SWIG_PYTHON_BUILDLINK3_MK

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