summaryrefslogtreecommitdiff
path: root/x11/pygtk/buildlink3.mk
blob: e61543a56e14b05ea6c91b61af67ae114bc0f084 (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.7 2006/07/08 22:39:47 jlam Exp $

BUILDLINK_DEPTH:=		${BUILDLINK_DEPTH}+
PY_GTK_BUILDLINK3_MK:=	${PY_GTK_BUILDLINK3_MK}+

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

BUILDLINK_PACKAGES:=	${BUILDLINK_PACKAGES:Npygtk}
BUILDLINK_PACKAGES+=	pygtk
BUILDLINK_ORDER+=	pygtk

.if !empty(PY_GTK_BUILDLINK3_MK:M+)
.  include "../../lang/python/pyversion.mk"
BUILDLINK_API_DEPENDS.pygtk+=	${PYPKGPREFIX}-gtk>=0.6.9nb4
BUILDLINK_ABI_DEPENDS.pygtk+=	${PYPKGPREFIX}-gtk>=0.6.11nb2
BUILDLINK_PKGSRCDIR.pygtk?=	../../x11/pygtk
.endif	# PY_GTK_BUILDLINK3_MK

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