aboutsummaryrefslogtreecommitdiff
path: root/games/doom
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2002-01-29 10:53:27 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2002-01-29 10:53:27 +0000
commitbc07afc1c299155a3451d285f1e3c862af0c8e83 (patch)
tree1fecad8c5762f1c1f723e927775d4b37b5a0f7d9 /games/doom
parent5406488640c9d4292c7a5349facb9e09d7fb04dc (diff)
downloadports-bc07afc1c299155a3451d285f1e3c862af0c8e83.tar.gz
ports-bc07afc1c299155a3451d285f1e3c862af0c8e83.zip
Notes
Diffstat (limited to 'games/doom')
-rw-r--r--games/doom/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/games/doom/Makefile b/games/doom/Makefile
index 6137f0b5e226..92d4bdd0740c 100644
--- a/games/doom/Makefile
+++ b/games/doom/Makefile
@@ -36,7 +36,7 @@ do-fetch:
DISTFILES="${DISTFILES2}" MASTER_SITES="${MASTER_SITES2}"
.endif
post-extract:
- @cd ${WRKDIR} && tar xzf linuxdoom-1.10.src.tgz && tar xzf sndserv.tgz
+ @cd ${WRKDIR} && ${TAR} xzf linuxdoom-1.10.src.tgz && ${TAR} xzf sndserv.tgz
post-patch:
@${FIND} ${WRKSRC} -type f | ${XARGS} ${PERL} -pi -e "s@#include +<malloc.h>@#include <stdlib.h>@g"
@@ -49,8 +49,8 @@ do-install:
@${MKDIR} ${PREFIX}/libexec/doom ${PREFIX}/share/doom
@${INSTALL_PROGRAM} ${WRKDIR}/linuxdoom-1.10/linux/linuxxdoom ${PREFIX}/libexec/doom/xdoom
@${INSTALL_PROGRAM} ${WRKDIR}/sndserv/linux/sndserver ${PREFIX}/libexec/doom/sndserver
- @(${ECHO} "#!/bin/sh"; ${ECHO} "cd ${PREFIX}/libexec/doom"; \
- ${ECHO} 'export PATH=.:$$PATH';${ECHO} "export DOOMWADDIR=${PREFIX}/share/doom"; ${ECHO} "./xdoom $$*") > ${PREFIX}/bin/doom
+ @(${ECHO_CMD} "#!/bin/sh"; ${ECHO_CMD} "cd ${PREFIX}/libexec/doom"; \
+ ${ECHO_CMD} 'export PATH=.:$$PATH';${ECHO_CMD} "export DOOMWADDIR=${PREFIX}/share/doom"; ${ECHO_CMD} "./xdoom $$*") > ${PREFIX}/bin/doom
@${CHMOD} ugo+x ${PREFIX}/bin/doom
@${GZCAT} ${DISTDIR}/${DISTFILES2} > ${PREFIX}/share/doom/doom1.wad