aboutsummaryrefslogtreecommitdiff
path: root/editors/vim5
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2002-01-29 10:34:23 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2002-01-29 10:34:23 +0000
commit5406488640c9d4292c7a5349facb9e09d7fb04dc (patch)
tree315682ed881cd935b54d89a2f4bd722649e9d38c /editors/vim5
parent32c83edfbcce207c560685385be28ffc02faad2c (diff)
downloadports-5406488640c9d4292c7a5349facb9e09d7fb04dc.tar.gz
ports-5406488640c9d4292c7a5349facb9e09d7fb04dc.zip
Notes
Diffstat (limited to 'editors/vim5')
-rw-r--r--editors/vim5/Makefile20
1 files changed, 10 insertions, 10 deletions
diff --git a/editors/vim5/Makefile b/editors/vim5/Makefile
index 11ca6e45cb0f..72f47b386033 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