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

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

office/task:
Fix upstream download URL and add sha1 checksum

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.7 KB
Line 
1# $Id: Portfile 117476 2014-02-28 14:58:11Z raimue@macports.org $
2
3PortSystem          1.0
4PortGroup           cmake 1.0
5
6name                task
7version             2.3.0
8maintainers         nomaintainer
9
10categories          office
11description         A command-line todo list manager
12long_description    Taskwarrior is a command-line todo list manager \
13                    with an interactive interface, GTD features, color themes, \
14                    data synchronization, dependencies, custom reports, and \
15                    charts.
16
17platforms           darwin
18license             MIT
19
20homepage            http://taskwarrior.org/
21master_sites        http://taskwarrior.org/download/
22
23checksums           sha1 b5390a1c1232bcb727f5a595ac1141184810d09d \
24                    rmd160  2e391987af89f290f096ba0a18f0cd01d368ac52 \
25                    sha256  2b9a289109e691e305b84631622299853134cf195d4c9af962759b640176ac73
26
27post-destroot {
28    # Install bash completions
29    xinstall -d ${destroot}${prefix}/share/bash-completion/completions
30    xinstall ${worksrcpath}/scripts/bash/task.sh ${destroot}${prefix}/share/bash-completion/completions/task
31
32    # Install zsh completions
33    set site-functions ${destroot}${prefix}/share/zsh/site-functions
34    xinstall -d ${site-functions}
35    xinstall ${worksrcpath}/scripts/zsh/_task ${site-functions}/_task
36
37    # Install vim runtime files
38    set vim-files ${destroot}${prefix}/share/vim
39    xinstall -d ${vim-files}
40    file copy ${worksrcpath}/scripts/vim ${vim-files}/vimfiles
41    # Delete README with install instructions due to its generic filename
42    file delete ${vim-files}/vimfiles/README
43}
44
45livecheck.type  regex
46livecheck.url   ${homepage}/projects/taskwarrior/wiki/Download
47livecheck.regex ${name}-(\\d(?:\\.\\d)+)\\.tar
Note: See TracBrowser for help on using the repository browser.