From 5c52f69437484a49d83cd5b95efdb6313483dbd3 Mon Sep 17 00:00:00 2001 From: Jean-Marc Zucconi Date: Wed, 29 Mar 1995 23:58:56 +0000 Subject: Change the master site and add a pre-patch target (the tar file contains shar archives) Add myself as maintainer. --- games/golddig/Makefile | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) (limited to 'games/golddig') 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 -- cgit v1.2.3