# -*- 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: Portfile 70038 2010-07-27 17:21:31Z ryandesign@macports.org $

PortSystem 1.0

name             toilet
version          0.2
revision         1
categories       graphics
maintainers      phw openmainteiner
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_lib      port:ncurses port:libcaca
master_sites     http://caca.zoy.org/raw-attachment/wiki/toilet/
checksums        md5     4dec7585a2a2d716a765d553cdc1ddaf \
                 sha1    fee189d16e4a73ee7ed1a92790292f98460a69a6 \
                 rmd160  d3b4d0dad753a10eee029d3761dd9af9e4e55c81

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