summaryrefslogtreecommitdiff
path: root/x11/py-gtk2/buildlink2.mk
blob: 045643bb2eac34b5652d7574973f1e57de77da9d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# $NetBSD: buildlink2.mk,v 1.1.1.1 2003/05/09 14:50:12 drochner Exp $

.if !defined(PYGTK2_BUILDLINK2_MK)
PYGTK2_BUILDLINK2_MK=	# defined

PYTHON_VERSION_REQD=	22pth
.include "../../lang/python/pyversion.mk"

BUILDLINK_PACKAGES+=			pygtk2
BUILDLINK_DEPENDS.pygtk2?=		${PYPKGPREFIX}-gtk2>=1.99.16
BUILDLINK_PKGSRCDIR.pygtk2?=		../../wip/py-gtk2

EVAL_PREFIX+=	BUILDLINK_PREFIX.pygtk2=${PYPKGPREFIX}-gtk2
BUILDLINK_PREFIX.pygtk2_DEFAULT=	${LOCALBASE}
BUILDLINK_FILES.pygtk2+=	include/pygtk-2.0/pygtk/pygtk.h
BUILDLINK_FILES.pygtk2+=	include/pygtk-2.0/pygobject.h
BUILDLINK_FILES.pygtk2+=	lib/pkgconfig/pygtk-2.0.pc

.include "../../devel/libglade2/buildlink2.mk"
.include "../../math/py-Numeric/buildlink2.mk"
.include "../../x11/gtk2/buildlink2.mk"
.include "../../wip/gtkglarea2/buildlink2.mk"

BUILDLINK_TARGETS+=	pygtk2-buildlink

pygtk2-buildlink: _BUILDLINK_USE

.endif	# PYGTK2_BUILDLINK2_MK