Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Attempt to fix editors/vim on 10.x

  • Loading branch information...
commit dc908548c32a2d31e3c438aaef53465aee23ea07 1 parent d9a71b8
Kris Moore kmoore134 authored
4 build-files/conf/port-make.conf
View
@@ -127,7 +127,3 @@ dovecot_SET=MYSQL PGSQL SQLITE LDAP
# Add some default options to postfix
postfix_SET=MYSQL TLS
-
-# Enable GUI for VIM
-vim_SET=GTK2
-vim-lite_SET=GTK2
308 build-files/ports-overlay/editors/vim/Makefile
View
@@ -0,0 +1,308 @@
+# Created by: David O'Brien <obrien@cs.ucdavis.edu>
+# $FreeBSD: editors/vim/Makefile 328318 2013-09-25 21:16:43Z obrien $
+
+PORTNAME?= vim
+# ! _NEVER_ reduce or lower PATCHLEVEL, even if the PATCHLEVEL
+# ! value # is added to BADPATCHES. Doing otherwise will cause
+# ! PORTEPOCH to be needed, which we do NOT want.
+#
+# ! DO NOT increase PATCHLEVEL to a patch listed in BADPATCHES.
+# ! Doing so is dis-genuine. It implies we're at a level we are
+# ! not. The "PATCHLEVEL" patch needs to apply before bumping
+# ! PATCHLEVEL to that level.
+PATCHLEVEL= 1314
+PORTVERSION= 7.3.${PATCHLEVEL}
+RELEASE= vim-${PORTVERSION:C/\.[0-9a-z]*$//}
+PORTREVISION?= 0
+CATEGORIES?= editors
+MASTER_SITES= ${MASTER_SITE_VIM}
+DISTFILES= ${RELEASE}${EXTRACT_SUFX}
+
+PATCH_SITES= ${MASTER_SITES:S|unix|patches/${PORTVERSION:C/\.[0-9a-z]*$//}|}\
+ ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/obrien/:local
+PATCHFILES!= /usr/bin/jot -s " " -w ${PORTVERSION:C/\.[0-9]*$//}.%03d \
+ ${PATCHLEVEL} 1 ${PATCHLEVEL}
+# bits to remove
+BADPATCHES= 527 780 796 873 890 1104 1111
+.for p in ${BADPATCHES}
+PATCHFILES:= ${PATCHFILES:N7.3.${p}}
+.endfor
+
+MAINTAINER?= obrien@FreeBSD.org
+COMMENT?= Vi "workalike", with many additional features
+
+WITH_GCC= 4.2
+SLAVEDIRS= editors/vim-lite
+NO_STAGE= yes
+
+.if !defined(LITE)
+.if defined(WITH_OPTIONS) || defined(WITH_VIM_OPTIONS)
+.include "${.CURDIR}/../vim/options"
+OPTIONS_DEFAULT+= CSCOPE EXUBERANT_CTAGS PERL PYTHON RUBY \
+ TCL LUA X11 GTK2
+.else
+VIM_PORT_SCRIPT_LANGS?= LUA PERL PYTHON RUBY TCL
+VIM_PORT_OPTIONS= CSCOPE DOCS EXAMPLES EXUBERANT_CTAGS \
+ ${VIM_PORT_SCRIPT_LANGS}
+PORT_OPTIONS?= ${VIM_PORT_OPTIONS}
+.endif
+.endif
+
+.include <bsd.port.options.mk>
+
+CONFLICTS= vim6* vim*-gnome
+.if defined(LITE)
+CONFLICTS+= vim*
+.else
+CONFLICTS+= vim*-lite
+.endif
+
+MAKE_JOBS_UNSAFE= yes
+USE_BZIP2= yes
+DIST_SUBDIR= vim
+WRKSRC= ${WRKDIR}/vim${PORTVERSION:C/\.[0-9]*$//:S/.//g}/src
+PATCH_DIST_ARGS= -d ${WRKSRC:S/src$//} --batch --forward --quiet -E ${PATCH_DIST_STRIP}
+# consider
+#PATCH_DIST_ARGS= -t
+REINPLACE_ARGS= -i ""
+MAKE_ARGS+= CONF_ARGS="--prefix=${PREFIX} --with-tlib=termlib ${CSCOPE_ARG}"
+ALL_TARGET= #
+_DATADIR= ${RELEASE:S/-//g:S/.//g}
+DATADIR= ${PREFIX}/share/vim/${_DATADIR}
+PLIST_SUB= VIM_VER=${_DATADIR}
+MAN1= evim.1 vim.1 vimdiff.1 vimtutor.1 xxd.1
+MLINKS= vim.1 rvim.1 vim.1 rview.1
+.if !defined(LITE)
+MLINKS+= vim.1 gvim.1 vim.1 gview.1 vimdiff.1 gvimdiff.1 \
+ vim.1 rgvim.1 vim.1 rgview.1 evim.1 eview.1
+.endif
+
+.if ${PORT_OPTIONS:MNLS}
+MANLANG= "" ru.KOI8-R ru.UTF-8 pl.ISO8859-2 pl.UTF-8 pl fr.ISO8859-1 \
+ fr.UTF-8 fr it.ISO8859-1 it.UTF-8 it
+USES+= gettext
+PLIST_SUB+= NLS=""
+.else
+MAKE_ARGS+= CONF_OPT_NLS="--disable-nls"
+PLIST_SUB+= NLS="@comment "
+.endif
+
+.if ${PORT_OPTIONS:MPYTHON}
+USE_PYTHON= yes
+MAKE_ARGS+= CONF_OPT_PYTHON="--enable-pythoninterp"
+.endif
+
+.if ${PORT_OPTIONS:MRUBY}
+USE_RUBY= yes
+MAKE_ARGS+= CONF_OPT_RUBY="--enable-rubyinterp"
+.endif
+
+.if ${PORT_OPTIONS:MTCL}
+USE_TCL= 85+
+MAKE_ARGS+= CONF_OPT_TCL="--enable-tclinterp --with-tclsh="${TCLSH:S/${LOCALBASE}\/bin\///g}""
+.endif
+
+.if ${PORT_OPTIONS:MLUA}
+USE_LUA= yes
+MAKE_ARGS+= CONF_OPT_LUA="--enable-luainterp=dynamic"
+MAKE_ARGS+= CONF_OPT_LUA_PREFIX="--with-lua-prefix=${LOCALBASE}"
+.endif
+
+.if ${PORT_OPTIONS:MPERL}
+USES= perl5
+MAKE_ARGS+= CONF_OPT_PERL="--enable-perlinterp"
+.endif
+
+WANT_GNOME= yes
+
+.if defined(LITE)
+PKGNAMESUFFIX= -lite
+CONF_OPT_GUI="--enable-gui=no --without-x --enable-multibyte"
+MAKE_ARGS+= CONF_OPT_PERL="--disable-perlinterp --disable-pythoninterp --disable-tclinterp --disable-rubyinterp --disable-luainterp"
+.else # !LITE
+MAKE_ARGS+= CONF_OPT_FEAT="--with-features=big"
+I18N= CONF_OPT_MULTIBYTE="--enable-multibyte --enable-fontset --enable-xim"
+CONF_OPT_GUI="--enable-gui=no --without-x"
+.endif
+
+.if ${PORT_OPTIONS:MCSCOPE}
+RUN_DEPENDS+= cscope:${PORTSDIR}/devel/cscope
+MAKE_ARGS+= CONF_OPT_CSCOPE="--enable-cscope"
+.endif
+
+.if ${PORT_OPTIONS:MEXUBERANT_CTAGS}
+RUN_DEPENDS+= exctags:${PORTSDIR}/devel/ctags
+CTAGS_CMD= exctags -R .
+.else
+CTAGS_CMD= ${FIND} . -type f \\|${XARGS} ctags
+.endif
+
+.if ${PORT_OPTIONS:MX11}
+CONF_OPT_GUI="--enable-gui=no --with-x"
+
+. if ${PORT_OPTIONS:MATHENA}
+CONF_OPT_GUI="--enable-gui=athena"
+USE_XORG+= xaw
+. endif
+
+. if ${PORT_OPTIONS:MGTK2}
+USE_GNOME= gtk20
+CONF_OPT_GUI="--enable-gui=gtk2 --with-gtk-prefix=${LOCALBASE}"
+MAKE_ARGS+= X_LIBS="$(X_LIBS) -lXt"
+USE_XORG+= xt
+. endif
+
+. if ${PORT_OPTIONS:MGNOME}
+USE_GNOME= libgnomeui
+PKGNAMESUFFIX= -gnome2
+CONF_OPT_GUI="--enable-gui=gnome2"
+MAKE_ARGS+= X_LIBS="$(X_LIBS) -lXt"
+USE_XORG+= xt glproto
+. endif
+
+. if ${PORT_OPTIONS:MMOTIF}
+USES+= motif
+CONF_OPT_GUI="--enable-gui=motif --with-motif-lib=\"${MOTIFLIB}\""
+MAKE_ARGS+= MOTIFHOME=${LOCALBASE}
+. endif
+
+.endif
+MAKE_ARGS+= CONF_OPT_GUI=${CONF_OPT_GUI} ${I18N}
+
+
+.if exists(${LOCALBASE}/lib/libiconv.so)
+USES+= iconv
+.endif
+
+
+post-patch:
+ @(${FIND} ${WRKSRC}/../runtime/ -name menu\*.vim -print0 | ${XARGS} -0 \
+ ${REINPLACE_CMD} -e 's,ctags -R \.,${CTAGS_CMD},g')
+.if !defined(STRIP) || ${STRIP} == ""
+ ${REINPLACE_CMD} '/$$(STRIP)/d' ${WRKSRC}/Makefile
+.endif
+
+pre-configure:
+ @${CP} -pv ${WRKSRC}/config.mk.dist ${WRKSRC}/auto/config.mk
+ @(cd ${WRKSRC} ; ${MAKE} distclean)
+ @${REINPLACE_CMD} -e ' \
+ s|\$$gtk_config_prefix/bin/gtk-config|\$${GTK_CONFIG}|g; \
+ s|\$$gtk_config_exec_prefix/bin/gtk-config|\$${GTK_CONFIG}|g; \
+ s|/usr/local|${LOCALBASE}|g; \
+ s|set dummy lua;|set dummy lua-${LUA_VER};|g' \
+ ${WRKSRC}/auto/configure
+.if ${PORT_OPTIONS:MXTERM_SAVE}
+ @${REINPLACE_CMD} -e ' \
+ s|/\* #define FEAT_XTERM_SAVE \*/|#define FEAT_XTERM_SAVE|g' \
+ ${WRKSRC}/feature.h
+.endif
+
+post-configure:
+ @(cd ${WRKSRC} ; ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_ARGS} scratch config)
+ ${REINPLACE_CMD} -e 's@#define HAVE_SYSINFO 1@/* #undef HAVE_SYSINFO */@' ${WRKSRC}/auto/config.h
+
+# Clean up junk files to keep them from being installed.
+pre-install:
+ @${FIND} ${WRKSRC:H} -type f -name '*.orig' -delete
+
+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} -sf vim rgvim)
+ ${TEST} -e ${PREFIX}/bin/gview || (cd ${PREFIX}/bin ; ${LN} -sf vim gview)
+ ${TEST} -e ${PREFIX}/bin/rgview || (cd ${PREFIX}/bin ; ${LN} -sf vim rgview)
+ ${TEST} -e ${PREFIX}/bin/evim || (cd ${PREFIX}/bin ; ${LN} -sf vim evim)
+ ${TEST} -e ${PREFIX}/bin/eview || (cd ${PREFIX}/bin ; ${LN} -sf vim eview)
+ ${TEST} -e ${PREFIX}/bin/gvimdiff \
+ || (cd ${PREFIX}/bin ; ${LN} -sf vim gvimdiff)
+ ${TEST} -e ${PREFIX}/bin/gvimtutor \
+ || (cd ${PREFIX}/bin ; ${LN} -sf vimtutor gvimtutor)
+ ${INSTALL_DATA} ${FILESDIR}/vietnamese_viscii.vim ${DATADIR}/keymap
+ cd ${PREFIX} ; \
+ ${FIND} share/vim/${_DATADIR} -type f -o -type l \
+ | ${SORT} \
+ >${WRKDIR}/PLIST.share-vim
+ cd ${PREFIX} ; \
+ ${FIND} share/vim/${_DATADIR} -type d \
+ | ${SORT} -r | ${SED} -e 's/^/@dirrm /g' \
+ >>${WRKDIR}/PLIST.share-vim
+ ${ECHO_CMD} "r ${TMPPLIST}" > ${WRKDIR}/ex.script
+ ${ECHO_CMD} "/Insert PLIST.share-vim" >> ${WRKDIR}/ex.script
+ ${ECHO_CMD} "d" >> ${WRKDIR}/ex.script
+ ${ECHO_CMD} "r ${WRKDIR}/PLIST.share-vim" >> ${WRKDIR}/ex.script
+ ${ECHO_CMD} "x!" >> ${WRKDIR}/ex.script
+ ${CP} -p ${TMPPLIST} ${TMPPLIST}.pre-share-vim
+ cd ${WRKDIR} ; ex < ex.script
+
+show-options:
+ @${MAKE} -DWITH_OPTIONS showconfig
+ @${ECHO_CMD} ""
+ @${ECHO_CMD} "Put \"WITH_OPTIONS=yes\" -or- \"WITH_VIM_OPTIONS=yes\""
+ @${ECHO_CMD} "in your /etc/make.conf or /etc/ports.conf file to enable OPTIONS processing.
+
+.if defined(ONT_CHECKSUM)
+checksum:
+.endif
+
+cklatest: .PHONY
+ @${ECHO} -n "Currently at: "
+ @${MAKE} -V PATCHLEVEL
+ -(${SED} -i '' "s/^PATCHLEVEL=.*$$/PATCHLEVEL= `ncftpls \
+ ftp://ftp.vim.org/pub/vim/patches/${PORTVERSION:C/\.[0-9a-z]*$//}/ \
+ | grep "^${PORTVERSION:C/\.[0-9a-z]*$//}" \
+ | ${SED} -n -E -e 's/${PORTVERSION:C/[0-9]*$//}([0-9]+)$$/\1/p' \
+ | sort -n | ${TAIL} -1`/" Makefile)
+ @${ECHO} -n "Now at: "
+ @${MAKE} -V PATCHLEVEL
+
+find-bad-patches:
+ @cd ${DISTDIR} ; egrep -l \
+ '(src/if_(ole|mzsch)|src/gui_(w32|w48|mac)|src/os_(riscos|cyg|os2|vms|amiga|win32|mswin))|src(/testdir)?/Make_(dos|cyg|vms|mvc|ming|os2|amiga|mms)'\
+ vim/${PORTVERSION:C/\.[0-9a-z]*$//}*
+
+ckp:
+ /usr/bin/time -h ${MAKE} -DPATCH_DEBUG -DONT_CHECKSUM clean patch
+
+ckmtree:
+ ${MTREE_CMD} -f ${MTREE_FILE} -p ${PREFIX}
+
+do-patch:
+ @${ECHO_MSG} "===> Applying distribution patches for ${PKGNAME} from `pwd`"
+ @set -e ; \
+ (cd ${_DISTDIR} ; \
+ for i in ${_PATCHFILES}; do \
+ if [ ${PATCH_DEBUG_TMP} = yes ]; then \
+ ${ECHO_MSG} "===> Applying distribution patch $$i" ; \
+ fi ; \
+ ${PATCH} ${PATCH_DIST_ARGS} -i ${_DISTDIR}/$$i; \
+ done )
+ @set -e ;\
+ if [ -d ${PATCHDIR} ]; then \
+ if [ "`${ECHO_CMD} ${PATCHDIR}/patch-*`" != "${PATCHDIR}/patch-*" ]; then \
+ ${ECHO_MSG} "===> Applying ${OPSYS} patches for ${PKGNAME}" ; \
+ PATCHES_APPLIED="" ; \
+ for i in ${PATCHDIR}/patch-*; do \
+ case $$i in \
+ *.orig|*.rej|*~|*,v) \
+ ${ECHO_MSG} "===> Ignoring patchfile $$i" ; \
+ ;; \
+ *) \
+ if [ ${PATCH_DEBUG_TMP} = yes ]; then \
+ ${ECHO_MSG} "===> Applying ${OPSYS} patch $$i" ; \
+ fi; \
+ if ${PATCH} ${PATCH_ARGS} < $$i ; then \
+ PATCHES_APPLIED="$$PATCHES_APPLIED $$i" ; \
+ else \
+ ${ECHO_MSG} `${ECHO_CMD} "=> Patch $$i failed to apply cleanly." | ${SED} "s|${PATCHDIR}/||"` ; \
+ if [ x"$$PATCHES_APPLIED" != x"" ]; then \
+ ${ECHO_MSG} `${ECHO_CMD} "=> Patch(es) $$PATCHES_APPLIED applied cleanly." | ${SED} "s|${PATCHDIR}/||g"` ; \
+ fi; \
+ ${FALSE} ; \
+ fi; \
+ ;; \
+ esac; \
+ done; \
+ fi; \
+ fi
+
+.include <bsd.port.mk>
12 build-files/ports-overlay/editors/vim/add-bad.sh
View
@@ -0,0 +1,12 @@
+:
+# $FreeBSD: editors/vim/add-bad.sh 302686 2012-08-17 16:08:14Z obrien $
+
+usage() {
+ echo 'usage: ${0##*/} <bad patch #s to add to ${BADPATCHES}>'
+ exit 1
+}
+if [ $# -lt 1 ]; then
+ usage
+fi
+
+sed -i '' "s/^BADPATCHES=.*$/& $*/" Makefile
2,616 build-files/ports-overlay/editors/vim/distinfo
View
2,616 additions, 0 deletions not shown
77 build-files/ports-overlay/editors/vim/files/patch-01
View
@@ -0,0 +1,77 @@
+--- Makefile.orig Sun Jun 1 06:18:29 2003
++++ Makefile Sat Nov 1 15:39:09 2003
+@@ -256,7 +256,7 @@
+ #DO NOT CHANGE the next line, we need it for configure to find the compiler
+ #instead of using the default from the "make" program.
+ #Use a line further down to change the value for CC.
+-CC=
++#CC=
+
+ # Change and use these defines if configure cannot find your Motif stuff.
+ # Unfortunately there is no "standard" location for Motif. {{{
+@@ -288,6 +288,7 @@
+ # of make, will buid Vim.
+
+ # CONFIGURE - configure arguments {{{1
++CONF_ARGS = --prefix=$(PREFIX)
+ # You can give a lot of options to configure.
+ # Change this to your desire and do 'make config' afterwards
+
+@@ -1829,3 +1830,3 @@ install: $(GUI_INSTALL)
+
+-install_normal: installvim installtools $(INSTALL_LANGS) install-icons
++install_normal: installvim installtools $(INSTALL_LANGS) # install-icons
+
+@@ -1794,40 +1795,40 @@
+ installgvimdiff: $(DEST_BIN)/$(GVIMDIFFTARGET)
+
+ $(DEST_BIN)/$(EXTARGET):
+- cd $(DEST_BIN); ln -s $(VIMTARGET) $(EXTARGET)
++ #cd $(DEST_BIN); ln -sf $(VIMTARGET) $(EXTARGET)
+
+ $(DEST_BIN)/$(VIEWTARGET):
+- cd $(DEST_BIN); ln -s $(VIMTARGET) $(VIEWTARGET)
++ #cd $(DEST_BIN); ln -sf $(VIMTARGET) $(VIEWTARGET)
+
+ $(DEST_BIN)/$(GVIMTARGET):
+- cd $(DEST_BIN); ln -s $(VIMTARGET) $(GVIMTARGET)
++ cd $(DEST_BIN); ln -sf $(VIMTARGET) $(GVIMTARGET)
+
+ $(DEST_BIN)/$(GVIEWTARGET):
+- cd $(DEST_BIN); ln -s $(VIMTARGET) $(GVIEWTARGET)
++ cd $(DEST_BIN); ln -sf $(VIMTARGET) $(GVIEWTARGET)
+
+ $(DEST_BIN)/$(RVIMTARGET):
+- cd $(DEST_BIN); ln -s $(VIMTARGET) $(RVIMTARGET)
++ cd $(DEST_BIN); ln -sf $(VIMTARGET) $(RVIMTARGET)
+
+ $(DEST_BIN)/$(RVIEWTARGET):
+- cd $(DEST_BIN); ln -s $(VIMTARGET) $(RVIEWTARGET)
++ cd $(DEST_BIN); ln -sf $(VIMTARGET) $(RVIEWTARGET)
+
+ $(DEST_BIN)/$(RGVIMTARGET):
+- cd $(DEST_BIN); ln -s $(VIMTARGET) $(RGVIMTARGET)
++ cd $(DEST_BIN); ln -sf $(VIMTARGET) $(RGVIMTARGET)
+
+ $(DEST_BIN)/$(RGVIEWTARGET):
+- cd $(DEST_BIN); ln -s $(VIMTARGET) $(RGVIEWTARGET)
++ cd $(DEST_BIN); ln -sf $(VIMTARGET) $(RGVIEWTARGET)
+
+ $(DEST_BIN)/$(VIMDIFFTARGET):
+- cd $(DEST_BIN); ln -s $(VIMTARGET) $(VIMDIFFTARGET)
++ cd $(DEST_BIN); ln -sf $(VIMTARGET) $(VIMDIFFTARGET)
+
+ $(DEST_BIN)/$(GVIMDIFFTARGET):
+- cd $(DEST_BIN); ln -s $(VIMTARGET) $(GVIMDIFFTARGET)
++ cd $(DEST_BIN); ln -sf $(VIMTARGET) $(GVIMDIFFTARGET)
+
+ $(DEST_BIN)/$(EVIMTARGET):
+- cd $(DEST_BIN); ln -s $(VIMTARGET) $(EVIMTARGET)
++ cd $(DEST_BIN); ln -sf $(VIMTARGET) $(EVIMTARGET)
+
+ $(DEST_BIN)/$(EVIEWTARGET):
+- cd $(DEST_BIN); ln -s $(VIMTARGET) $(EVIEWTARGET)
++ cd $(DEST_BIN); ln -sf $(VIMTARGET) $(EVIEWTARGET)
+
+ # create links for the manual pages with various names to vim. This is only
+ # done when the links (or manpages with the same name) don't exist yet.
47 build-files/ports-overlay/editors/vim/files/patch-configure
View
@@ -0,0 +1,47 @@
+--- auto/configure.orig 2013-07-11 22:23:02.000000000 -0700
++++ auto/configure 2013-07-11 22:51:08.000000000 -0700
+@@ -855,7 +855,7 @@ pdfdir='${docdir}'
+ psdir='${docdir}'
+ libdir='${exec_prefix}/lib'
+ localedir='${datarootdir}/locale'
+-mandir='${datarootdir}/man'
++mandir='${prefix}/man'
+
+ ac_prev=
+ ac_dashdash=
+@@ -4694,7 +4694,7 @@ $as_echo_n "checking Lua version... " >&
+ if test "${vi_cv_version_lua+set}" = set; then :
+ $as_echo_n "(cached) " >&6
+ else
+- vi_cv_version_lua=`${vi_cv_path_lua} -e "print(_VERSION)" | sed 's/.* //'`
++ vi_cv_version_lua=`${vi_cv_path_lua} -e "print(_VERSION)" | sed 's/.* //' | tr -d '.'`
+ fi
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $vi_cv_version_lua" >&5
+ $as_echo "$vi_cv_version_lua" >&6; }
+@@ -4728,6 +4728,7 @@ $as_echo "no" >&6; }
+ LUA_LIBS="-L${vi_cv_path_lua_pfx}/lib -llua"
+ fi
+ LUA_CFLAGS="-I${vi_cv_path_lua_pfx}/include${LUA_INC}"
++ LUA_CFLAGS="-I${LUA_INCDIR}"
+ LUA_SRC="if_lua.c"
+ LUA_OBJ="objects/if_lua.o"
+ LUA_PRO="if_lua.pro"
+@@ -4759,7 +4760,8 @@ $as_echo "no" >&6; }
+ $as_echo "#define DYNAMIC_LUA 1" >>confdefs.h
+
+ LUA_LIBS=""
+- LUA_CFLAGS="-DDYNAMIC_LUA_DLL=\\\"${vi_cv_dll_name_lua}\\\" $LUA_CFLAGS"
++ vi_cv_version_lua=${LUA_VER}
++ LUA_CFLAGS="-DDYNAMIC_LUA_DLL=\\\"liblua-${vi_cv_version_lua}.so.$LUA_VER_SH\\\" $LUA_CFLAGS"
+ fi
+ fi
+ if test "$fail_if_missing" = "yes" -a -z "$LUA_SRC"; then
+@@ -6285,7 +6287,7 @@ $as_echo_n "checking for location of tcl
+ $as_echo "$try/tclConfig.sh" >&6; }
+ . $try/tclConfig.sh
+ TCL_LIBS=`eval echo "$TCL_LIB_SPEC $TCL_LIBS"`
+- TCL_DEFS=`echo $TCL_DEFS | sed -e 's/\\\\ /\\\\X/g' | tr ' ' '\012' | sed -e '/^[^-]/d' -e '/^-[^D]/d' -e '/-D[^_]/d' -e 's/-D_/ -D_/' | tr '\012' ' ' | sed -e 's/\\\\X/\\\\ /g'`
++ TCL_DEFS=`echo $TCL_DEFS | sed -e 's/\\ /\\\\X/g' | tr ' ' '\012' | sed -e '/^-[^D]/d' -e '/-D[^_]/d' -e 's/-D_/ -D_/' | tr '\012' ' ' | sed -e 's/\\\\X/\\ /g'`
+ break
+ fi
+ done
42 build-files/ports-overlay/editors/vim/files/patch-installml.sh
View
@@ -0,0 +1,42 @@
+--- installml.sh.orig Sun Apr 30 08:48:53 2006
++++ installml.sh Mon Jun 19 03:36:37 2006
+@@ -55,12 +55,12 @@ if test $what = "install" -a \( -f $dest
+ # ex
+- if test ! -f $destdir/$exname.1 -a -f $destdir/$vimname.1; then
+- echo creating link $destdir/$exname.1
+- cd $destdir; ln -s $vimname.1 $exname.1
+- fi
++ #if test ! -f $destdir/$exname.1 -a -f $destdir/$vimname.1; then
++ # echo creating link $destdir/$exname.1
++ # cd $destdir; ln -s $vimname.1 $exname.1
++ #fi
+
+ # view
+- if test ! -f $destdir/$viewname.1 -a -f $destdir/$vimname.1; then
+- echo creating link $destdir/$viewname.1
+- cd $destdir; ln -s $vimname.1 $viewname.1
+- fi
++ #if test ! -f $destdir/$viewname.1 -a -f $destdir/$vimname.1; then
++ # echo creating link $destdir/$viewname.1
++ # cd $destdir; ln -s $vimname.1 $viewname.1
++ #fi
+
+@@ -121,10 +121,10 @@ if test $what = "uninstall"; then
+
+- if test -L $destdir/$exname.1; then
+- echo deleting $destdir/$exname.1
+- rm -f $destdir/$exname.1
+- fi
+- if test -L $destdir/$viewname.1; then
+- echo deleting $destdir/$viewname.1
+- rm -f $destdir/$viewname.1
+- fi
++ #if test -L $destdir/$exname.1; then
++ # echo deleting $destdir/$exname.1
++ # rm -f $destdir/$exname.1
++ #fi
++ #if test -L $destdir/$viewname.1; then
++ # echo deleting $destdir/$viewname.1
++ # rm -f $destdir/$viewname.1
++ #fi
+ if test -L $destdir/$rvimname.1; then
286 build-files/ports-overlay/editors/vim/files/vietnamese_viscii.vim
View
@@ -0,0 +1,286 @@
+" $FreeBSD: editors/vim/files/vietnamese_viscii.vim 300896 2012-07-14 13:54:48Z beat $
+" vim:ts=8
+"
+" VIQR input
+"
+" RFC 1456 Vietnamese Standardization Working Group,
+" Conventions for Encoding the Vietnamese Language
+" VISCII: VIetnamese Standard Code for Information Interchange
+" VIQR: VIetnamese Quoted-Readable Specification Revision 1.1",
+" May 1993.
+"
+set isprint=@,002,005-006,020,025,128-255
+"
+"letter Á
+imap A' 193
+"letter À
+imap A` 192
+"letter Ä
+imap A? 196
+"letter Ã
+imap A~ 195
+"letter €
+imap A. 128
+"letter Å
+imap A( 197
+"letter 
+imap 197' 129
+"letter ‚
+imap 197` 130
+"letter 
+imap 197? 002
+"letter 
+imap 197~ 005
+"letter ƒ
+imap 197. 131
+"letter Â
+imap A^ 194
+"letter „
+imap 194' 132
+"letter …
+imap 194` 133
+"letter †
+imap 194? 134
+"letter 
+imap 194~ 006
+"letter ‡
+imap 194. 135
+"letter Ð
+imap DD 208
+imap Dd 208
+"letter É
+imap E' 201
+"letter È
+imap E` 200
+"letter Ë
+imap E? 203
+"letter ˆ
+imap E~ 136
+"letter ‰
+imap E. 137
+"letter Ê
+imap E^ 202
+"letter Š
+imap 202' 138
+"letter ‹
+imap 202` 139
+"letter Œ
+imap 202? 140
+"letter 
+imap 202~ 141
+"letter Ž
+imap 202. 142
+"letter Í
+imap I' 205
+"letter Ì
+imap I` 204
+"letter ›
+imap I? 155
+"letter Î
+imap I~ 206
+"letter ˜
+imap I. 152
+"letter Ó
+imap O' 211
+"letter Ò
+imap O` 210
+"letter ™
+imap O? 153
+"letter  
+"imap O~ 213 -- bug in encoding 213 --> a.
+imap O~ 160
+"letter š
+imap O. 154
+"letter Ô
+imap O^ 212
+"letter 
+imap 212' 143
+"letter 
+imap 212` 144
+"letter ‘
+imap 212? 145
+"letter ’
+imap 212~ 146
+"letter “
+imap 212. 147
+"letter ´
+imap O+ 180
+"letter •
+imap 180' 149
+"letter –
+imap 180` 150
+"letter —
+imap 180? 151
+"letter ³
+imap 180~ 179
+"letter ”
+imap 180. 148
+"letter Ú
+imap U' 218
+"letter Ù
+imap U` 217
+"letter œ
+imap U? 156
+"letter 
+imap U~ 157
+"letter ž
+imap U. 158
+"letter ¿
+imap U+ 191
+"letter º
+imap 191' 186
+"letter »
+imap 191` 187
+"letter ¼
+imap 191? 188
+"letter ÿ
+imap 191~ 255
+"letter ¹
+imap 191. 185
+"letter Ý
+imap Y' 221
+"letter Ÿ
+imap Y` 159
+"letter 
+imap Y? 020
+"letter 
+imap Y~ 025
+"letter 
+imap Y. 030
+"letter á
+imap a' 225
+"letter à
+imap a` 224
+"letter ä
+imap a? 228
+"letter ã
+imap a~ 227
+"letter Õ
+"imap a. 160 bug in encoding -- 160 --> O~
+imap a. 213
+"letter å
+imap a( 229
+"letter ¡
+imap 229' 161
+"letter ¢
+imap 229` 162
+"letter Æ
+imap 229? 198
+"letter Ç
+imap 229~ 199
+"letter £
+imap 229. 163
+"letter â
+imap a^ 226
+"letter ¤
+imap 226' 164
+"letter ¥
+imap 226` 165
+"letter ¦
+imap 226? 166
+"letter ç
+imap 226~ 231
+"letter §
+imap 226. 167
+"letter ð
+imap dd 240
+"letter é
+imap e' 233
+"letter è
+imap e` 232
+"letter ë
+imap e? 235
+"letter ¨
+imap e~ 168
+"letter ©
+imap e. 169
+"letter ê
+imap e^ 234
+"letter ª
+imap 234' 170
+"letter «
+imap 234` 171
+"letter ¬
+imap 234? 172
+"letter ­
+imap 234~ 173
+"letter ®
+imap 234. 174
+"letter í
+imap i' 237
+"letter ì
+imap i` 236
+"letter ï
+imap i? 239
+"letter î
+imap i~ 238
+"letter ¸
+imap i. 184
+"letter ó
+imap o' 243
+"letter ò
+imap o` 242
+"letter ö
+imap o? 246
+"letter õ
+imap o~ 245
+"letter ÷
+imap o. 247
+"letter ô
+imap o^ 244
+"letter ¯
+imap 244' 175
+"letter °
+imap 244` 176
+"letter ±
+imap 244? 177
+"letter ²
+imap 244~ 178
+"letter µ
+imap 244. 181
+"letter ½
+imap o+ 189
+"letter ¾
+imap 189' 190
+"letter ¶
+imap 189` 182
+"letter ·
+imap 189? 183
+"letter Þ
+imap 189~ 222
+"letter þ
+imap 189. 254
+"letter ú
+imap u' 250
+"letter ù
+imap u` 249
+"letter ü
+imap u? 252
+"letter û
+imap u~ 251
+"letter ø
+imap u. 248
+"letter ß
+imap u+ 223
+"letter Ñ
+imap 223' 209
+"letter ×
+imap 223` 215
+"letter Ø
+imap 223? 216
+"letter æ
+imap 223~ 230
+"letter ñ
+imap 223. 241
+"letter ý
+imap y' 253
+"letter Ï
+imap y` 207
+"letter Ö
+imap y? 214
+"letter Û
+imap y~ 219
+"letter Ü
+imap y. 220
+ "
+ " END OF VIQR input support
24 build-files/ports-overlay/editors/vim/options
View
@@ -0,0 +1,24 @@
+OPTIONS_DEFINE= \
+ PERL \
+ PYTHON \
+ RUBY \
+ TCL \
+ LUA \
+ CSCOPE \
+ EXUBERANT_CTAGS \
+ XTERM_SAVE \
+ NLS \
+ X11
+OPTIONS_RADIO= \
+ UI
+OPTIONS_RADIO_UI=\
+ ATHENA \
+ GTK2 \
+ GNOME \
+ MOTIF
+
+CSCOPE_DESC= cscope support
+EXUBERANT_CTAGS_DESC= Use exctags instead of ctags
+ATHENA_DESC= Athena GUI toolkit
+XTERM_SAVE_DESC= Restore xterm screen after exit
+UI_DESC= Graphical toolkit to use
23 build-files/ports-overlay/editors/vim/pkg-descr
View
@@ -0,0 +1,23 @@
+Vim is a virtually compatible, extremely enhanced, version of the UNIX
+text editor vi.
+
+There are a lot of enhancements above Vi: multi level undo, multi-windows
+and buffers, syntax highlighting, command line editing, filename completion,
+on-line help, visual selection, etc..
+
+Many features above standard vi's have been added:
+ multiple windows and buffers, multi level undo, command line history,
+ filename completion, selection highlighting, block operations (including
+ column/rectangular blocks), syntax highlighting, on-line help, etc.
+ Embeded Perl, Tcl, and Python support.
+ See ":help vi_diff" for a summary of the differences between Vim and Vi.
+
+ An X-windows aware or a full X-windows GUI version can also be built
+ that allows full use of the mouse and pull-down menus
+
+See http://www.vim.org/why.html for a full explanation of Vim's features.
+
+Portability to all UNIX platforms, AmigaOS, Archimedes, Atari MiNT, BeOS,
+M$-DOS, MacOS, OS/2, VMS, WinNT+Win95.
+
+WWW: http://www.vim.org/
43 build-files/ports-overlay/editors/vim/pkg-plist
View
@@ -0,0 +1,43 @@
+@comment $FreeBSD: editors/vim/pkg-plist 314778 2013-03-20 23:56:59Z bapt $
+bin/vim
+bin/vimtutor
+bin/xxd
+@comment bin/ex
+@comment bin/gex
+bin/eview
+bin/evim
+bin/gview
+bin/gvim
+bin/gvimtutor
+bin/rgview
+bin/rgvim
+bin/rview
+bin/rvim
+bin/vimdiff
+bin/gvimdiff
+@comment bin/view
+@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 ]=-
+%%NLS%%@dirrmtry man/fr/man1
+%%NLS%%@dirrmtry man/fr
+%%NLS%%@dirrmtry man/fr.ISO8859-1/man1
+%%NLS%%@dirrmtry man/fr.ISO8859-1
+%%NLS%%@dirrmtry man/fr.UTF-8/man1
+%%NLS%%@dirrmtry man/fr.UTF-8
+%%NLS%%@dirrmtry man/it/man1
+%%NLS%%@dirrmtry man/it
+%%NLS%%@dirrmtry man/it.ISO8859-1/man1
+%%NLS%%@dirrmtry man/it.ISO8859-1
+%%NLS%%@dirrmtry man/it.UTF-8/man1
+%%NLS%%@dirrmtry man/it.UTF-8
+%%NLS%%@dirrmtry man/pl/man1
+%%NLS%%@dirrmtry man/pl
+%%NLS%%@dirrmtry man/pl.ISO8859-2/man1
+%%NLS%%@dirrmtry man/pl.ISO8859-2
+%%NLS%%@dirrmtry man/pl.UTF-8/man1
+%%NLS%%@dirrmtry man/pl.UTF-8
+%%NLS%%@dirrmtry man/ru.UTF-8/man1
+%%NLS%%@dirrmtry man/ru.UTF-8
+@dirrm share/vim
Please sign in to comment.
Something went wrong with that request. Please try again.