# -*- 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 # $Id$ PortSystem 1.0 PortGroup cmake 1.0 name task version 2.4.2 maintainers nomaintainer categories office description Taskwarrior is a command-line task management tool long_description Taskwarrior is a command-line todo list manager \ with an interactive interface, GTD features, color themes, \ data synchronization, dependencies, custom reports, and \ charts. platforms darwin license MIT homepage http://taskwarrior.org/ master_sites http://taskwarrior.org/download/ checksums rmd160 e458320b9ea03acce1c1e7d0ccdc5ea5671af945 \ sha256 271eca336ff97f96e646f5dd5a774ef3f21f7eab7f9bcc487ea0022cff3fa50d post-destroot { # Install bash completions xinstall -d ${destroot}${prefix}/share/bash-completion/completions xinstall ${worksrcpath}/scripts/bash/task.sh ${destroot}${prefix}/share/bash-completion/completions/task # Install zsh completions set site-functions ${destroot}${prefix}/share/zsh/site-functions xinstall -d ${site-functions} xinstall ${worksrcpath}/scripts/zsh/_task ${site-functions}/_task # Install vim runtime files set vim-files ${destroot}${prefix}/share/vim xinstall -d ${vim-files} file copy ${worksrcpath}/scripts/vim ${vim-files}/vimfiles # Delete README with install instructions due to its generic filename file delete ${vim-files}/vimfiles/README }