blob: cbf1d77e42f58a8ee02561d32167a845085ce23a (
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
|
# $NetBSD: Makefile,v 1.8 2001/02/17 17:06:39 wiz Exp $
#
DISTNAME= wxPython-2.2.2
PKGNAME= py-wxWindows-2.2.2
CATEGORIES= x11
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=wxpython/}
MAINTAINER= tsarna@netbsd.org
HOMEPAGE= http://wxpython.org/
COMMENT= wxPython: Python bindings for wxWindows
DEPENDS+= python>=2.0:../../lang/python
DEPENDS+= wxGTK>=2.2.2:../../x11/wxGTK
PLIST_SRC= ${WRKDIR}/.PLIST_SRC
SITE_PKG= lib/python2.0/site-packages
PYTHON_LIBDIR= ${LOCALBASE}/${SITE_PKG}
USE_GMAKE= yes
BUILD_OPTS= BUILD_GLCANVAS=0
do-build:
(cd ${WRKSRC}; ${PREFIX}/bin/python setup.py ${BUILD_OPTS} build)
do-install:
(cd ${WRKSRC}; ${PREFIX}/bin/python setup.py install)
${CAT} ${PKGDIR}/PLIST.pre >${PLIST_SRC}
(cd ${PYTHON_LIBDIR}/wxPython; \
${PREFIX}/bin/python ${PREFIX}/lib/python2.0/compileall.py . ; \
${PREFIX}/bin/python -O ${PREFIX}/lib/python2.0/compileall.py . )
(cd ${PREFIX}; ${FIND} ${SITE_PKG}/wxPython \
-type f -print >>${PLIST_SRC})
(cd ${PREFIX}; ${FIND} -d ${SITE_PKG}/wxPython \
-type d -print | ${SED} -e "s/^/@dirrm /" >>${PLIST_SRC})
.include "../../mk/bsd.pkg.mk"
|