summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorSatoshi Asami <asami@FreeBSD.org>1995-03-25 04:30:54 +0000
committerSatoshi Asami <asami@FreeBSD.org>1995-03-25 04:30:54 +0000
commitb7bb39814db29f77a6ac0c8af5497ad2741bdeb0 (patch)
tree167a85931aef51b6d5875253a023a83d542ebf3e /games
parentcontents changed, name not changed (diff)
Don't uudecode if the .tar.gz file is already there.
Pointed-out by: Anthony Chan <yeehang@netcom.com>
Notes
Notes: svn path=/head/; revision=1198
Diffstat (limited to 'games')
-rw-r--r--games/xemeraldia/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/games/xemeraldia/Makefile b/games/xemeraldia/Makefile
index 4f6ac5ec7afe..fbe18342ae5e 100644
--- a/games/xemeraldia/Makefile
+++ b/games/xemeraldia/Makefile
@@ -19,7 +19,10 @@ extract: fetch ${EXTRACT_COOKIE}
${EXTRACT_COOKIE}:
@${MAKE} ${.MAKEFLAGS} checksum pre-extract
@echo "===> Extracting for ${DISTNAME}"
- @(cd ${DISTDIR}; zcat ${DISTFILES} | uudecode)
+ @(cd ${DISTDIR}; \
+ if [ ! -f ${DISTNAME}.tar.gz ]; then \
+ zcat ${DISTFILES} | uudecode; \
+ fi)
@rm -rf ${WRKDIR}
@mkdir -p ${WRKDIR}
@(cd ${WRKDIR}; tar -xzf \