source: trunk/dports/office/task/Portfile @ 106293

Last change on this file since 106293 was 106293, checked in by raimue@…, 7 years ago

office/task:
Upgrade to 2.2.0

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.6 KB
Line 
1# $Id: Portfile 106293 2013-05-21 19:26:54Z raimue@macports.org $
2
3PortSystem                      1.0
4PortGroup                       cmake 1.0
5
6name                            task
7version                         2.2.0
8maintainers             nomaintainer
9
10categories                      office
11description             Taskwarrior is an ambitious project to supercharge task management
12long_description        ${description} \
13                                        with an interactive interface, GTD features, color themes, data synch, \
14                                        dependencies, custom reports, charts, and Lua plugins
15
16platforms                       darwin
17license                         GPL-2
18
19homepage                        http://taskwarrior.org/
20master_sites            http://www.taskwarrior.org/download/
21
22checksums           sha1    70656deb48a460f95370c885e388b475475f64eb \
23                    rmd160  286c67655b217058f26dcafc98693599a00cce88 \
24                    sha256  39e25dd285e6bc8474337a5868cb2ec55675978fa1f08c802e6da58b4181ee14
25
26depends_lib-append              port:lua
27
28post-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    }
33
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}
40
41variant bash_completion {
42    depends_run-append  path:etc/bash_completion:bash-completion
43}
44
45variant zsh_completion description {Install mercurial zsh completion file} {
46    depends_run-append path:${prefix}/bin/zsh:zsh
47}
48
49livecheck.type  regex
50livecheck.url   ${homepage}/projects/taskwarrior/wiki/Download
51livecheck.regex Latest stable release: (.*)<a href
Note: See TracBrowser for help on using the repository browser.