b48eba1112
all dependencies on packages depending on "png" which contain shared libraries, all for the (imminent) update to the "png" package. [List courtesy of John Darrow, courtesy of "bulk-build".]
35 lines
1 KiB
Makefile
35 lines
1 KiB
Makefile
# $NetBSD: Makefile,v 1.10 2002/03/13 17:37:59 fredb Exp $
|
|
#
|
|
|
|
DISTNAME= wxPython-2.2.2
|
|
PKGNAME= ${PYPKGPREFIX}-wxWindows-2.2.2
|
|
PKGREVISION= 1
|
|
CATEGORIES= x11
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=wxpython/}
|
|
|
|
MAINTAINER= tsarna@netbsd.org
|
|
HOMEPAGE= http://wxpython.org/
|
|
COMMENT= wxPython: Python bindings for wxWindows
|
|
|
|
PLIST_SRC= ${WRKDIR}/.PLIST_SRC
|
|
|
|
USE_GMAKE= yes
|
|
|
|
PYTHON_VERSIONS_ACCEPTED= 20 # distutils problem with 21 and 22
|
|
PYDISTUTILSPKG= yes
|
|
PYSETUPBUILDARGS= BUILD_GLCANVAS=0
|
|
PYBINMODULE= yes
|
|
|
|
post-install:
|
|
${CAT} ${PKGDIR}/PLIST.pre >${PLIST_SRC}
|
|
(cd ${PREFIX}/${PYSITELIB}/wxPython; \
|
|
${PYTHONBIN} ${PREFIX}/${PYLIB}/compileall.py . ; \
|
|
${PYTHONBIN} -O ${PREFIX}/${PYLIB}/compileall.py . )
|
|
(cd ${PREFIX}; ${FIND} ${PYSITELIB}/wxPython \
|
|
-type f -print >>${PLIST_SRC})
|
|
(cd ${PREFIX}; ${FIND} -d ${PYSITELIB}/wxPython \
|
|
-type d -print | ${SED} -e "s/^/@dirrm /" >>${PLIST_SRC})
|
|
|
|
.include "../../x11/wxGTK/buildlink.mk"
|
|
.include "../../lang/python/extension.buildlink.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|