diff options
Diffstat (limited to 'games')
-rw-r--r-- | games/xemeraldia/Makefile | 5 |
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 \ |