editors/vim installs to /

David O'Brien obrien at freebsd.org
Sat Sep 18 22:39:34 UTC 2010


On Fri, Sep 17, 2010 at 09:21:46PM +0200, David DEMELIER wrote:
> I'm writing the rewrite of the port to update vim to 7.3 and with a
> real OPTIONS framework and remove the stupid WITH_VIM_OPTIONS KNOB
> that doesn't work.  The problem is that David doesn't like clean things
> and I think he won't commit it because it won't be enough complicated.

No I won't commit it - I do like clean things I don't find OPTIONS to be
sufficiently clean.  So please don't waste your time and mine.  If you
have improvements (other than removing WITH_VIM_OPTIONS), please do send
those in.

BTW, here is one patch I am considering:

Index: options
===================================================================
RCS file: /home/ncvs/ports/editors/vim/options,v
retrieving revision 1.4
diff -u -p -r1.4 options
--- options	29 Dec 2009 08:46:57 -0000	1.4
+++ options	18 Sep 2010 22:37:14 -0000
@@ -13,3 +13,25 @@ OPTIONS=	PERL "Enable Perl interpreter" 
 		GTK2 "GTK2 GUI" off \
 		GNOME "Gnome1 GUI" off \
 		MOTIF "Motif GUI" off \
+
+pretty-print-options:
+	@${ECHO_CMD} "====================  Vim Options  ==================="
+	@${ECHO_CMD} "Features:"
+	@${ECHO_CMD} "  Define WITH_LITE to build the \"lite\" version."
+	@${ECHO_CMD} "  Define WITH_CSCOPE to build with cscope support."
+	@${ECHO_CMD} "  Define EXUBERANT_CTAGS to use exctags."
+	@${ECHO_CMD} "  Define WITH_PERL to build with Perl support."
+	@${ECHO_CMD} "  Define WITH_PYTHON to build with Python support."
+	@${ECHO_CMD} "  Define WITH_RUBY to build with Ruby support."
+	@${ECHO_CMD} "  Define WITH_TCL to build with TCL support."
+	@${ECHO_CMD}
+	@${ECHO_CMD} "Graphical User Interface (GUI):"
+	@${ECHO_CMD} "  Define WITHOUT_X11 to build without GUI support."
+	@${ECHO_CMD} "  Define X11_ONLY to build curses-only Vim, but with basic X11 support."
+	@${ECHO_CMD} "  Define XTERM_SAVE to restore xterm screen after exit."
+	@${ECHO_CMD} "  Define WITH_ATHENA to build with Athena support."
+	@${ECHO_CMD} "  Define WITH_MOTIF to build with Motif support."
+	@${ECHO_CMD} "  Define WITH_GTK to build with GTK support (default)."
+	@${ECHO_CMD} "  Define WITH_GTK2 to build with GTK2 support."
+	@${ECHO_CMD} "  Define WITH_GNOME to build with Gnome support."
+	@${ECHO_CMD} "======================================================"

-- 
-- David  (obrien at FreeBSD.org)


More information about the freebsd-ports mailing list