aboutsummaryrefslogtreecommitdiffstats
path: root/editors/vim5/Makefile
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2000-11-11 13:23:54 +0800
committerobrien <obrien@FreeBSD.org>2000-11-11 13:23:54 +0800
commitc93e5a4fd8750f7a981de05235b8cb190831d35e (patch)
treeb2c8d922ef1d381ab92c2aefbb1f3175690a404a /editors/vim5/Makefile
parentc932beba47ae7766246038acdfa99425ea9bf3d0 (diff)
downloadfreebsd-ports-graphics-c93e5a4fd8750f7a981de05235b8cb190831d35e.tar.gz
freebsd-ports-graphics-c93e5a4fd8750f7a981de05235b8cb190831d35e.tar.zst
freebsd-ports-graphics-c93e5a4fd8750f7a981de05235b8cb190831d35e.zip
Go ahead and install the `gvim' links, otherwise the `vim-lite' port does
not deinstall properly. A `vim-lite' port user will be told that graphical support was not compiled in if they try to run `gvim', so no harm done. PR: 19539 Submitted by: Ying-Chieh Chen <yinjieh@Crazyman.Dorm13.NCTU.edu.tw>
Diffstat (limited to 'editors/vim5/Makefile')
-rw-r--r--editors/vim5/Makefile5
1 files changed, 1 insertions, 4 deletions
diff --git a/editors/vim5/Makefile b/editors/vim5/Makefile
index bdfb3d442da..22a01606219 100644
--- a/editors/vim5/Makefile
+++ b/editors/vim5/Makefile
@@ -44,12 +44,11 @@ ALL_TARGET= #
PLIST_SUB= VIM_VER=${DISTNAME:S/-//:S/.//}
MAN1= vim.1 vimtutor.1 xxd.1 ectags.1
MLINKS= vim.1 rvim.1 vim.1 rview.1 ectags.1 etags.1
+MLINKS+= vim.1 gvim.1 vim.1 gview.1 vim.1 rgvim.1 vim.1 rgview.1
.include <bsd.port.pre.mk>
.if !defined(LITE)
-MLINKS+= vim.1 gvim.1 vim.1 gview.1 vim.1 rgvim.1 vim.1 rgview.1
-
MAKE_ARGS+= X_LIBS=-lxpg4 CONF_OPT_MAX="--enable-max-features"
.if defined(WITH_GTK)
@@ -77,9 +76,7 @@ pre-build:
@${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
@${RM} -f ${PREFIX}/man/man1/etags.1
@${MV} ${PREFIX}/man/man1/ctags.1 ${PREFIX}/man/man1/ectags.1