diff options
author | obrien <obrien@FreeBSD.org> | 2001-08-22 03:51:09 +0800 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2001-08-22 03:51:09 +0800 |
commit | fd1ad973079f263f2d48599b0c4abedfaf7f4d59 (patch) | |
tree | 169ff2193bc2bbee7d2d3e7eaf9c210956a31744 /editors | |
parent | b3f8207bc171f95d7c0ce51d4171c0051859cd16 (diff) | |
download | freebsd-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/Makefile | 11 | ||||
-rw-r--r-- | editors/vim/pkg-plist | 2 | ||||
-rw-r--r-- | editors/vim6/Makefile | 11 | ||||
-rw-r--r-- | editors/vim6/pkg-plist | 2 |
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 ]=- |