# -*- 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

PortSystem          1.0
PortGroup           cmake 1.0

name                tasksh
version             1.2.0
revision            0
checksums           rmd160  2aa4b5480f3b63a50d79df80bafc275bf2ee2ea7 \
                    sha256  6e42f949bfd7fbdde4870af0e7b923114cc96c4344f82d9d924e984629e21ffd \
                    size    449323

categories          office
platforms           darwin
license             MIT
maintainers         nomaintainer

description         tasksh is a shell command that wraps Taskwarrior commands
long_description    ${description}. \
                    It is intended to provide simpler Taskwarrior access, and \
                    add a few new features of its own.

homepage            https://gothenburgbitfactory.org/projects/tasksh.html
master_sites        https://taskwarrior.org/download/

patchfiles          patch-readline.diff

post-patch {
    reinplace -E "s,@@PREFIX@@,${prefix},g" ${worksrcpath}/cmake/Modules/FindReadline.cmake
}

depends_lib         port:readline
depends_run         port:task

cmake.out_of_source yes
