aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--games/golddig/Makefile15
1 files changed, 11 insertions, 4 deletions
diff --git a/games/golddig/Makefile b/games/golddig/Makefile
index 6e299c1a839b..ab085ec5870d 100644
--- a/games/golddig/Makefile
+++ b/games/golddig/Makefile
@@ -1,7 +1,14 @@
-DISTNAME= golddig
-DISTFILES= golddig2.tar.z
-MASTER_SITES= ftp://ss7.vlsi.ee.nus.sg/pub/games/X/
-NO_WRKSUBDIR= yes
+DISTNAME= golddig2
+MASTER_SITES= ftp://qiclab.scn.rain.com/pub/games/
+EXTRACT_SUFX= .tar.Z
+
+MAINTAINER= jmz@FreeBSD.org
+
+
+pre-patch:
+ @(cd ${WRKSRC}; for i in 245 244 246 247; do \
+ awk '{if (/^#!/) x++} {if(x) print $$0'} $$i| /bin/sh; \
+ done; mv golddig2/* .)
pre-install:
@mkdir -p ${PREFIX}/bin