diff options
author | Maxim Sobolev <sobomax@FreeBSD.org> | 2001-03-21 16:08:51 +0000 |
---|---|---|
committer | Maxim Sobolev <sobomax@FreeBSD.org> | 2001-03-21 16:08:51 +0000 |
commit | 47088bfcbaba6a44baa875bb13619e8c3b06187b (patch) | |
tree | 99e9d8d1a694a1b0f48dd0c2a18dac3f1ef7be74 /x11-toolkits/py-wxPython28/Makefile | |
parent | Allow CATEGORIES to be overridable by the japanese/gal slave port (diff) |
Update to 2.2.5.
Approved by: maintainer
Notes
Notes:
svn path=/head/; revision=40159
Diffstat (limited to 'x11-toolkits/py-wxPython28/Makefile')
-rw-r--r-- | x11-toolkits/py-wxPython28/Makefile | 39 |
1 files changed, 20 insertions, 19 deletions
diff --git a/x11-toolkits/py-wxPython28/Makefile b/x11-toolkits/py-wxPython28/Makefile index 20d692f8d508..56d0c048f779 100644 --- a/x11-toolkits/py-wxPython28/Makefile +++ b/x11-toolkits/py-wxPython28/Makefile @@ -6,8 +6,7 @@ # PORTNAME= py-wxPython -PORTVERSION= 2.2.1 -PORTREVISION= 1 +PORTVERSION= 2.2.5 CATEGORIES= x11-toolkits python MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= wxpython @@ -15,29 +14,31 @@ DISTNAME= wxPython-${PORTVERSION} MAINTAINER= nectar@FreeBSD.ORG +BUILD_DEPENDS= ${PYDISTUTILS} LIB_DEPENDS= wx_gtk.2:${PORTSDIR}/x11-toolkits/wxgtk USE_GMAKE= yes USE_NEWGCC= yes USE_PYTHON= yes USE_GTK= yes -INSTALLS_SHLIB= yes -MAKE_ENV= LN_S="${LN} -s" \ - CXX="${CXX}" \ - SYSCFLAGS="`${GTK_CONFIG} --cflags`" \ - SYSLFLAGS="`${GTK_CONFIG} --libs` -L${WRKSRC}/src" \ - _TARGETDIR="${PYTHON_SITELIBDIR}/wxPython" \ - _HELPERLIBDIR="${PREFIX}/lib" \ - WRKSRC="${WRKSRC}" -ALL_TARGET= default -INSTALL_TARGET= install-freebsd +MAKE_ENV= WX_CONFIG="${X11BASE}/bin/wx-config" +SETUP_ARGS= BUILD_GLCANVAS=0 +SETUP_CMD= cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} setup.py \ + ${SETUP_ARGS} +DEMO_DIR= ${PYTHON_SITELIBDIR:S/${LOCALBASE}/${PREFIX}/}/wxPython/demo -do-configure: - ${CP} ${FILESDIR}/build.local ${WRKSRC}/src/build.local - ${CP} ${FILESDIR}/build.local.stc ${WRKSRC}/contrib/stc/build.local - ${CP} ${FILESDIR}/build.local.ogl ${WRKSRC}/contrib/ogl/build.local - cd ${WRKSRC}/src && ../distrib/build.py - cd ${WRKSRC}/contrib/stc && ../../distrib/build.py - cd ${WRKSRC}/contrib/ogl && ../../distrib/build.py +do-build: + @${SETUP_CMD} build + @${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${WRKSRC}/demo +.if !defined(DEBUG_FLAGS) + @find ${WRKSRC} -name "*.so" | xargs strip +.endif + +do-install: + @${SETUP_CMD} install + @${MKDIR} ${DEMO_DIR} +.for glob in *.py *.pyc + @${INSTALL_DATA} ${WRKSRC}/demo/${glob} ${DEMO_DIR} +.endfor .include <bsd.port.mk> |