svn commit: r350540 - head/emulators/wxmupen64plus
Jose Alonso Cardenas Marquez
acm at FreeBSD.org
Mon Apr 7 20:27:25 UTC 2014
Author: acm
Date: Mon Apr 7 20:27:24 2014
New Revision: 350540
URL: http://svnweb.freebsd.org/changeset/ports/350540
QAT: https://qat.redports.org/buildarchive/r350540/
Log:
- Fix build with wxWidgest 3.0
- Add STAGE support
Modified:
head/emulators/wxmupen64plus/Makefile
Modified: head/emulators/wxmupen64plus/Makefile
==============================================================================
--- head/emulators/wxmupen64plus/Makefile Mon Apr 7 20:00:11 2014 (r350539)
+++ head/emulators/wxmupen64plus/Makefile Mon Apr 7 20:27:24 2014 (r350540)
@@ -13,8 +13,6 @@ DIST_SUBDIR= ${PORTNAME:S/wx//}
MAINTAINER= acm at FreeBSD.org
COMMENT= Mupen64Plus 2.0 GUI frontend written using wxWidgets
-BROKEN= does not build with any of the supported wx
-
LIB_DEPENDS= mupen64plus:${PORTSDIR}/emulators/mupen64plus-core
RUN_DEPENDS= ${LOCALBASE}/lib/libmupen64plus.so.2:${PORTSDIR}/emulators/mupen64plus-core \
${LOCALBASE}/lib/mupen64plus/mupen64plus-audio-sdl.so:${PORTSDIR}/emulators/mupen64plus-audio-sdl \
@@ -30,10 +28,9 @@ WX_UNICODE= yes
USE_PYTHON= yes
WAF_SCRIPT= waf
-NO_STAGE= yes
-
post-patch:
- @${REINPLACE_CMD} -e 's|%%CC%%|${CC}|g' -e 's|%%CXX%%|${CXX}|g' ${WRKSRC}/wscript
+ @${REINPLACE_CMD} -e 's|%%CC%%|${CC}|g' -e 's|%%CXX%%|${CXX}|g' -e
+ 's|version=2.9|version=${WX_VERSION}|g' ${WRKSRC}/wscript
do-configure:
@cd ${WRKSRC} && \
@@ -51,8 +48,8 @@ do-build:
${SETENV} ${MAKE_ENV} ${PYTHON_CMD} ${WAF_SCRIPT}
do-install:
- @${MKDIR} ${DATADIR}
- @cd ${WRKSRC}/data && ${COPYTREE_SHARE} . ${DATADIR}
- @${INSTALL_PROGRAM} ${WRKSRC}/build/${PORTNAME} ${PREFIX}/bin/${PORTNAME}
+ @${MKDIR} ${STAGEDIR}${DATADIR}
+ @cd ${WRKSRC}/data && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}
+ @${INSTALL_PROGRAM} ${WRKSRC}/build/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
.include <bsd.port.mk>
More information about the svn-ports-all
mailing list