diff options
author | obrien <obrien@FreeBSD.org> | 1999-07-15 20:15:40 +0800 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 1999-07-15 20:15:40 +0800 |
commit | 32ebe7b38655c5e5d470306463b57069f55622ac (patch) | |
tree | ea6c43c45f25011369177dc432c6352ac0d457e3 /editors/vim5 | |
parent | 34aa0f1a32799efd11268c6e34ea2b067a6d2eb7 (diff) | |
download | freebsd-ports-gnome-32ebe7b38655c5e5d470306463b57069f55622ac.tar.gz freebsd-ports-gnome-32ebe7b38655c5e5d470306463b57069f55622ac.tar.zst freebsd-ports-gnome-32ebe7b38655c5e5d470306463b57069f55622ac.zip |
Don't install links to GUI versions, nor their man pages.
Suggested by: Nick Hibma <nick.hibma@jrc.it>
Diffstat (limited to 'editors/vim5')
-rw-r--r-- | editors/vim5/Makefile | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/editors/vim5/Makefile b/editors/vim5/Makefile index 0c043f477da1..fede796dad87 100644 --- a/editors/vim5/Makefile +++ b/editors/vim5/Makefile @@ -4,7 +4,7 @@ # Date created: Sat June 29, 1996 # Whom: David O'Brien (obrien@cs.ucdavis.edu) # -# $Id: Makefile,v 1.38 1999/04/29 02:39:24 obrien Exp $ +# $Id: Makefile,v 1.39 1999/07/14 18:45:19 obrien Exp $ # DISTNAME= vim-5.3 @@ -32,10 +32,11 @@ PATCH_DIST_ARGS= -d ${WRKDIR}/${DISTNAME} --forward --quiet -E ${PATCH_DIST_STRI MAKE_FLAGS= CONF_ARGS="--prefix=${PREFIX} --with-tlib=termlib" -f ALL_TARGET= # MAN1= vim.1 xxd.1 ectags.1 -MLINKS= vim.1 gvim.1 vim.1 gview.1 \ - vim.1 rgvim.1 vim.1 rgview.1 vim.1 rvim.1 vim.1 rview.1 +MLINKS= vim.1 rvim.1 vim.1 rview.1 .if !defined(LITE) +MLINKS+= vim.1 gvim.1 vim.1 gview.1 vim.1 rgvim.1 vim.1 rgview.1 + MAKE_FLAGS:= CONF_OPT_MAX="--enable-max-features" ${MAKE_FLAGS} .if defined(HAVE_MOTIF) @@ -50,6 +51,7 @@ MAKE_FLAGS:= CONF_OPT_PERL="--enable-perlinterp --enable-tclinterp --enable-csco .endif .else # LITE +PLIST= ${WRKDIR}/PLIST.nogui MAKE_FLAGS:= CONF_OPT_MAX="--enable-min-features" ${MAKE_FLAGS} MAKE_FLAGS:= CONF_OPT_GUI="--enable-gui=no --without-x" ${MAKE_FLAGS} MAKE_FLAGS:= CONF_OPT_PERL="--disable-perlinterp --disable-tclinterp" ${MAKE_FLAGS} @@ -57,9 +59,12 @@ MAKE_FLAGS:= CONF_OPT_PERL="--disable-perlinterp --disable-tclinterp" ${MAKE_FLA pre-build: @(cd ${WRKSRC}; ${MAKE} distclean) + @${SED} -e '/gvi/d' ${PKGDIR}/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 @${LN} -sf ${PREFIX}/man/man1/ectags.1.gz ${PREFIX}/man/man1/etags.1.gz |