4 | | name vim |
5 | | set vim_version 7.0 |
6 | | set vim_patchlevel 188 |
7 | | version ${vim_version}.${vim_patchlevel} |
8 | | categories editors |
9 | | maintainers mij@macports.org |
10 | | description Vi "workalike" with many additional features |
11 | | long_description Vim is a virtually compatible, extremely \ |
12 | | enhanced version of the vi editor. |
13 | | homepage http://www.vim.org/ |
14 | | platforms darwin freebsd |
| 4 | name vim |
| 5 | set vim_version 7.0 |
| 6 | set vim_patchlevel 192 |
| 7 | version ${vim_version}.${vim_patchlevel} |
| 8 | categories editors |
| 9 | maintainers mij@macports.org |
| 10 | description Vi "workalike" with many additional features |
| 11 | long_description Vim is a virtually compatible, extremely \ |
| 12 | enhanced version of the vi editor. |
| 13 | homepage http://www.vim.org/ |
| 14 | platforms darwin freebsd |
22 | | master_sites ftp://ftp.vim.org/pub/vim/unix/:vim \ |
23 | | ftp://ftp.us.vim.org/pub/vim/unix/:vim \ |
24 | | ftp://ftp2.us.vim.org/pub/vim/unix/:vim \ |
25 | | ftp://ftp3.us.vim.org/pub/vim/unix/pub/mirrors/ftp.vim.org/vim/:vim \ |
26 | | ftp://ftp.is.co.za/applications/editors/vim/unix/:vim \ |
27 | | ftp://ftp.prz.tu-berlin.de/pub/unix/editors/vim/unix/:vim \ |
28 | | ftp://ftp.mirror.ac.uk/sites/ftp.vim.org/pub/vim/unix/:vim \ |
29 | | ftp://ftp.vim.org/pub/vim/extra/:extra\ |
30 | | ftp://ftp.us.vim.org/pub/vim/extra/:extra \ |
31 | | ftp://ftp2.us.vim.org/pub/vim/extra/:extra \ |
32 | | ftp://ftp3.us.vim.org/pub/vim/extra/pub/mirrors/ftp.vim.org/vim/:extra \ |
33 | | ftp://ftp.is.co.za/applications/editors/vim/extra/:extra \ |
34 | | ftp://ftp.prz.tu-berlin.de/pub/unix/editors/vim/extra/:extra \ |
35 | | ftp://ftp.mirror.ac.uk/sites/ftp.vim.org/pub/vim/extra/:extra |
| 22 | master_sites ftp://ftp.vim.org/pub/vim/unix/:vim \ |
| 23 | http://ftp.vim.org/pub/vim/unix/:vim \ |
| 24 | ftp://ftp.us.vim.org/pub/vim/unix/:vim \ |
| 25 | ftp://ftp2.us.vim.org/pub/vim/unix/:vim \ |
| 26 | ftp://ftp9.us.vim.org/pub/vim/unix/:vim \ |
| 27 | ftp://ftp.ca.vim.org/pub/vim/unix/:vim \ |
| 28 | ftp://ftp.nl.vim.org/pub/vim/unix/:vim \ |
| 29 | ftp://ftp2.nl.vim.org/pub/vim/unix/:vim \ |
| 30 | ftp://ftp3.nl.vim.org/pub/vim/unix/:vim \ |
| 31 | ftp://ftp3.de.vim.org/pub/vim/unix/:vim \ |
| 32 | ftp://ftp.uk.vim.org/pub/vim/unix/:vim \ |
| 33 | ftp://ftp.ie.vim.org/pub/vim/unix/:vim \ |
| 34 | ftp://miroir-francais.fr/pub/vim/unix/:vim \ |
| 35 | ftp://ftp.is.vim.org/pub/vim/unix/:vim \ |
| 36 | ftp://ftp.pl.vim.org/pub/vim/unix/:vim \ |
| 37 | ftp://ftp.ro.vim.org/pub/vim/unix/:vim \ |
| 38 | ftp://ftp.cz.vim.org/pub/vim/unix/:vim \ |
| 39 | ftp://ftp.sk.vim.org/pub/vim/unix/:vim \ |
| 40 | ftp://ftp.tw.vim.org/pub/Unix/Editors/Vim/unix/:vim \ |
| 41 | ftp://ftp2.tw.vim.org/pub/vim/unix/:vim \ |
| 42 | ftp://ftp.jp.vim.org/pub/vim/unix/:vim \ |
| 43 | ftp://ftp.kr.vim.org/pub/vim/unix/:vim \ |
| 44 | \ |
| 45 | ftp://ftp.vim.org/pub/vim/extra/:extra \ |
| 46 | http://ftp.vim.org/pub/vim/extra/:extra \ |
| 47 | ftp://ftp.us.vim.org/pub/vim/extra/:extra \ |
| 48 | ftp://ftp2.us.vim.org/pub/vim/extra/:extra \ |
| 49 | ftp://ftp9.us.vim.org/pub/vim/extra/:extra \ |
| 50 | ftp://ftp.ca.vim.org/pub/vim/extra/:extra \ |
| 51 | ftp://ftp.nl.vim.org/pub/vim/extra/:extra \ |
| 52 | ftp://ftp2.nl.vim.org/pub/vim/extra/:extra \ |
| 53 | ftp://ftp3.nl.vim.org/pub/vim/extra/:extra \ |
| 54 | ftp://ftp3.de.vim.org/pub/vim/extra/:extra \ |
| 55 | ftp://ftp.uk.vim.org/pub/vim/extra/:extra \ |
| 56 | ftp://ftp.ie.vim.org/pub/vim/extra/:extra \ |
| 57 | ftp://miroir-francais.fr/pub/vim/extra/:extra \ |
| 58 | ftp://ftp.is.vim.org/pub/vim/extra/:extra \ |
| 59 | ftp://ftp.pl.vim.org/pub/vim/extra/:extra \ |
| 60 | ftp://ftp.ro.vim.org/pub/vim/extra/:extra \ |
| 61 | ftp://ftp.cz.vim.org/pub/vim/extra/:extra \ |
| 62 | ftp://ftp.sk.vim.org/pub/vim/extra/:extra \ |
| 63 | ftp://ftp.tw.vim.org/pub/Unix/Editors/Vim/extra/:extra \ |
| 64 | ftp://ftp2.tw.vim.org/pub/vim/extra/:extra \ |
| 65 | ftp://ftp.jp.vim.org/pub/vim/extra/:extra \ |
| 66 | ftp://ftp.kr.vim.org/pub/vim/extra/:extra |
68 | | master_sites-append http://www.douglas.stebila.ca/files/code/vim/app/:app_aqua \ |
69 | | http://www.douglas.stebila.ca/files/code/vim/doc/:doc_aqua |
70 | | distfiles-append app-bm.tar.gz:app_aqua \ |
71 | | doc.tar.gz:doc_aqua |
72 | | configure.args-delete --enable-gui=no |
73 | | configure.args-append --enable-gui=carbon |
74 | | post-extract { |
75 | | system "gnutar xvfz ${distpath}/app-bm.tar.gz -C ${workpath}" |
76 | | system "gnutar xvfz ${distpath}/doc.tar.gz -C ${workpath}" |
77 | | } |
78 | | post-destroot { |
79 | | set appPath /Applications/DarwinPorts |
80 | | xinstall -d -m 755 ${destroot}${appPath} |
81 | | system "gnutar xvfz ${filespath}/GVim_app.tar.gz \ |
82 | | -C ${destroot}${appPath}" |
83 | | xinstall -m 644 ${workpath}/app.icns \ |
84 | | ${destroot}${appPath}/GVim.app/Contents/Resources/appIcon.icns |
85 | | xinstall -d -m 755 ${destroot}${appPath}/Vim |
86 | | system "rm -f ${worksrcpath}/src/Vim.app/Contents/Resources/vim/runtime" |
87 | | system "cp -R ${worksrcpath}/runtime \ |
88 | | ${worksrcpath}/src/Vim.app/Contents/Resources/vim" |
89 | | system "cp -R ${worksrcpath}/src/Vim.app \ |
90 | | ${destroot}${appPath}/Vim/Vim.app" |
91 | | xinstall -m 644 ${filespath}/gvimrc \ |
92 | | ${destroot}${appPath}/Vim/Vim.app/ |
93 | | xinstall -m 644 ${filespath}/vimrc \ |
94 | | ${destroot}${appPath}/Vim/Vim.app/ |
95 | | xinstall -m 644 ${workpath}/doc-txt.icns \ |
96 | | ${destroot}${appPath}/Vim/Vim.app/Contents/Resources/ |
97 | | xinstall -m 644 ${workpath}/app.icns \ |
98 | | ${destroot}${appPath}/Vim/Vim.app/Contents/Resources/gui_mac.icns |
99 | | system "ln -s -f ${appPath}/Vim/Vim.app/Contents/MacOS/Vim \ |
100 | | ${destroot}/${prefix}/bin/vim" |
101 | | xinstall -m 755 ${filespath}/gvim.sh ${destroot}/${prefix}/bin/gvim |
102 | | } |
| 101 | master_sites-append http://www.douglas.stebila.ca/files/code/vim/app/:app_aqua \ |
| 102 | http://www.douglas.stebila.ca/files/code/vim/doc/:doc_aqua |
| 103 | distfiles-append app-bm.tar.gz:app_aqua \ |
| 104 | doc.tar.gz:doc_aqua |
| 105 | configure.args-delete --enable-gui=no |
| 106 | configure.args-append --enable-gui=carbon |
| 107 | post-extract { |
| 108 | system "gnutar xvfz ${distpath}/app-bm.tar.gz -C ${workpath}" |
| 109 | system "gnutar xvfz ${distpath}/doc.tar.gz -C ${workpath}" |
| 110 | } |
| 111 | post-destroot { |
| 112 | set appPath /Applications/DarwinPorts |
| 113 | xinstall -d -m 755 ${destroot}${appPath} |
| 114 | system "gnutar xvfz ${filespath}/GVim_app.tar.gz \ |
| 115 | -C ${destroot}${appPath}" |
| 116 | xinstall -m 644 ${workpath}/app.icns \ |
| 117 | ${destroot}${appPath}/GVim.app/Contents/Resources/appIcon.icns |
| 118 | xinstall -d -m 755 ${destroot}${appPath}/Vim |
| 119 | system "rm -f ${worksrcpath}/src/Vim.app/Contents/Resources/vim/runtime" |
| 120 | system "cp -R ${worksrcpath}/runtime \ |
| 121 | ${worksrcpath}/src/Vim.app/Contents/Resources/vim" |
| 122 | system "cp -R ${worksrcpath}/src/Vim.app \ |
| 123 | ${destroot}${appPath}/Vim/Vim.app" |
| 124 | xinstall -m 644 ${filespath}/gvimrc \ |
| 125 | ${destroot}${appPath}/Vim/Vim.app/ |
| 126 | xinstall -m 644 ${filespath}/vimrc \ |
| 127 | ${destroot}${appPath}/Vim/Vim.app/ |
| 128 | xinstall -m 644 ${workpath}/doc-txt.icns \ |
| 129 | ${destroot}${appPath}/Vim/Vim.app/Contents/Resources/ |
| 130 | xinstall -m 644 ${workpath}/app.icns \ |
| 131 | ${destroot}${appPath}/Vim/Vim.app/Contents/Resources/gui_mac.icns |
| 132 | system "ln -s -f ${appPath}/Vim/Vim.app/Contents/MacOS/Vim \ |
| 133 | ${destroot}/${prefix}/bin/vim" |
| 134 | xinstall -m 755 ${filespath}/gvim.sh ${destroot}/${prefix}/bin/gvim |
| 135 | } |
125 | | variant motif { |
126 | | configure.args-delete --enable-gui=no --without-x |
127 | | configure.args-append --enable-gui=motif --with-x --disable-darwin |
128 | | depends_lib-append lib:libXm:openmotif |
| 168 | |
| 169 | variant tiny { configure.args-append --with-features=tiny } |
| 170 | variant small { configure.args-append --with-features=small } |
| 171 | variant big { configure.args-append --with-features=big } |
| 172 | variant huge { configure.args-append --with-features=huge } |
| 173 | variant multibyte { configure.args-append --enable-multibyte } |
| 174 | variant ncurses { configure.args-append --with-tlib=ncurses } |
| 175 | variant xim { configure.args-append --with-xim } |
| 176 | |
| 177 | variant perl { |
| 178 | configure.args-append --enable-perlinterp |
| 179 | depends_lib-append bin:perl:perl5.8 |