diff options
author | Akinori MUSHA <knu@FreeBSD.org> | 2002-01-29 10:34:23 +0000 |
---|---|---|
committer | Akinori MUSHA <knu@FreeBSD.org> | 2002-01-29 10:34:23 +0000 |
commit | 5406488640c9d4292c7a5349facb9e09d7fb04dc (patch) | |
tree | 315682ed881cd935b54d89a2f4bd722649e9d38c /editors/vim | |
parent | Use ${ECHO_CMD} instead of ${ECHO} where you mean the echo command; (diff) |
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/vim')
-rw-r--r-- | editors/vim/Makefile | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/editors/vim/Makefile b/editors/vim/Makefile index 7848ed806468..a58b93a1f181 100644 --- a/editors/vim/Makefile +++ b/editors/vim/Makefile @@ -111,27 +111,27 @@ pre-build: post-install: [ -e ${PREFIX}/bin/gvim ] || (cd ${PREFIX}/bin ; ${LN} -sf 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/evim || (cd ${PREFIX}/bin ; ${LN} -s vim evim) - test -e ${PREFIX}/bin/eview || (cd ${PREFIX}/bin ; ${LN} -s vim eview) - test -e ${PREFIX}/bin/gvimdiff \ + ${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/evim || (cd ${PREFIX}/bin ; ${LN} -s vim evim) + ${TEST} -e ${PREFIX}/bin/eview || (cd ${PREFIX}/bin ; ${LN} -s vim eview) + ${TEST} -e ${PREFIX}/bin/gvimdiff \ || (cd ${PREFIX}/bin ; ${LN} -s vim gvimdiff) ${INSTALL_DATA} ${FILESDIR}/vietnamese_viscii.vim ${DATADIR}/keymap 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 |