aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2001-02-15 12:12:43 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2001-02-15 12:12:43 +0000
commite6ca1f4e0b04fe868e8d83df647f6d3903a46381 (patch)
tree7a66cec9db0a2d383c8fa8ba6b02f11081ea4873
parent7b495c94cf43bd818c2acb4528c82179133d056b (diff)
downloadports-e6ca1f4e0b04fe868e8d83df647f6d3903a46381.tar.gz
ports-e6ca1f4e0b04fe868e8d83df647f6d3903a46381.zip
Notes
-rw-r--r--editors/vim/Makefile6
-rw-r--r--editors/vim5/Makefile4
-rw-r--r--editors/vim6/Makefile6
3 files changed, 3 insertions, 13 deletions
diff --git a/editors/vim/Makefile b/editors/vim/Makefile
index 77e0d1fd9374..3483f05c4ce5 100644
--- a/editors/vim/Makefile
+++ b/editors/vim/Makefile
@@ -67,18 +67,14 @@ MAKE_ARGS+= CONF_OPT_PERL="--enable-perlinterp --enable-pythoninterp --enable-tc
.endif
.else # LITE
-PLIST= ${WRKDIR}/PLIST.nogui
MAKE_ARGS+= CONF_OPT_GUI="--enable-gui=no --without-x"
MAKE_ARGS+= CONF_OPT_PERL="--disable-perlinterp --disable-pythoninterp --disable-tclinterp"
.endif # LITE
pre-build:
@(cd ${WRKSRC}; ${MAKE} distclean)
- @${SED} -e '/gvi/d' ${PKGDIR}/pkg-plist > ${WRKDIR}/PLIST.nogui
post-install:
-.if !defined(LITE)
- [ -e ${PREFIX}/bin/gvim ] || ${LN} -s ${PREFIX}/bin/vim ${PREFIX}/bin/gvim
-.endif
+ [ -e ${PREFIX}/bin/gvim ] || (cd ${PREFIX}/bin ; ${LN} -s vim gvim)
.include <bsd.port.post.mk>
diff --git a/editors/vim5/Makefile b/editors/vim5/Makefile
index 0a838cf723af..b292cb87e7b7 100644
--- a/editors/vim5/Makefile
+++ b/editors/vim5/Makefile
@@ -67,17 +67,15 @@ MAKE_ARGS+= CONF_OPT_PERL="--enable-perlinterp --enable-pythoninterp --enable-tc
.endif
.else # LITE
-PLIST= ${WRKDIR}/PLIST.nogui
MAKE_ARGS+= CONF_OPT_GUI="--enable-gui=no --without-x"
MAKE_ARGS+= CONF_OPT_PERL="--disable-perlinterp --disable-pythoninterp --disable-tclinterp"
.endif # LITE
pre-build:
@(cd ${WRKSRC}; ${MAKE} distclean)
- @${SED} -e '/gvi/d' ${PKGDIR}/pkg-plist > ${WRKDIR}/PLIST.nogui
post-install:
- [ -e ${PREFIX}/bin/gvim ] || ${LN} -s ${PREFIX}/bin/vim ${PREFIX}/bin/gvim
+ [ -e ${PREFIX}/bin/gvim ] || (cd ${PREFIX}/bin ; ${LN} -s vim gvim)
@${RM} -f ${PREFIX}/man/man1/etags.1
@${MV} ${PREFIX}/man/man1/ctags.1 ${PREFIX}/man/man1/ectags.1
diff --git a/editors/vim6/Makefile b/editors/vim6/Makefile
index 77e0d1fd9374..3483f05c4ce5 100644
--- a/editors/vim6/Makefile
+++ b/editors/vim6/Makefile
@@ -67,18 +67,14 @@ MAKE_ARGS+= CONF_OPT_PERL="--enable-perlinterp --enable-pythoninterp --enable-tc
.endif
.else # LITE
-PLIST= ${WRKDIR}/PLIST.nogui
MAKE_ARGS+= CONF_OPT_GUI="--enable-gui=no --without-x"
MAKE_ARGS+= CONF_OPT_PERL="--disable-perlinterp --disable-pythoninterp --disable-tclinterp"
.endif # LITE
pre-build:
@(cd ${WRKSRC}; ${MAKE} distclean)
- @${SED} -e '/gvi/d' ${PKGDIR}/pkg-plist > ${WRKDIR}/PLIST.nogui
post-install:
-.if !defined(LITE)
- [ -e ${PREFIX}/bin/gvim ] || ${LN} -s ${PREFIX}/bin/vim ${PREFIX}/bin/gvim
-.endif
+ [ -e ${PREFIX}/bin/gvim ] || (cd ${PREFIX}/bin ; ${LN} -s vim gvim)
.include <bsd.port.post.mk>