summaryrefslogtreecommitdiff
path: root/textproc/py-elementtree/buildlink3.mk
blob: bed1b11c78943a9cfbf945446811f10310917ae7 (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 2007/01/10 10:44:46 drochner Exp $

BUILDLINK_DEPTH:=			${BUILDLINK_DEPTH}+
PY_ELEMENTTREE_BUILDLINK3_MK:=	${PY_ELEMENTTREE_BUILDLINK3_MK}+

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

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

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

.if ${PY_ELEMENTTREE_BUILDLINK3_MK} == "+"
BUILDLINK_API_DEPENDS.py-elementtree+=	${PYPKGPREFIX}-elementtree>=1.2.6nb3
BUILDLINK_PKGSRCDIR.py-elementtree=	../../textproc/py-elementtree
.endif	# PY_ELEMENTTREE_BUILDLINK3_MK

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