summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--games/zoom/Makefile14
-rw-r--r--games/zoom/distinfo1
2 files changed, 13 insertions, 2 deletions
diff --git a/games/zoom/Makefile b/games/zoom/Makefile
index f8eedafc9647..c67f91ffd103 100644
--- a/games/zoom/Makefile
+++ b/games/zoom/Makefile
@@ -6,10 +6,11 @@
#
PORTNAME= zoom
-PORTVERSION= 1.0.1
+PORTVERSION= 1.0.1a
CATEGORIES= games
MASTER_SITES= http://www.logicalshift.demon.co.uk/unix/${PORTNAME}/
-DISTNAME= ${PORTNAME}-${PORTVERSION}
+DISTFILES= ${DISTFILE_SRC} ${DISTFILE_PATCH}
+EXTRACT_ONLY= ${DISTFILE_SRC}
MAINTAINER= Jan.Stocker@t-online.de
COMMENT= Z-Interpreter for X with full V6 support
@@ -18,9 +19,13 @@ LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png
NOT_FOR_ARCHS= sparc64
+USE_PERL5= yes
+USE_XLIB= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
+DISTFILE_SRC= ${PORTNAME}-1.0.1.tar.gz
+DISTFILE_PATCH= zoom-1.0.1-1.0.1a.patch
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
CONFIGURE_ENV= CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
@@ -28,4 +33,9 @@ CONFIGURE_ENV= CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
MAKE_ENV= ${CONFIGURE_ENV}
+post-extract:
+ ${MV} ${WRKDIR}/${PORTNAME}-1.0.1 ${WRKSRC}
+ @cd ${WRKDIR} && \
+ ${PATCH} < ${DISTDIR}/${DISTFILE_PATCH}
+
.include <bsd.port.mk>
diff --git a/games/zoom/distinfo b/games/zoom/distinfo
index b12164044988..cb21e7f506f6 100644
--- a/games/zoom/distinfo
+++ b/games/zoom/distinfo
@@ -1 +1,2 @@
MD5 (zoom-1.0.1.tar.gz) = 94c1a4a485d27391f04a1a608dbaceee
+MD5 (zoom-1.0.1-1.0.1a.patch) = 937e2d978c1c6b16464e243373fe5c7e