2003-09-09 13:59:03 +02:00
|
|
|
# $NetBSD: Makefile,v 1.18 2003/09/09 11:59:03 recht Exp $
|
2000-07-30 02:19:55 +02:00
|
|
|
#
|
|
|
|
|
2003-09-09 13:59:03 +02:00
|
|
|
DISTNAME= wxPythonSrc-2.4.1.2
|
|
|
|
PKGNAME= ${PYPKGPREFIX}-wxWindows-2.4.1.2
|
|
|
|
WRKSRC= ${WRKDIR}/wxPythonSrc-2.4.1.2/wxPython
|
2000-07-30 02:19:55 +02:00
|
|
|
CATEGORIES= x11
|
2000-11-11 18:49:22 +01:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=wxpython/}
|
2000-07-30 02:19:55 +02:00
|
|
|
|
2003-07-18 00:50:55 +02:00
|
|
|
MAINTAINER= tsarna@NetBSD.org
|
2000-07-30 02:19:55 +02:00
|
|
|
HOMEPAGE= http://wxpython.org/
|
2001-02-17 18:06:11 +01:00
|
|
|
COMMENT= wxPython: Python bindings for wxWindows
|
2000-07-30 02:19:55 +02:00
|
|
|
|
2002-10-09 16:35:34 +02:00
|
|
|
USE_BUILDLINK2= yes
|
2000-07-30 02:19:55 +02:00
|
|
|
USE_GMAKE= yes
|
|
|
|
|
2003-05-09 13:46:43 +02:00
|
|
|
# we depend on glib which pulls in threads
|
2003-08-28 17:01:44 +02:00
|
|
|
PYTHON_VERSIONS_ACCEPTED= 23pth 22pth 21pth
|
2003-05-09 13:46:43 +02:00
|
|
|
BUILDLINK_DEPENDS.python21-pth= python21-pth>=2.1.3nb3
|
|
|
|
BUILDLINK_DEPENDS.python22-pth= python22-pth>=2.2.2nb2
|
2003-09-09 13:59:03 +02:00
|
|
|
BUILDLINK_DEPENDS.wxGTK= wxGTK>=2.4.1nb1
|
2003-05-09 13:46:43 +02:00
|
|
|
|
2002-01-18 11:50:42 +01:00
|
|
|
PYDISTUTILSPKG= yes
|
2003-05-09 13:46:43 +02:00
|
|
|
# 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
|
2002-01-18 11:50:42 +01:00
|
|
|
PYBINMODULE= yes
|
2000-07-30 02:19:55 +02:00
|
|
|
|
2003-09-09 13:59:03 +02:00
|
|
|
post-install:
|
|
|
|
${PYTHONBIN} -O ${PREFIX}/${PYLIB}/compileall.py \
|
|
|
|
${PREFIX}/${PYSITELIB}/wx
|
|
|
|
${PYTHONBIN} -O ${PREFIX}/${PYLIB}/compileall.py \
|
|
|
|
${PREFIX}/${PYSITELIB}/wxPython
|
|
|
|
|
2002-10-09 16:35:34 +02:00
|
|
|
.include "../../x11/wxGTK/buildlink2.mk"
|
2002-09-22 01:46:45 +02:00
|
|
|
.include "../../lang/python/extension.mk"
|
2000-07-30 02:19:55 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|