Changeset 106649 for trunk/dports/office


Ignore:
Timestamp:
Jun 3, 2013, 12:40:02 PM (6 years ago)
Author:
g5pw@…
Message:

office/task:

use recent checksums
install bash, zsh completions by default
install vim runtime files

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/office/task/Portfile

    r106295 r106649  
    66name                task
    77version             2.2.0
     8revision            1
    89maintainers         nomaintainer
    910
     
    2021master_sites        http://www.taskwarrior.org/download/
    2122
    22 checksums           sha1    70656deb48a460f95370c885e388b475475f64eb \
    23                     rmd160  286c67655b217058f26dcafc98693599a00cce88 \
     23checksums           rmd160  286c67655b217058f26dcafc98693599a00cce88 \
    2424                    sha256  39e25dd285e6bc8474337a5868cb2ec55675978fa1f08c802e6da58b4181ee14
    2525
     
    2727
    2828post-destroot {
    29     if {[variant_isset bash_completion]} {
    30         xinstall -d ${destroot}${prefix}/share/bash-completion/completions
    31         xinstall ${worksrcpath}/scripts/bash/task.sh ${destroot}${prefix}/share/bash-completion/completions/task
    32     }
     29    # Install bash completions
     30    xinstall -d ${destroot}${prefix}/share/bash-completion/completions
     31    xinstall ${worksrcpath}/scripts/bash/task.sh ${destroot}${prefix}/share/bash-completion/completions/task
    3332
    34     if {[variant_isset zsh_completion]} {
    35         set site-functions ${destroot}${prefix}/share/zsh/site-functions
    36         xinstall -d ${site-functions}
    37         xinstall ${worksrcpath}/scripts/zsh/_task ${site-functions}/_task
    38     }
    39 }
     33    # Install zsh completions
     34    set site-functions ${destroot}${prefix}/share/zsh/site-functions
     35    xinstall -d ${site-functions}
     36    xinstall ${worksrcpath}/scripts/zsh/_task ${site-functions}/_task
    4037
    41 variant bash_completion {
    42     depends_run-append  path:etc/bash_completion:bash-completion
    43 }
    44 
    45 variant zsh_completion description {Install mercurial zsh completion file} {
    46     depends_run-append path:${prefix}/bin/zsh:zsh
     38    # Install vim runtime files
     39    xinstall -d ${prefix}/share/vim/vimfiles
     40    xinstall -W ${worksrcpath}/scripts/vim after syntax ${prefix}/share/vim/vimfiles
    4741}
    4842
Note: See TracChangeset for help on using the changeset viewer.