# $Id: Portfile 106295 2013-05-21 19:31:23Z raimue@macports.org $ PortSystem 1.0 PortGroup cmake 1.0 name task version 2.2.0 maintainers nomaintainer categories office description Taskwarrior is an ambitious project to supercharge task management long_description ${description} \ with an interactive interface, GTD features, color themes, data synch, \ dependencies, custom reports, charts, and Lua plugins platforms darwin license GPL-2 homepage http://taskwarrior.org/ master_sites http://www.taskwarrior.org/download/ checksums sha1 70656deb48a460f95370c885e388b475475f64eb \ rmd160 286c67655b217058f26dcafc98693599a00cce88 \ sha256 39e25dd285e6bc8474337a5868cb2ec55675978fa1f08c802e6da58b4181ee14 depends_lib-append port:lua post-destroot { if {[variant_isset bash_completion]} { xinstall -d ${destroot}${prefix}/share/bash-completion/completions xinstall ${worksrcpath}/scripts/bash/task.sh ${destroot}${prefix}/share/bash-completion/completions/task } if {[variant_isset zsh_completion]} { set site-functions ${destroot}${prefix}/share/zsh/site-functions xinstall -d ${site-functions} xinstall ${worksrcpath}/scripts/zsh/_task ${site-functions}/_task } } variant bash_completion { depends_run-append path:etc/bash_completion:bash-completion } variant zsh_completion description {Install mercurial zsh completion file} { depends_run-append path:${prefix}/bin/zsh:zsh } livecheck.type regex livecheck.url ${homepage}/projects/taskwarrior/wiki/Download livecheck.regex ${name}-(\\d(?:\\.\\d)+)\\.tar