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

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

office/task:

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

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.5 KB
Line 
1# $Id: Portfile 106649 2013-06-03 12:40:02Z g5pw@macports.org $
2
3PortSystem          1.0
4PortGroup           cmake 1.0
5
6name                task
7version             2.2.0
8revision            1
9maintainers         nomaintainer
10
11categories          office
12description         Taskwarrior is an ambitious project to supercharge task management
13long_description    ${description} \
14                    with an interactive interface, GTD features, color themes, data synch, \
15                    dependencies, custom reports, charts, and Lua plugins
16
17platforms           darwin
18license             GPL-2
19
20homepage            http://taskwarrior.org/
21master_sites        http://www.taskwarrior.org/download/
22
23checksums           rmd160  286c67655b217058f26dcafc98693599a00cce88 \
24                    sha256  39e25dd285e6bc8474337a5868cb2ec55675978fa1f08c802e6da58b4181ee14
25
26depends_lib-append  port:lua
27
28post-destroot {
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
32
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
37
38    # Install vim runtime files
39    xinstall -d ${prefix}/share/vim/vimfiles
40    xinstall -W ${worksrcpath}/scripts/vim after syntax ${prefix}/share/vim/vimfiles
41}
42
43livecheck.type  regex
44livecheck.url   ${homepage}/projects/taskwarrior/wiki/Download
45livecheck.regex ${name}-(\\d(?:\\.\\d)+)\\.tar
Note: See TracBrowser for help on using the repository browser.