PortSystem 1.0

name            devtodo
version         0.1.20
revision        2
categories      devel
license         GPL-2
maintainers     nomaintainer
platforms       darwin
description     Command line application for maintaining lists of tasks.
long_description        DevTodo is small command line application for maintaining \
						lists of tasks. It stores tasks hierarchically, with each \
						task given one of five priority levels. Data is stored as \
						XML, so various XSLT templates can be executed on the XML \
						to convert it into different formats e.g. HTML.
homepage        https://swapoff.org/devtodo1.html
master_sites    https://swapoff.org/files/devtodo/

checksums       md5     4a6241437cb56f237f850bcd2233c3c4 \
                sha1    003067a12139d712dbb3706069e0950a93ecaaf4 \
                rmd160  389201318faa5ff6d302bd5f8c8f8b094664b45c

depends_lib		port:readline

post-extract {
    # "#include <regex.h>" finds Regex.h on case-insensitive filesystems;
    # see http://swapoff.org/ticket/107
    move ${worksrcpath}/util/Regex.h ${worksrcpath}/util/DTRegex.h
}

patchfiles      patch-case-insensitive-filesystem.diff

configure.args	--mandir=${prefix}/share/man