diff options
author | knu <knu@FreeBSD.org> | 2002-01-29 10:34:23 +0000 |
---|---|---|
committer | knu <knu@FreeBSD.org> | 2002-01-29 10:34:23 +0000 |
commit | fdab120e8f7f5dc349cb1887034af51fe4834d3c (patch) | |
tree | 5ad72b52c789f91d654888bd06c860a242d912d6 /editors/vim5 | |
parent | 683084ba5b0a2fbaac959371c452814420e77ba6 (diff) | |
download | FreeBSD-ports-fdab120e8f7f5dc349cb1887034af51fe4834d3c.zip FreeBSD-ports-fdab120e8f7f5dc349cb1887034af51fe4834d3c.tar.gz |
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 'editors/vim5')
-rw-r--r-- | editors/vim5/Makefile | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/editors/vim5/Makefile b/editors/vim5/Makefile index 11ca6e4..72f47b3 100644 --- a/editors/vim5/Makefile +++ b/editors/vim5/Makefile @@ -90,22 +90,22 @@ pre-build: post-install: [ -e ${PREFIX}/bin/gvim ] || (cd ${PREFIX}/bin ; ${LN} -s vim gvim) # below needed for `vim-lite' port - test -e ${PREFIX}/bin/rgvim || (cd ${PREFIX}/bin ; ${LN} -s vim rgvim) - test -e ${PREFIX}/bin/gview || (cd ${PREFIX}/bin ; ${LN} -s vim gview) - test -e ${PREFIX}/bin/rgview || (cd ${PREFIX}/bin ; ${LN} -s vim rgview) + ${TEST} -e ${PREFIX}/bin/rgvim || (cd ${PREFIX}/bin ; ${LN} -s vim rgvim) + ${TEST} -e ${PREFIX}/bin/gview || (cd ${PREFIX}/bin ; ${LN} -s vim gview) + ${TEST} -e ${PREFIX}/bin/rgview || (cd ${PREFIX}/bin ; ${LN} -s vim rgview) cd ${PREFIX} ;\ - find share/vim/${DISTNAME:S/-//:S/.//}/ -type f -o -type l \ + ${FIND} share/vim/${DISTNAME:S/-//:S/.//}/ -type f -o -type l \ | sort \ >${WRKDIR}/PLIST.share-vim cd ${PREFIX} ;\ - find share/vim/${DISTNAME:S/-//:S/.//}/ -type d \ + ${FIND} share/vim/${DISTNAME:S/-//:S/.//}/ -type d \ | sort -r | ${SED} -e 's/^/@dirrm /g' \ >>${WRKDIR}/PLIST.share-vim - ${ECHO} "r ${TMPPLIST}" > ${WRKDIR}/ex.script - ${ECHO} "/Insert PLIST.share-vim" >> ${WRKDIR}/ex.script - ${ECHO} "d" >> ${WRKDIR}/ex.script - ${ECHO} "r ${WRKDIR}/PLIST.share-vim" >> ${WRKDIR}/ex.script - ${ECHO} "x!" >> ${WRKDIR}/ex.script + ${ECHO_CMD} "r ${TMPPLIST}" > ${WRKDIR}/ex.script + ${ECHO_CMD} "/Insert PLIST.share-vim" >> ${WRKDIR}/ex.script + ${ECHO_CMD} "d" >> ${WRKDIR}/ex.script + ${ECHO_CMD} "r ${WRKDIR}/PLIST.share-vim" >> ${WRKDIR}/ex.script + ${ECHO_CMD} "x!" >> ${WRKDIR}/ex.script ${CP} -p ${TMPPLIST} ${TMPPLIST}.pre-share-vim cd ${WRKDIR} ; ex < ex.script |