summaryrefslogtreecommitdiff
path: root/x11/py-Xlib/buildlink3.mk
blob: 7b739952d1b68b18ff7d8200c13c2cd0cfbe002e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 22:39:47 jlam Exp $

BUILDLINK_DEPTH:=		${BUILDLINK_DEPTH}+
PY_XLIB_BUILDLINK3_MK:=	${PY_XLIB_BUILDLINK3_MK}+

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

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

BUILDLINK_PACKAGES:=	${BUILDLINK_PACKAGES:Npy-Xlib}
BUILDLINK_PACKAGES+=	py-Xlib
BUILDLINK_ORDER+=	py-Xlib

.if !empty(PY_XLIB_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.py-Xlib+=	${PYPKGPREFIX}-Xlib>=0.12
BUILDLINK_ABI_DEPENDS.py-Xlib?=	${PYPKGPREFIX}-Xlib>=0.12nb1
BUILDLINK_PKGSRCDIR.py-Xlib?=	../../x11/py-Xlib
.endif	# PY_XLIB_BUILDLINK3_MK

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