-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
/
Portfile
40 lines (34 loc) · 1.21 KB
/
Portfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
PortSystem 1.0
name vim
set vim_patchlevel 174
version 6.1.$vim_patchlevel
categories editors
maintainers landonf@opendarwin.org
description Vi "workalike" with many additional features
platforms darwin freebsd
master_sites ftp://nuxi.ucdavis.edu/pub/vim/unix/ \
ftp://relay.nuxi.com/pub/vim/unix/ \
ftp://ftp.vim.org/pub/vim/unix/ \
ftp://ftp.is.co.za/applications/editors/vim/unix/ \
ftp://ftp.prz.tu-berlin.de/pub/unix/editors/vim/unix/ \
ftp://ftp.mirror.ac.uk/sites/ftp.vim.org/pub/vim/unix/
eval patch_sites [strsed $master_sites g/unix/patches/]
dist_subdir vim
worksrcdir vim61
distname $portname-[strsed $portversion {s/\.[0-9]*$//}]
use_bzip2 yes
configure.type gnu
configure.args --enable-gui=no --without-x
use_autoconf yes
autoconf.dir ${workpath}/${worksrcdir}/src
set vim_badpatches "002 016 019 023 035 044 049 050 066 073 076 083 086 088 093 100 119 147 148 149 151 154 151 154 155 156 163 166 173"
eval patchfiles [split [exec /usr/bin/jot -s " " -w \
[ strsed $portversion {s/\.[0-9]*$//}].%03d \
$vim_patchlevel 1 $vim_patchlevel] " "]
foreach p ${vim_badpatches} {
patchfiles-delete 6.1.${p}
}
variant x11 {
configure.args --enable-gui=auto --with-x
}
include checksums