source: trunk/dports/office/task/Portfile

Last change on this file was 151594, checked in by g5pw@…, 13 months ago

office/task: update to 2.5.1

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.7 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 151594 2016-08-18 10:32:57Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           cmake 1.0
6
7name                task
8version             2.5.1
9maintainers         nomaintainer
10
11categories          office
12description         Taskwarrior is a command-line task management tool
13long_description    Taskwarrior is a command-line todo list manager \
14                    with an interactive interface, GTD features, color themes, \
15                    data synchronization, dependencies, custom reports, and \
16                    charts.
17
18platforms           darwin
19license             MIT
20
21homepage            http://taskwarrior.org/
22master_sites        http://taskwarrior.org/download/
23
24checksums           rmd160  ae04417ff7f007c6e01d4d6bd4dede67adc1e35f \
25                    sha256  d87bcee58106eb8a79b850e9abc153d98b79e00d50eade0d63917154984f2a15
26
27depends_lib         port:gnutls
28
29cmake.out_of_source yes
30
31post-destroot {
32    # Install bash completions
33    xinstall -d ${destroot}${prefix}/share/bash-completion/completions
34    xinstall ${worksrcpath}/scripts/bash/task.sh ${destroot}${prefix}/share/bash-completion/completions/task
35
36    # Install zsh completions
37    set site-functions ${destroot}${prefix}/share/zsh/site-functions
38    xinstall -d ${site-functions}
39    xinstall ${worksrcpath}/scripts/zsh/_task ${site-functions}/_task
40
41    # Install vim runtime files
42    set vim-files ${destroot}${prefix}/share/vim
43    xinstall -d ${vim-files}
44    copy ${worksrcpath}/scripts/vim ${vim-files}/vimfiles
45    # Delete README with install instructions due to its generic filename
46    delete ${vim-files}/vimfiles/README
47}
Note: See TracBrowser for help on using the repository browser.