aboutsummaryrefslogtreecommitdiffstats
path: root/editors
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2001-08-22 03:51:09 +0800
committerobrien <obrien@FreeBSD.org>2001-08-22 03:51:09 +0800
commitfd1ad973079f263f2d48599b0c4abedfaf7f4d59 (patch)
tree169ff2193bc2bbee7d2d3e7eaf9c210956a31744 /editors
parentb3f8207bc171f95d7c0ce51d4171c0051859cd16 (diff)
downloadfreebsd-ports-gnome-fd1ad973079f263f2d48599b0c4abedfaf7f4d59.tar.gz
freebsd-ports-gnome-fd1ad973079f263f2d48599b0c4abedfaf7f4d59.tar.zst
freebsd-ports-gnome-fd1ad973079f263f2d48599b0c4abedfaf7f4d59.zip
Support "lite" configurations.
Submitted by: Dirk Meyer <dirk.meyer@dinoex.sub.org>
Diffstat (limited to 'editors')
-rw-r--r--editors/vim/Makefile11
-rw-r--r--editors/vim/pkg-plist2
-rw-r--r--editors/vim6/Makefile11
-rw-r--r--editors/vim6/pkg-plist2
4 files changed, 20 insertions, 6 deletions
diff --git a/editors/vim/Makefile b/editors/vim/Makefile
index f0010053ef95..28258d3004ab 100644
--- a/editors/vim/Makefile
+++ b/editors/vim/Makefile
@@ -41,13 +41,14 @@ PATCH_DIST_ARGS= -d ${WRKDIR}/${PORTNAME}${PORTVERSION:S/.//g} --forward --quiet
MAKE_ARGS+= CONF_ARGS="--prefix=${PREFIX} --with-tlib=termlib"
ALL_TARGET= #
PLIST_SUB= VIM_VER=${DISTNAME:S/-//:S/.//}
-MAN1= eview.1 evim.1 gvimdiff.1 vim.1 vimdiff.1 vimtutor.1 xxd.1
+MAN1= evim.1 vim.1 vimdiff.1 vimtutor.1 xxd.1
MLINKS= vim.1 rvim.1 vim.1 rview.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
+MLINKS+= vim.1 gvim.1 vim.1 gview.1 vim.1 rgvim.1 vim.1 rgview.1 \
+ eview.1 gvimdiff.1
MAKE_ARGS+= CONF_OPT_MAX="--enable-max-features"
I18N= CONF_OPT_MULTIBYTE="--enable-multibyte --enable-fontset --enable-xim"
@@ -91,6 +92,12 @@ 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)
cd ${PREFIX} ;\
find share/vim/${DISTNAME:S/-//:S/.//}/ -type f -o -type l \
| sort \
diff --git a/editors/vim/pkg-plist b/editors/vim/pkg-plist
index 1f185db63226..e0047f3f4545 100644
--- a/editors/vim/pkg-plist
+++ b/editors/vim/pkg-plist
@@ -15,7 +15,7 @@ bin/rvim
bin/vimdiff
bin/gvimdiff
@comment bin/view
-@exec mkdir %D/share/vim/%%VIM_VER%%/lang
+@exec mkdir -p %D/share/vim/%%VIM_VER%%/lang
@comment Insert PLIST.share-vim here
@comment -=[ begin PLIST.share-vim ]=-
@comment -=[ end PLIST.share-vim ]=-
diff --git a/editors/vim6/Makefile b/editors/vim6/Makefile
index f0010053ef95..28258d3004ab 100644
--- a/editors/vim6/Makefile
+++ b/editors/vim6/Makefile
@@ -41,13 +41,14 @@ PATCH_DIST_ARGS= -d ${WRKDIR}/${PORTNAME}${PORTVERSION:S/.//g} --forward --quiet
MAKE_ARGS+= CONF_ARGS="--prefix=${PREFIX} --with-tlib=termlib"
ALL_TARGET= #
PLIST_SUB= VIM_VER=${DISTNAME:S/-//:S/.//}
-MAN1= eview.1 evim.1 gvimdiff.1 vim.1 vimdiff.1 vimtutor.1 xxd.1
+MAN1= evim.1 vim.1 vimdiff.1 vimtutor.1 xxd.1
MLINKS= vim.1 rvim.1 vim.1 rview.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
+MLINKS+= vim.1 gvim.1 vim.1 gview.1 vim.1 rgvim.1 vim.1 rgview.1 \
+ eview.1 gvimdiff.1
MAKE_ARGS+= CONF_OPT_MAX="--enable-max-features"
I18N= CONF_OPT_MULTIBYTE="--enable-multibyte --enable-fontset --enable-xim"
@@ -91,6 +92,12 @@ 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)
cd ${PREFIX} ;\
find share/vim/${DISTNAME:S/-//:S/.//}/ -type f -o -type l \
| sort \
diff --git a/editors/vim6/pkg-plist b/editors/vim6/pkg-plist
index 1f185db63226..e0047f3f4545 100644
--- a/editors/vim6/pkg-plist
+++ b/editors/vim6/pkg-plist
@@ -15,7 +15,7 @@ bin/rvim
bin/vimdiff
bin/gvimdiff
@comment bin/view
-@exec mkdir %D/share/vim/%%VIM_VER%%/lang
+@exec mkdir -p %D/share/vim/%%VIM_VER%%/lang
@comment Insert PLIST.share-vim here
@comment -=[ begin PLIST.share-vim ]=-
@comment -=[ end PLIST.share-vim ]=-