# $Id: Portfile,v 1.6 2004/07/25 11:13:10 tim Exp $

PortSystem                  1.0
name                        blinkentools
version                     2.9
revision                    1
categories                  graphics blinkenlights
maintainers                 tim@ccc.de
description                 Blinkenlights command line tools
long_description            Bunch of utilities to convert and send Blinkenlights movies
depends_lib                 lib:libblib:blib
homepage                    http://www.blinkenlights.de/
master_sites                http://www.blinkenlights.de/dist/
checksums                   blinkentools-2.9.tar.gz md5 0555fb3d47e61ca5d1c441a18957459f

platforms                   darwin

configure.args              --disable-oldtools \
                            --without-libmng \
                            --mandir=${prefix}/share/man

configure.env              CPPFLAGS="-I${prefix}/include" LDFLAGS="-L${prefix}/lib"

variant oldtools {
    configure.args-delete  --disable-oldtools
    configure.args-append  --enable-oldtools
}

variant mng {
    depends_lib-append     lib:libmng:libmng lib:libz:zlib
    configure.args-delete  --without-libmng
}

