summaryrefslogtreecommitdiffstats
path: root/editors
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>1999-07-15 12:15:40 +0000
committerobrien <obrien@FreeBSD.org>1999-07-15 12:15:40 +0000
commit32ebe7b38655c5e5d470306463b57069f55622ac (patch)
treeea6c43c45f25011369177dc432c6352ac0d457e3 /editors
parent34aa0f1a32799efd11268c6e34ea2b067a6d2eb7 (diff)
downloadFreeBSD-ports-32ebe7b38655c5e5d470306463b57069f55622ac.zip
FreeBSD-ports-32ebe7b38655c5e5d470306463b57069f55622ac.tar.gz
Don't install links to GUI versions, nor their man pages.
Suggested by: Nick Hibma <nick.hibma@jrc.it>
Diffstat (limited to 'editors')
-rw-r--r--editors/vim/Makefile11
-rw-r--r--editors/vim5/Makefile11
-rw-r--r--editors/vim6/Makefile11
3 files changed, 24 insertions, 9 deletions
diff --git a/editors/vim/Makefile b/editors/vim/Makefile
index 0c043f4..fede796 100644
--- a/editors/vim/Makefile
+++ b/editors/vim/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
diff --git a/editors/vim5/Makefile b/editors/vim5/Makefile
index 0c043f4..fede796 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
diff --git a/editors/vim6/Makefile b/editors/vim6/Makefile
index 0c043f4..fede796 100644
--- a/editors/vim6/Makefile
+++ b/editors/vim6/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
OpenPOWER on IntegriCloud