From e160c4cfb832ebfef1daf0aaaccfd5ec62d6b91f Mon Sep 17 00:00:00 2001 From: Adam Weinberger Date: Thu, 1 Jul 2004 02:19:21 +0000 Subject: [PATCH] Update to 0.6.0. PR: ports/68533 Submitted by: maintainer --- games/scummvm-tools/Makefile | 26 +++++++++++++++++++------- games/scummvm-tools/distinfo | 4 ++-- games/scummvm-tools/pkg-plist | 10 +++++----- 3 files changed, 26 insertions(+), 14 deletions(-) diff --git a/games/scummvm-tools/Makefile b/games/scummvm-tools/Makefile index 352921ab980e..b41b22b69bb9 100644 --- a/games/scummvm-tools/Makefile +++ b/games/scummvm-tools/Makefile @@ -6,8 +6,7 @@ # PORTNAME= scummvm-tools -PORTVERSION= 0.4.1 -PORTREVISION= 2 +PORTVERSION= 0.6.0 CATEGORIES= games emulators MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= scummvm @@ -16,17 +15,23 @@ MAINTAINER= alexander@trull.com COMMENT= Tools for use with the SCUMMVM game emulator RUN_DEPENDS= scummvm:${PORTSDIR}/games/scummvm +BUILD_DEPENDS= lame:${PORTSDIR}/audio/lame \ + flac:${PORTSDIR}/audio/flac \ + oggenc:${PORTSDIR}/audio/vorbis-tools \ + oggdec:${PORTSDIR}/audio/vorbis-tools USE_BZIP2= yes USE_GMAKE= yes USE_REINPLACE= yes -pre-patch: - @${REINPLACE_CMD} -e 's@:= -g -O@+= ${CFLAGS}@' \ - ${WRKSRC}/Makefile +.include + +.if ${OSVERSION} < 500000 +BUILD_DEPENDS+= gcc32:${PORTSDIR}/lang/gcc32 +.endif do-install: -.for i in extract rescumm descumm descumm6 simon1decr simon2mp3 +.for i in descumm extract md5table mm_nes_extract queenrebuild rescumm @${INSTALL_PROGRAM} ${WRKSRC}/$i ${PREFIX}/bin .endfor @@ -35,4 +40,11 @@ do-install: @${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} .endif -.include +post-patch: + @${REINPLACE_CMD} -e 's@:= -g -O@+= ${CFLAGS}@' ${WRKSRC}/Makefile +.if ${OSVERSION} < 500000 + @${REINPLACE_CMD} -e 's/gcc/gcc32/g' ${WRKSRC}/Makefile + @${REINPLACE_CMD} -e 's/g\+\+/g\+\+32/g' ${WRKSRC}/Makefile +.endif + +.include diff --git a/games/scummvm-tools/distinfo b/games/scummvm-tools/distinfo index 282f9877fb74..f901ab3ec6be 100644 --- a/games/scummvm-tools/distinfo +++ b/games/scummvm-tools/distinfo @@ -1,2 +1,2 @@ -MD5 (scummvm-tools-0.4.1.tar.bz2) = d7415eb6e55a78061964930563f78308 -SIZE (scummvm-tools-0.4.1.tar.bz2) = 39850 +MD5 (scummvm-tools-0.6.0.tar.bz2) = 09ded7a8177fda1b861731052b8693c4 +SIZE (scummvm-tools-0.6.0.tar.bz2) = 75514 diff --git a/games/scummvm-tools/pkg-plist b/games/scummvm-tools/pkg-plist index fead579084fe..53024e3c287e 100644 --- a/games/scummvm-tools/pkg-plist +++ b/games/scummvm-tools/pkg-plist @@ -1,8 +1,8 @@ -bin/extract -bin/rescumm bin/descumm -bin/descumm6 -bin/simon1decr -bin/simon2mp3 +bin/extract +bin/md5table +bin/mm_nes_extract +bin/queenrebuild +bin/rescumm %%PORTDOCS%%share/doc/scummvm-tools/README %%PORTDOCS%%@dirrm share/doc/scummvm-tools