summaryrefslogtreecommitdiff
path: root/x11/py-wxWindows/Makefile
blob: 54c06e2447823fe4aaa46c014a7883a4bff9b958 (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
# $NetBSD: Makefile,v 1.23 2004/01/10 14:25:42 recht Exp $
#

DISTNAME=	wxPythonSrc-2.4.2.4
PKGNAME=	${PYPKGPREFIX}-wxWindows-2.4.2.4
PKGREVISION=	3
WRKSRC=		${WRKDIR}/wxPythonSrc-2.4.2.4/wxPython
CATEGORIES=	x11
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE:=wxpython/}

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

USE_BUILDLINK2=	yes
USE_GMAKE=	yes

# we depend on glib which pulls in threads
PYTHON_VERSIONS_ACCEPTED=	23pth 22pth 21pth
BUILDLINK_DEPENDS.python21-pth=	python21-pth>=2.1.3nb3
BUILDLINK_DEPENDS.python22-pth=	python22-pth>=2.2.2nb2
BUILDLINK_DEPENDS.wxGTK=	wxGTK>=2.4.1nb1

PYDISTUTILSPKG=	yes
# no GL to limit dependencies
# OGL doesn't build with egcs-1.1.2
# no scripts to avoid conflicts
PYSETUPBUILDARGS=	BUILD_GLCANVAS=0 BUILD_OGL=0 NO_SCRIPTS=1
PYSETUPINSTALLARGS=	BUILD_GLCANVAS=0 BUILD_OGL=0 NO_SCRIPTS=1
PYBINMODULE=	yes

.include "../../x11/wxGTK/buildlink2.mk"
.include "../../lang/python/extension.mk"
.include "../../mk/bsd.pkg.mk"