diff options
author | sobomax <sobomax@FreeBSD.org> | 2001-03-21 16:08:51 +0000 |
---|---|---|
committer | sobomax <sobomax@FreeBSD.org> | 2001-03-21 16:08:51 +0000 |
commit | 34309b0d53c6502b0ff0b859d6c5c334bbd3dfa5 (patch) | |
tree | 1525f148259a97eed6530ec1ee6a0b780c06b8ba /x11-toolkits/py-wxPython28/Makefile | |
parent | c7dd84fc983ee1f3ba3c20e3f63039886c952cad (diff) | |
download | FreeBSD-ports-34309b0d53c6502b0ff0b859d6c5c334bbd3dfa5.zip FreeBSD-ports-34309b0d53c6502b0ff0b859d6c5c334bbd3dfa5.tar.gz |
Update to 2.2.5.
Approved by: maintainer
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 20d692f..56d0c04 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> |