diff options
author | knu <knu@FreeBSD.org> | 2002-01-29 18:53:27 +0800 |
---|---|---|
committer | knu <knu@FreeBSD.org> | 2002-01-29 18:53:27 +0800 |
commit | f98ba07b23b24f1d3d3aaa3f41d107f35602d1e1 (patch) | |
tree | 0374d55450aad7c24b92569982b2b7a7c895ca7a /games/doom | |
parent | fdab120e8f7f5dc349cb1887034af51fe4834d3c (diff) | |
download | freebsd-ports-graphics-f98ba07b23b24f1d3d3aaa3f41d107f35602d1e1.tar.gz freebsd-ports-graphics-f98ba07b23b24f1d3d3aaa3f41d107f35602d1e1.tar.zst freebsd-ports-graphics-f98ba07b23b24f1d3d3aaa3f41d107f35602d1e1.zip |
Use ${ECHO_CMD} instead of ${ECHO} where you mean the echo command;
the ECHO macro is set to "echo" by default, but it is set to "true" if
make(1) is invoked with the -s option while ECHO_CMD is always set to
the echo command.
Use command macros where appropriate.
Diffstat (limited to 'games/doom')
-rw-r--r-- | games/doom/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/games/doom/Makefile b/games/doom/Makefile index 6137f0b5e22..92d4bdd0740 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 |