svn commit: r350853 - head/games/scummvm-tools
Lars Engels
lme at FreeBSD.org
Thu Apr 10 20:57:51 UTC 2014
Author: lme
Date: Thu Apr 10 20:57:50 2014
New Revision: 350853
URL: http://svnweb.freebsd.org/changeset/ports/350853
QAT: https://qat.redports.org/buildarchive/r350853/
Log:
- Switch back to wx-2.8, the GUI did not build with 3.0
- Add LICENSE
- Strip binaries
- Add missing "decompile" binary
- Bump PORTREVISION
Modified:
head/games/scummvm-tools/Makefile
head/games/scummvm-tools/pkg-plist
Modified: head/games/scummvm-tools/Makefile
==============================================================================
--- head/games/scummvm-tools/Makefile Thu Apr 10 20:57:35 2014 (r350852)
+++ head/games/scummvm-tools/Makefile Thu Apr 10 20:57:50 2014 (r350853)
@@ -3,13 +3,15 @@
PORTNAME= scummvm-tools
DISTVERSION= 1.6.0
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= games emulators
MASTER_SITES= SF/scummvm/${PORTNAME}/${DISTVERSION}
MAINTAINER= lme at FreeBSD.org
COMMENT= Tools for use with the SCUMMVM game emulator
+LICENSE= GPLv2
+
RUN_DEPENDS= scummvm:${PORTSDIR}/games/scummvm
BUILD_DEPENDS= lame:${PORTSDIR}/audio/lame \
flac:${PORTSDIR}/audio/flac \
@@ -24,6 +26,10 @@ GNU_CONFIGURE= yes
CONFIGURE_TARGET=
+STRIP_FILES= construct_mohawk create_sjisfnt decine decompile degob dekyra \
+ deriven descumm desword2 extract_mohawk gob_loadcalc \
+ scummvm-tools-cli
+
OPTIONS_DEFINE= WXGTK
OPTIONS_DEFAULT= WXGTK
@@ -31,16 +37,27 @@ OPTIONS_DEFAULT= WXGTK
.include <bsd.port.pre.mk>
.if ${PORT_OPTIONS:MWXGTK}
-USE_WX= 3.0
+USE_WX= 2.8
WX_COMP= wx:lib:build
WX_UNICODE= yes
+WX_CONFIG_ARGS= absolute
GUI_BIN= tools_gui
PLIST_SUB= WX=""
+STRIP_FILES+= scummvm-tools
.else
CONFIGURE_ARGS+= --disable-wxwidgets
PLIST_SUB= WX="@comment "
.endif
+pre-patch:
+ @${REINPLACE_CMD} -e 's|wxgtk2-2.8-config|${WX_CONFIG:C/.*\///}|' \
+ ${WRKSRC}/configure
+
+pre-install:
+.for f in ${STRIP_FILES}
+ @${STRIP_CMD} ${WRKSRC}/$f
+.endfor
+
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
@${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
Modified: head/games/scummvm-tools/pkg-plist
==============================================================================
--- head/games/scummvm-tools/pkg-plist Thu Apr 10 20:57:35 2014 (r350852)
+++ head/games/scummvm-tools/pkg-plist Thu Apr 10 20:57:50 2014 (r350853)
@@ -1,6 +1,7 @@
bin/construct_mohawk
bin/create_sjisfnt
bin/decine
+bin/decompile
bin/degob
bin/dekyra
bin/deriven
@@ -18,4 +19,4 @@ bin/scummvm-tools-cli
%%DATADIR%%/scummvmtools_128.png
%%DATADIR%%/tile.gif
@dirrmtry %%DATADIR%%
-%%PORTDOCS%%@dirrmtry %%DOCSDIR%%
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
More information about the svn-ports-head
mailing list