| @@ -1,40 +1,41 @@ | | | @@ -1,40 +1,41 @@ |
1 | # $NetBSD: Makefile,v 1.57 2014/10/02 04:46:25 mef Exp $ | | 1 | # $NetBSD: Makefile,v 1.58 2015/01/27 05:24:49 dbj Exp $ |
2 | | | 2 | |
3 | VERSION= 2.8.12.0 | | 3 | VERSION= 2.8.12.0 |
4 | DISTNAME= wxPython-src-${VERSION} | | 4 | DISTNAME= wxPython-src-${VERSION} |
5 | PKGNAME= ${PYPKGPREFIX}-wxWidgets-${VERSION} | | 5 | PKGNAME= ${PYPKGPREFIX}-wxWidgets-${VERSION} |
6 | CATEGORIES= x11 python | | 6 | CATEGORIES= x11 python |
7 | MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=wxpython/} | | 7 | MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=wxpython/} |
8 | EXTRACT_SUFX= .tar.bz2 | | 8 | EXTRACT_SUFX= .tar.bz2 |
9 | | | 9 | |
10 | MAINTAINER= pkgsrc-users@NetBSD.org | | 10 | MAINTAINER= pkgsrc-users@NetBSD.org |
11 | HOMEPAGE= http://wxpython.org/ | | 11 | HOMEPAGE= http://wxpython.org/ |
12 | COMMENT= Python bindings for wxWidgets | | 12 | COMMENT= Python bindings for wxWidgets |
13 | | | 13 | |
14 | WRKSRC= ${WRKDIR}/wxPython-src-${VERSION}/wxPython | | 14 | WRKSRC= ${WRKDIR}/wxPython-src-${VERSION}/wxPython |
15 | USE_LANGUAGES= c c++ | | 15 | USE_LANGUAGES= c c++ |
16 | USE_TOOLS+= gmake pkg-config | | 16 | USE_TOOLS+= gmake pkg-config |
17 | | | 17 | |
18 | # previous name of the package | | 18 | # previous name of the package |
19 | CONFLICTS+= ${PYPKGPREFIX}-wxWindows-[0-9]* | | 19 | CONFLICTS+= ${PYPKGPREFIX}-wxWindows-[0-9]* |
20 | PYTHON_SELF_CONFLICT= yes | | 20 | PYTHON_SELF_CONFLICT= yes |
21 | PYTHON_VERSIONS_INCOMPATIBLE= 33 34 # not yet ported as of 2.8.10.1 | | 21 | PYTHON_VERSIONS_INCOMPATIBLE= 33 34 # not yet ported as of 2.8.10.1 |
22 | | | 22 | |
23 | WXARG= WXPORT=gtk2 UNICODE=1 | | | |
24 | | | | |
25 | # no scripts to avoid conflicts | | 23 | # no scripts to avoid conflicts |
26 | #PYSETUPBUILDARGS= NO_SCRIPTS=1 ${WXARG} | | 24 | #PYSETUPBUILDARGS+= NO_SCRIPTS=1 |
27 | #PYSETUPINSTALLARGS= NO_SCRIPTS=1 ${WXARG} | | 25 | #PYSETUPINSTALLARGS+= NO_SCRIPTS=1 |
| | | 26 | |
| | | 27 | PYSETUPBUILDARGS+= WXPORT=gtk2 UNICODE=1 |
| | | 28 | PYSETUPINSTALLARGS+= WXPORT=gtk2 UNICODE=1 |
28 | | | 29 | |
29 | SUBST_CLASSES+= fix-python | | 30 | SUBST_CLASSES+= fix-python |
30 | SUBST_STAGE.fix-python= pre-configure | | 31 | SUBST_STAGE.fix-python= pre-configure |
31 | SUBST_MESSAGE.fix-python= Fixing dynamic python | | 32 | SUBST_MESSAGE.fix-python= Fixing dynamic python |
32 | SUBST_FILES.fix-python+= wx/lib/floatcanvas/*.py | | 33 | SUBST_FILES.fix-python+= wx/lib/floatcanvas/*.py |
33 | SUBST_FILES.fix-python+= wx/lib/floatcanvas/Utilities/*.py | | 34 | SUBST_FILES.fix-python+= wx/lib/floatcanvas/Utilities/*.py |
34 | SUBST_FILES.fix-python+= wx/tools/Editra/*.py | | 35 | SUBST_FILES.fix-python+= wx/tools/Editra/*.py |
35 | SUBST_FILES.fix-python+= wx/tools/Editra/src/*.py | | 36 | SUBST_FILES.fix-python+= wx/tools/Editra/src/*.py |
36 | SUBST_FILES.fix-python+= wx/tools/Editra/src/extern/*.py | | 37 | SUBST_FILES.fix-python+= wx/tools/Editra/src/extern/*.py |
37 | SUBST_FILES.fix-python+= wx/tools/Editra/tests/syntax/python.python | | 38 | SUBST_FILES.fix-python+= wx/tools/Editra/tests/syntax/python.python |
38 | SUBST_FILES.fix-python+= wx/tools/Editra/Editra* | | 39 | SUBST_FILES.fix-python+= wx/tools/Editra/Editra* |
39 | SUBST_SED.fix-python+= -e 's,/usr/bin/env python,${PYTHONBIN},' | | 40 | SUBST_SED.fix-python+= -e 's,/usr/bin/env python,${PYTHONBIN},' |
40 | | | 41 | |