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

name             toilet
version          0.3
revision         2
categories       graphics
maintainers      nomaintainer
license          WTFPL

description      toilet - colour based alternative to figlet using libcaca
long_description The TOIlet project attempts to create a free replacement for \
                 the FIGlet utility. TOIlet stands for “The Other Implementation’s letters”, \
                 coined after FIGlet’s “Frank, Ian and Glen’s letters”.

homepage         http://libcaca.zoy.org/wiki/libcaca
platforms        darwin
depends_build    port:pkgconfig
depends_lib      port:ncurses path:lib/libcaca.dylib:libcaca
master_sites     http://caca.zoy.org/raw-attachment/wiki/toilet/
checksums        md5     9b72591cb22a30c42a3184b17cabca6f \
                 sha1    73ea7aa2b0470ac0fecc103d7eeed0048684a505 \
                 rmd160  f7357fcd84bf717f1df738e09762a048005caa74

livecheck.type  regex
livecheck.url   http://caca.zoy.org/wiki/toilet
livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"
