aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--emulators/zsnes/Makefile8
-rw-r--r--emulators/zsnes/distinfo2
-rw-r--r--emulators/zsnes/files/patch-src::makefile.linux6
3 files changed, 9 insertions, 7 deletions
diff --git a/emulators/zsnes/Makefile b/emulators/zsnes/Makefile
index f7871ffb9edf..e1fdeed68445 100644
--- a/emulators/zsnes/Makefile
+++ b/emulators/zsnes/Makefile
@@ -6,11 +6,11 @@
#
PORTNAME= zsnes
-PORTVERSION= 1.29
+PORTVERSION= 1.31
CATEGORIES= emulators
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
-DISTNAME= zsnes-${PORTVERSION}src
+DISTNAME= zsnes${PORTVERSION:S/.//}src
MAINTAINER= stijn@win.tue.nl
@@ -21,6 +21,8 @@ LIB_DEPENDS= SDL-1.1.3:${PORTSDIR}/devel/sdl12 \
USE_X_PREFIX= yes
USE_GMAKE= yes
+USE_ZIP= yes
+EXTRACT_BEFORE_ARGS= -q -a
MAN1= zsnes.1
@@ -30,7 +32,7 @@ ONLY_FOR_ARCHS= i386
SDL_CONFIG?= ${LOCALBASE}/bin/sdl11-config
MAKE_ENV+= SDL_CONFIG=${SDL_CONFIG} PREFIX=${PREFIX}
-WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
+WRKSRC= ${WRKDIR}/zsnes
BUILD_WRKSRC= ${WRKSRC}/src
MAKEFILE= makefile.linux
ALL_TARGET= ALL
diff --git a/emulators/zsnes/distinfo b/emulators/zsnes/distinfo
index f5f24c372da5..56c10bfc4a7f 100644
--- a/emulators/zsnes/distinfo
+++ b/emulators/zsnes/distinfo
@@ -1 +1 @@
-MD5 (zsnes-1.29src.tar.gz) = 9e07c64e3d381f9e8f9113392eabb8fc
+MD5 (zsnes131src.zip) = 6b0460c9df49d815989f9b6eda70de2d
diff --git a/emulators/zsnes/files/patch-src::makefile.linux b/emulators/zsnes/files/patch-src::makefile.linux
index cffe63dd6484..afbf8a35b301 100644
--- a/emulators/zsnes/files/patch-src::makefile.linux
+++ b/emulators/zsnes/files/patch-src::makefile.linux
@@ -1,5 +1,5 @@
---- src/makefile.linux.orig Wed May 16 22:38:21 2001
-+++ src/makefile.linux Mon May 21 17:02:43 2001
+--- src/makefile.linux.orig Fri Jun 29 23:12:52 2001
++++ src/makefile.linux Fri Jun 29 23:13:27 2001
@@ -23,7 +23,7 @@
WINDIR=linux
OBJDIR=obj
@@ -9,7 +9,7 @@
CHIPSOBJ=${CHIPDIR}/sfxproc.o ${CHIPDIR}/fxemu2.o ${CHIPDIR}/dsp1proc.o\
${CHIPDIR}/fxemu2b.o ${CHIPDIR}/fxemu2c.o ${CHIPDIR}/fxtable.o\
-@@ -58,12 +58,12 @@
+@@ -59,12 +59,12 @@
MAINOBJ=cfgload.o endmem.o fixsin.o init.o ui.o vcache.o water.o
OBJS=${CHIPSOBJ} ${CPUOBJ} ${WINOBJ} ${WINDOSOBJ} ${GUIOBJ} ${VIDEOBJ} ${ZIPOBJ} ${MAINOBJ}