summaryrefslogtreecommitdiff
path: root/x11/py-wxWidgets/Makefile
blob: 61ab774a2b34407e2ba66f017b48ae25b73fbd66 (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
29
30
31
32
33
34
35
36
37
38
39
40
41
# $NetBSD: Makefile,v 1.6 2005/05/22 20:08:49 jlam Exp $
#

DISTNAME=	wxPythonSrc-2.4.2.4
PKGNAME=	${PYPKGPREFIX}-wxWidgets-2.4.2.4
PKGREVISION=	6
CATEGORIES=	x11 python
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE:=wxpython/}

MAINTAINER=	tsarna@NetBSD.org
HOMEPAGE=	http://wxpython.org/
COMMENT=	wxPython: Python bindings for wxWidgets

WRKSRC=		${WRKDIR}/wxPythonSrc-2.4.2.4/wxPython
USE_TOOLS+=	gmake

# previous name of the package
CONFLICTS+=	${PYPKGPREFIX}-wxWindows-[0-9]*

# we depend on glib which pulls in threads
PYTHON_VERSIONS_ACCEPTED=	24 23 22 21
BUILDLINK_DEPENDS.python21=	python21>=2.1.3nb3
BUILDLINK_DEPENDS.python22=	python22>=2.2.2nb2

.include "../../mk/bsd.prefs.mk"

.if empty(WXGTK_USE_GTK1:M[Yy][Ee][Ss])
WXARG=	WXPORT=gtk2
.endif

PYDISTUTILSPKG=	yes
# no scripts to avoid conflicts
PYSETUPBUILDARGS=	NO_SCRIPTS=1 ${WXARG}
PYSETUPINSTALLARGS=	NO_SCRIPTS=1 ${WXARG}
PYBINMODULE=	yes

.include "../../devel/pkgconfig/buildlink3.mk"
.include "../../x11/wxGTK/buildlink3.mk"
.include "../../graphics/MesaLib/buildlink3.mk"
.include "../../lang/python/extension.mk"
.include "../../mk/bsd.pkg.mk"