Ignore:
Timestamp:
Nov 1, 2013, 1:36:24 PM (6 years ago)
Author:
raimue@…
Message:

editors/vim, editors/vim-app, editors/MacVim:
Add +breakindent variant

Location:
trunk/dports/editors
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/editors/MacVim/Portfile

    r112627 r112787  
    2020
    2121master_sites        http://github.com/b4winckler/macvim/zipball/${gitcommit}
    22 checksums           rmd160  d4c2998d8d2d13e9f3c5aae5c96512d04aee0cb1 \
     22checksums           ${name}-${version}.zip \
     23                    rmd160  d4c2998d8d2d13e9f3c5aae5c96512d04aee0cb1 \
    2324                    sha256  af5ea72efed4798edac9011021d4f300a94c3da909aa963017bf5e8dcf453fc4
    2425use_zip             yes
    2526worksrcdir          ${name}
     27extract.only        ${name}-${version}.zip
    2628
    2729depends_build       bin:gnutar:gnutar \
     
    103105}
    104106
     107variant breakindent description {Apply the breakindent patch} {
     108    # Upstream: https://retracile.net/wiki/VimBreakIndent
     109    master_sites-append https://retracile.net/raw-attachment/blog/2013/09/12/23.00/:breakindent
     110    distfiles-append    vim-7.4.16-fc19-breakindent.patch:breakindent
     111    checksums-append    vim-7.4.16-fc19-breakindent.patch \
     112                        rmd160  a03d102166b7fa4d699b621c6a9c54dae05017c6 \
     113                        sha256  8374b1fa505797761fd4480adb1f636d5cdebc1c943c9af70db8f7431b761548
     114
     115    post-patch {
     116        system -W ${worksrcpath} "patch -p1 < ${distpath}/vim-7.4.16-fc19-breakindent.patch"
     117    }
     118}
     119
    105120variant perl description {Enable Perl scripting} {
    106121    configure.args-append   --enable-perlinterp
  • trunk/dports/editors/vim-app/Portfile

    r111963 r112787  
    2828dist_subdir         vim/${vim_version}
    2929worksrcdir          vim[strsed ${vim_version} {g/\.//}]
     30extract.only        vim-${vim_version}${extract.suffix}
    3031
    3132# Generate patchfiles
     
    147148                    --with-developer-dir=${developer_dir}
    148149
    149 extract.only        ${realname}-${vim_version}${extract.suffix}
    150150post-extract {
    151151    system "tar xvfz ${distpath}/app-bm.tar.gz -C ${workpath}"
     
    205205# }
    206206
     207variant breakindent description {Apply the breakindent patch} {
     208    # Upstream: https://retracile.net/wiki/VimBreakIndent
     209    master_sites-append https://retracile.net/raw-attachment/blog/2013/09/12/23.00/:breakindent
     210    distfiles-append    vim-7.4.16-fc19-breakindent.patch:breakindent
     211    checksums-append    vim-7.4.16-fc19-breakindent.patch \
     212                        rmd160  a03d102166b7fa4d699b621c6a9c54dae05017c6 \
     213                        sha256  8374b1fa505797761fd4480adb1f636d5cdebc1c943c9af70db8f7431b761548
     214
     215    post-patch {
     216        system -W ${worksrcpath} "patch -p1 < ${distpath}/vim-7.4.16-fc19-breakindent.patch"
     217    }
     218}
     219
    207220variant perl description {Enable Perl scripting} {
    208221    configure.args-append   --enable-perlinterp
  • trunk/dports/editors/vim/Portfile

    r111963 r112787  
    2424dist_subdir         vim/${vim_version}
    2525worksrcdir          vim[strsed ${vim_version} {g/\.//}]
     26extract.only        vim-${vim_version}${extract.suffix}
    2627
    2728# Generate patchfiles
     
    183184# }
    184185
     186variant breakindent description {Apply the breakindent patch} {
     187    # Upstream: https://retracile.net/wiki/VimBreakIndent
     188    master_sites-append https://retracile.net/raw-attachment/blog/2013/09/12/23.00/:breakindent
     189    distfiles-append    vim-7.4.16-fc19-breakindent.patch:breakindent
     190    checksums-append    vim-7.4.16-fc19-breakindent.patch \
     191                        rmd160  a03d102166b7fa4d699b621c6a9c54dae05017c6 \
     192                        sha256  8374b1fa505797761fd4480adb1f636d5cdebc1c943c9af70db8f7431b761548
     193
     194    post-patch {
     195        system -W ${worksrcpath} "patch -p1 < ${distpath}/vim-7.4.16-fc19-breakindent.patch"
     196    }
     197}
     198
    185199variant perl description {Enable Perl scripting} {
    186200    configure.args-append   --enable-perlinterp
Note: See TracChangeset for help on using the changeset viewer.