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

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

office/task

fix installation of vim files

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.5 KB
Line 
1# $Id: Portfile 106650 2013-06-03 13:00:06Z 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    set vim-files ${destroot}${prefix}/share/vim/vimfiles
40    xinstall -d ${vim-files}
41    move ${worksrcpath}/scripts/vim ${vim-files}
42}
43
44livecheck.type  regex
45livecheck.url   ${homepage}/projects/taskwarrior/wiki/Download
46livecheck.regex ${name}-(\\d(?:\\.\\d)+)\\.tar
Note: See TracBrowser for help on using the repository browser.