diff options
author | David E. O'Brien <obrien@FreeBSD.org> | 2001-08-21 19:51:09 +0000 |
---|---|---|
committer | David E. O'Brien <obrien@FreeBSD.org> | 2001-08-21 19:51:09 +0000 |
commit | 7a9327d5070562b78cfc3a1e040f87fd7bd4fc00 (patch) | |
tree | 51b1e74703f2fea0755aacea74314245a0236673 /editors/vim6 | |
parent | 23b158aafd6b7d6cd308108cb1dd3743c1f427f2 (diff) | |
download | ports-7a9327d5070562b78cfc3a1e040f87fd7bd4fc00.tar.gz ports-7a9327d5070562b78cfc3a1e040f87fd7bd4fc00.zip |
Support "lite" configurations.
Submitted by: Dirk Meyer <dirk.meyer@dinoex.sub.org>
Notes
Notes:
svn path=/head/; revision=46611
Diffstat (limited to 'editors/vim6')
-rw-r--r-- | editors/vim6/Makefile | 11 | ||||
-rw-r--r-- | editors/vim6/pkg-plist | 2 |
2 files changed, 10 insertions, 3 deletions
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 ]=- |