Revision: 112787 https://trac.macports.org/changeset/112787 Author: raimue@macports.org Date: 2013-11-01 06:36:24 -0700 (Fri, 01 Nov 2013) Log Message: ----------- editors/vim, editors/vim-app, editors/MacVim: Add +breakindent variant Modified Paths: -------------- trunk/dports/editors/MacVim/Portfile trunk/dports/editors/vim/Portfile trunk/dports/editors/vim-app/Portfile Modified: trunk/dports/editors/MacVim/Portfile =================================================================== --- trunk/dports/editors/MacVim/Portfile 2013-11-01 08:24:15 UTC (rev 112786) +++ trunk/dports/editors/MacVim/Portfile 2013-11-01 13:36:24 UTC (rev 112787) @@ -19,10 +19,12 @@ homepage http://code.google.com/p/macvim master_sites http://github.com/b4winckler/macvim/zipball/${gitcommit} -checksums rmd160 d4c2998d8d2d13e9f3c5aae5c96512d04aee0cb1 \ +checksums ${name}-${version}.zip \ + rmd160 d4c2998d8d2d13e9f3c5aae5c96512d04aee0cb1 \ sha256 af5ea72efed4798edac9011021d4f300a94c3da909aa963017bf5e8dcf453fc4 use_zip yes worksrcdir ${name} +extract.only ${name}-${version}.zip depends_build bin:gnutar:gnutar \ bin:grep:grep \ @@ -102,6 +104,19 @@ configure.args-append --with-xim } +variant breakindent description {Apply the breakindent patch} { + # Upstream: https://retracile.net/wiki/VimBreakIndent + master_sites-append https://retracile.net/raw-attachment/blog/2013/09/12/23.00/:breakindent + distfiles-append vim-7.4.16-fc19-breakindent.patch:breakindent + checksums-append vim-7.4.16-fc19-breakindent.patch \ + rmd160 a03d102166b7fa4d699b621c6a9c54dae05017c6 \ + sha256 8374b1fa505797761fd4480adb1f636d5cdebc1c943c9af70db8f7431b761548 + + post-patch { + system -W ${worksrcpath} "patch -p1 < ${distpath}/vim-7.4.16-fc19-breakindent.patch" + } +} + variant perl description {Enable Perl scripting} { configure.args-append --enable-perlinterp depends_lib-append path:bin/perl:perl5 Modified: trunk/dports/editors/vim/Portfile =================================================================== --- trunk/dports/editors/vim/Portfile 2013-11-01 08:24:15 UTC (rev 112786) +++ trunk/dports/editors/vim/Portfile 2013-11-01 13:36:24 UTC (rev 112787) @@ -23,6 +23,7 @@ use_bzip2 yes dist_subdir vim/${vim_version} worksrcdir vim[strsed ${vim_version} {g/\.//}] +extract.only vim-${vim_version}${extract.suffix} # Generate patchfiles set low 1 @@ -182,6 +183,19 @@ # patchfiles-append patch-vimshell.diff # } +variant breakindent description {Apply the breakindent patch} { + # Upstream: https://retracile.net/wiki/VimBreakIndent + master_sites-append https://retracile.net/raw-attachment/blog/2013/09/12/23.00/:breakindent + distfiles-append vim-7.4.16-fc19-breakindent.patch:breakindent + checksums-append vim-7.4.16-fc19-breakindent.patch \ + rmd160 a03d102166b7fa4d699b621c6a9c54dae05017c6 \ + sha256 8374b1fa505797761fd4480adb1f636d5cdebc1c943c9af70db8f7431b761548 + + post-patch { + system -W ${worksrcpath} "patch -p1 < ${distpath}/vim-7.4.16-fc19-breakindent.patch" + } +} + variant perl description {Enable Perl scripting} { configure.args-append --enable-perlinterp depends_lib-append path:bin/perl:perl5 Modified: trunk/dports/editors/vim-app/Portfile =================================================================== --- trunk/dports/editors/vim-app/Portfile 2013-11-01 08:24:15 UTC (rev 112786) +++ trunk/dports/editors/vim-app/Portfile 2013-11-01 13:36:24 UTC (rev 112787) @@ -27,6 +27,7 @@ doc.tar.gz:doc_aqua dist_subdir vim/${vim_version} worksrcdir vim[strsed ${vim_version} {g/\.//}] +extract.only vim-${vim_version}${extract.suffix} # Generate patchfiles set low 1 @@ -146,7 +147,6 @@ --enable-multibyte \ --with-developer-dir=${developer_dir} -extract.only ${realname}-${vim_version}${extract.suffix} post-extract { system "tar xvfz ${distpath}/app-bm.tar.gz -C ${workpath}" system "tar xvfz ${distpath}/doc.tar.gz -C ${workpath}" @@ -204,6 +204,19 @@ # patchfiles-append patch-vimshell.diff # } +variant breakindent description {Apply the breakindent patch} { + # Upstream: https://retracile.net/wiki/VimBreakIndent + master_sites-append https://retracile.net/raw-attachment/blog/2013/09/12/23.00/:breakindent + distfiles-append vim-7.4.16-fc19-breakindent.patch:breakindent + checksums-append vim-7.4.16-fc19-breakindent.patch \ + rmd160 a03d102166b7fa4d699b621c6a9c54dae05017c6 \ + sha256 8374b1fa505797761fd4480adb1f636d5cdebc1c943c9af70db8f7431b761548 + + post-patch { + system -W ${worksrcpath} "patch -p1 < ${distpath}/vim-7.4.16-fc19-breakindent.patch" + } +} + variant perl description {Enable Perl scripting} { configure.args-append --enable-perlinterp depends_lib-append path:bin/perl:perl5
participants (1)
-
raimue@macports.org