2002-10-09 16:35:34 +02:00
|
|
|
# $NetBSD: Makefile,v 1.12 2002/10/09 14:35:38 wiz Exp $
|
2000-07-30 02:19:55 +02:00
|
|
|
#
|
|
|
|
|
2000-11-12 21:38:38 +01:00
|
|
|
DISTNAME= wxPython-2.2.2
|
2002-01-18 11:50:42 +01:00
|
|
|
PKGNAME= ${PYPKGPREFIX}-wxWindows-2.2.2
|
2002-03-13 18:36:35 +01:00
|
|
|
PKGREVISION= 1
|
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
|
|
|
|
|
|
|
MAINTAINER= tsarna@netbsd.org
|
|
|
|
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
|
|
|
|
|
|
|
PLIST_SRC= ${WRKDIR}/.PLIST_SRC
|
|
|
|
|
2002-10-09 16:35:34 +02:00
|
|
|
USE_BUILDLINK2= yes
|
2000-07-30 02:19:55 +02:00
|
|
|
USE_GMAKE= yes
|
|
|
|
|
2002-01-18 11:50:42 +01:00
|
|
|
PYTHON_VERSIONS_ACCEPTED= 20 # distutils problem with 21 and 22
|
|
|
|
PYDISTUTILSPKG= yes
|
|
|
|
PYSETUPBUILDARGS= BUILD_GLCANVAS=0
|
|
|
|
PYBINMODULE= yes
|
2000-07-30 02:19:55 +02:00
|
|
|
|
2002-01-18 11:50:42 +01:00
|
|
|
post-install:
|
2000-07-30 02:19:55 +02:00
|
|
|
${CAT} ${PKGDIR}/PLIST.pre >${PLIST_SRC}
|
2002-01-18 11:50:42 +01:00
|
|
|
(cd ${PREFIX}/${PYSITELIB}/wxPython; \
|
|
|
|
${PYTHONBIN} ${PREFIX}/${PYLIB}/compileall.py . ; \
|
|
|
|
${PYTHONBIN} -O ${PREFIX}/${PYLIB}/compileall.py . )
|
|
|
|
(cd ${PREFIX}; ${FIND} ${PYSITELIB}/wxPython \
|
2000-07-30 02:19:55 +02:00
|
|
|
-type f -print >>${PLIST_SRC})
|
2002-01-18 11:50:42 +01:00
|
|
|
(cd ${PREFIX}; ${FIND} -d ${PYSITELIB}/wxPython \
|
2000-07-30 02:19:55 +02:00
|
|
|
-type d -print | ${SED} -e "s/^/@dirrm /" >>${PLIST_SRC})
|
|
|
|
|
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"
|