Commit graph

77 commits

Author SHA1 Message Date
Mathieu Arnold
135fdeebb9
all: Remove all other $FreeBSD keywords. 2021-04-06 16:31:13 +02:00
Adam Weinberger
24478a28af vim: Simplify patch 2019-08-03 17:33:02 +00:00
Adam Weinberger
41fd417789 Update to Vim to patchlevel 1439, change default python, improve vimrc
Some big changes in this update:

* Patchlevel 1439
* Default python is now 3.x instead of 2.x [1]
* Expose DEFAULT_VIMRC option (on by default) to vim-tiny

Also, many changes to the default vimrc. Any changes necessarily risk
contention, but then I remembered that I actually maintain editors/vim,
so here we are. The idea here is that Vim, by default, behaves like Vi,
and people who install the Vim port do so because they DON'T just want
Vi. I've enabled features that are basic quality-of-life settings for
me, and that I hope will be ideal for most end-users.

Important changes in the default vimrc:
* Don't install gvimrc at all. gvim should load $ETCDIR/vimrc anyway. I
  can't test gvim locally, so someone please let me know if I broke it.
* Turn on autoindent
* Disable console bells entirely. Console bells are terrible.
* Enable incsearch: highlights search results as you type them
* ^L clears search highlights while redrawing the screen
* Assume fast terminal by default
* Explain every setting in comments

Many of these settings are modeled after the defaults in NeoVim, which
really got it right. I want our default vimrc to be usable and ideal,
so please let me know if anything doesn't work for you, or if you have
other settings you'd like to see changed in the default.

In particular, please let me know if I broke gvim by removing the gvimrc!

PR:		235142 [1]
Submitted by:	John W. O'Brien [1]
2019-06-01 14:35:55 +00:00
Adam Weinberger
4bf065ff94 Update vim to patchlevel 1248 2019-05-02 23:59:44 +00:00
Adam Weinberger
0de970042f Update vim to patchlevel 985 2019-03-01 13:32:55 +00:00
Adam Weinberger
1cb8950dac Update vim to patchlevel 865
After discussion on freebsd-ports@, switch the default UI toolkit
from GTK2 to GTK3. There isn't a huge visual difference, so it's
more predicated on the idea that people are more likely to have
GTK3 already installed for other things.
2019-02-01 13:54:07 +00:00
Adam Weinberger
9bf68f57dd Improve the way vim looks for python binaries
Previously, we patched in the names of all the python binary versions, but
I have been doing a terrible job of keeping them up-to-date. Instead, just
tell vim's configure script the path to the binary we're using.

This will fix building against python 3.7.

PR:		230675
Reported by:	Kamigishi Rei
MFH:		2018Q3
2018-08-16 21:04:01 +00:00
Adam Weinberger
65bc366822 Update vim to patchlevel 231
Also, add a patch[1] to recognize the UseBlacklist command in sshd_config.

PR:		230074 [1]
Submitted by:	Samy Mahmoudi
2018-08-01 16:51:31 +00:00
Adam Weinberger
b2da15584f Update vim to patchlevel 1740 2018-04-21 15:14:58 +00:00
Adam Weinberger
7b9efad304 Remove the check for python 3.2, and add a check for python 3.6. Without
this, users with DEFAULT_VERSIONS+=python=3.6 were getting vim without
python3 support. PORTREVISION bump for this, because py3.6 users need
a rebuilt vim.

PR:		215676
Submitted by:	rsmith xs4all nl
2016-12-31 14:52:35 +00:00
Sunpoet Po-Chuan Hsieh
9c52777efd - Update to 7.4.1229
Changes:	https://github.com/vim/vim/commits/master
2016-02-01 19:47:35 +00:00
Sunpoet Po-Chuan Hsieh
7df5f24e25 - Add python3.5 2016-01-03 08:05:05 +00:00
Sunpoet Po-Chuan Hsieh
ebd95eeb50 - Update to 7.4.738
- Add PORTSCOUT

Changes:	https://github.com/vim/vim/commits/master
2015-06-14 09:18:40 +00:00
Sunpoet Po-Chuan Hsieh
d778b0b3dd - Add "let: g:is_posix = 1" to default vimrc
- Bump PORTREVISION for package change

PR:		198728
Submitted by:	<yuri@rawbw.com>
2015-03-28 16:12:11 +00:00
Baptiste Daroussin
4930b61060 Move the vimrc into ETCDIR to user may have a look at it.
Now install a minimalistic vimrc without all the controversial options (I hope)
Define a template for port Makefiles to vim automatically creates it in case of
opening a new one
2014-12-04 17:28:09 +00:00
Sunpoet Po-Chuan Hsieh
2e9511b30d - Update to 7.4.540
- Update src/auto/configure patch
  - Add python 3.4
  - Remove python 3.1

Changes:	https://code.google.com/p/vim/source/list
2014-12-04 16:45:18 +00:00
Alfred Perlstein
f1518f4882 Use vimrc from distribution.
Suggested by: many.
2014-11-16 22:55:10 +00:00
Alfred Perlstein
e5c1be36f4 A nice default vimrc for new users.
Otherwise users get "vi compat mode" which gives very old and
unfriendly vi defaults that breaks arrow keys and backspace as well
as no color.

Expert users can disable this default vimrc via "make config".

Approved by: delphij
2014-11-16 02:32:18 +00:00
Sunpoet Po-Chuan Hsieh
cd6e9a9547 - Update to 7.4.316
- Fix patch: merge patch-configure into patch-src-auto-configure

Changes:	https://code.google.com/p/vim/source/list
2014-05-31 18:11:29 +00:00
Sunpoet Po-Chuan Hsieh
1237a9027f - Fix python detection
- Bump PORTREVISION for package change

PR:		ports/185601
Submitted by:	Stefan Beke <stefan@beke.info>
2014-02-18 21:43:08 +00:00
Sunpoet Po-Chuan Hsieh
7436b0f6bb - Use USES=iconv unconditionally
- Remove cumbersome do-patch:
  - Use do-patch: in bsd.port.mk
  - Mark 064, 087 and 147 as BADPATCHES
    - 064 does not apply cleanly (in bsd.port.mk way on FreeBSD 9.x or older)
    - 087 contains patch for src/ops.c which must be applied after 064
    - 147 contains patch for src/version.c which must be applied after 087
  - Apply BADPATCHES in post-patch:
- Fix keymap installation for vim-lite
  - Install keymap in vim source
  - Install vietnamese_viscii.vim correctly
- Do not install GUI binary executables and manpages when GUI options are off
- Allow build with python 3.x
- Merge options to Makefile
- Use PORTDATA
- Convert to new options helper
- Use CONFLICTS_INSTALL instead of CONFLICTS
- Use REINPLACE_CMD instead of patch file
- Support STAGEDIR
- Pet portlint
- Cleanup Makefile
- Fix PLIST
- Cosmetic change
- Bump PORTREVISION for dependency and package change
2014-02-18 21:30:04 +00:00
Martin Wilke
46bfe3ce9d - Fix lua support
PR:		185650
		184588
Submitted by:	Kenji Rikitake <kenji@k2r.org>
Approved by:	maintainer timeout
2014-02-12 02:59:57 +00:00
Sunpoet Po-Chuan Hsieh
1e2e0f57d5 - Update to 7.4.110
- While I'm here:
  - Remove RELEASE and simplify PATCH_SITES, WRKSRC and _DATADIR
  - Simplify Makefile
  - Remove contiguous blank lines

Changes:	https://code.google.com/p/vim/source/list
PR:		ports/183076
Submitted by:	Rick van der Zwet <info@rickvanderzwet.nl>
2013-12-02 19:48:37 +00:00
David E. O'Brien
b75913b0f9 Catch up with how we install Lua.
PR:	180367
2013-07-12 06:22:46 +00:00
David E. O'Brien
9892b377f8 Many of the BADPATCHES do apply. Some "just apply", others needed tweaks:
* patch 7.3.122 applies, but caused a pre-configure build error.  Follow
  the "Solution" instructions in the patch and start applying patch 7.3.122.

* Manually doing the 's/newwin/new_wp/g' of patch 7.3.400, allows patch
  7.3.603 to apply.  Unfortunately, no other additional patches apply due
  to patch 7.3.603 applying.

* patch 7.3.674 does apply fine, but needed files/patch-configure adjusted.
2013-06-30 14:21:53 +00:00
David E. O'Brien
3c3b17a3a6 Do not install icons by default. The destination directories aren't
"owned" by Vim and this causes trouble packaging depending on Vim
flavor chosen.
2010-10-12 20:03:06 +00:00
David E. O'Brien
7c93ff3da4 Update to Vim 7.3 patchlevel 19.
WITH_LANG is now "on by default" as the lang files are now part of the base
Vim tarball.

The most notable additions since 7.2:
+ Persistent undo and undo for reload
+ Blowfish encryption, encryption of the swap file
+ Conceal text
+ Lua interface
+ Python 3 interface
2010-10-06 06:58:45 +00:00
David E. O'Brien
8230564e1f Update Vim to version 7.2 (and patchlevel 6 at that). 2008-08-25 15:34:09 +00:00
Martin Wilke
e8dc67ddef - Unbreak and fix build
PR:		125747 (based on)
Reported by:	many
Submitted by:	Martin Neubauer <m.ne@gmx.net>
No response from: maintainer (obrien, 14 days)
2008-08-04 21:30:25 +00:00
David E. O'Brien
874cf5a8f2 Re-enable WITH_TCL.
+ fixed TCL_DEFS processing in patch-configure
+ re-enabled Tcl support (using new bsd.tcl.mk)
+ supports Tcl 80, 82, 83, 84, 85 (WITH_TCL_VER=8x or VIM_WITH_TCL_VER=8x)
+ no support for threaded Tcl yet (because of the way how vim's configure
  searches for Tcl, this needs more modifications)

PR:		112347
Submitted by:	mm
2007-12-19 16:30:28 +00:00
David E. O'Brien
967786f2d6 Upgrade the Vim port to version 7.0, patchlevel 35.
At PL35 it is now well stable and appropriate as a production editor.
MANLANG support taken from PR 98979, submitted by Roman Bogorodskiy
<novel@freebsd.org>.
2006-06-26 18:21:39 +00:00
David E. O'Brien
8a2760083c Update to Vim 6.4 release!
6.4 is a maintenance release - containing additional syntax files, translations
and all 90 patches to 6.3.  It is a "reset" for future patch fixes.
2005-10-24 01:28:48 +00:00
David E. O'Brien
1772ed437e A better way to respect $CC. 2004-08-03 19:16:15 +00:00
David E. O'Brien
e794a01dde Update to Vim 6.3 release. 2004-06-08 20:32:00 +00:00
Kris Kennaway
c1a9c78832 Unbreak WITH_TCL builds.
Submitted by:	Michael Edenfield <kutulu@kutulu.org>
PR:		66434
Approved by:	maintainer
2004-05-17 23:51:15 +00:00
David E. O'Brien
0e4690c976 OBE by REINPLACE action in pre-configure.
PR:		ports/46317
Submitted by:	David Yeske <dyeske@yahoo.com>
2004-01-13 17:21:21 +00:00
David E. O'Brien
221c4a5253 Don't instally {ex,view}.1 links.
Reported by:	Alex Vasylenko <lxv@omut.org>
2003-11-01 23:41:22 +00:00
David E. O'Brien
a2a039cf0a Update to Vim 6.2 patchlevel 139 2003-10-30 20:21:23 +00:00
Maxim Sobolev
24afa13d1f Unbreak with perl 5.8.1 (conflicting symbol). 2003-10-29 21:01:45 +00:00
David E. O'Brien
5914baf67d Update to Vim 6.1 patchlevel 319
Patch 6.1.318 fixed the problems that our local patch-01 revs 1.2[24] fixed.
2003-02-07 03:43:34 +00:00
David E. O'Brien
4d446a4fad This removes the need for one of the patches for WITH_PERL. I've heard
vague problems with building with WITH_PERL, but I've never been able to
get hard evidence.  So this patch makes the whole thing OBE.  It also
uses the new USE_REINPLACE.

Approved by:	kris (portmgr)
2002-09-21 23:49:28 +00:00
David E. O'Brien
2c0ee27fbb Not sure why all of a sudden the lang/README.txt became such a problem.
A whack with the hammer and it can be forgotten.
2002-06-11 00:19:48 +00:00
David E. O'Brien
ecacd68f71 Update to Vim 6.1 patchlevel 32 2002-04-27 18:42:20 +00:00
David E. O'Brien
43dba690a5 Update to Vim 6.1 patchlevel 14
and fix to build on 5-CURRENT.
2002-04-10 02:08:41 +00:00
David E. O'Brien
0ccc5f6f03 Add a Vietnamese VIQR input mapping. 2001-12-03 07:13:35 +00:00
David E. O'Brien
d39599e509 PERL_CFLAGS contains quotes, which breaks compilation of auto/pathdefs.c
(which is generated during vim build).  This only happens when vim is
built with perl support, as in package building, for example.

Submitted by:	tobez
2001-10-25 15:01:29 +00:00
David E. O'Brien
2379127908 Update to Vim 6.0 beta AQ 2001-08-08 01:25:44 +00:00
David E. O'Brien
635199626e Make newly added bits reinstall friendly. 2001-05-03 10:35:39 +00:00
David E. O'Brien
c4dbe633d6 Update to Vim 6.0 beta AD 2001-04-30 16:43:16 +00:00
Akinori MUSHA
15e997bfb2 Apply a hotfix against ruby-interp. This fixes the coredump when $_
is set to non-string in a :rubydo command. (e.g. :rubydo $_ = 0)

It will be submitted to the vim6 author soon.
2001-04-28 19:34:59 +00:00