svn commit: r350856 - branches/2014Q2/games/scummvm-tools

Lars Engels lme at FreeBSD.org
Thu Apr 10 21:25:01 UTC 2014


Author: lme
Date: Thu Apr 10 21:25:00 2014
New Revision: 350856
URL: http://svnweb.freebsd.org/changeset/ports/350856
QAT: https://qat.redports.org/buildarchive/r350856/

Log:
  MFH: r350853
  
  - Switch back to wx-2.8, the GUI did not build with 3.0
  - Add LICENSE
  - Strip binaries
  - Add missing "decompile" binary
  - Bump PORTREVISION
  
  Approved by:	portmgr (mat)

Modified:
  branches/2014Q2/games/scummvm-tools/Makefile
  branches/2014Q2/games/scummvm-tools/pkg-plist
Directory Properties:
  branches/2014Q2/   (props changed)

Modified: branches/2014Q2/games/scummvm-tools/Makefile
==============================================================================
--- branches/2014Q2/games/scummvm-tools/Makefile	Thu Apr 10 21:23:38 2014	(r350855)
+++ branches/2014Q2/games/scummvm-tools/Makefile	Thu Apr 10 21:25:00 2014	(r350856)
@@ -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: branches/2014Q2/games/scummvm-tools/pkg-plist
==============================================================================
--- branches/2014Q2/games/scummvm-tools/pkg-plist	Thu Apr 10 21:23:38 2014	(r350855)
+++ branches/2014Q2/games/scummvm-tools/pkg-plist	Thu Apr 10 21:25:00 2014	(r350856)
@@ -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-all mailing list