# $Id: Portfile 65846 2010-04-02 03:02:28Z macsforever2000@macports.org $

PortSystem              1.0

name                    mscgen
version                 0.17
categories              graphics
maintainers             landonf
homepage                http://www.mcternan.me.uk/mscgen/
platforms               darwin

description             Message Sequence Chart image generator

long_description        Mscgen is a small program that parses Message Sequence \
                        Chart descriptions and produces PNG, SVG, EPS or \
                        server side image maps (ismaps) as the output. Message \
                        Sequence Charts (MSCs) are a way of representing \
                        entities and interactions over some time period \
                        and are often used in combination with SDL. 

master_sites            ${homepage}/software/
distname                ${name}-src-${version}

checksums               md5     b3a084a31070a0db2e0bb40a35825fac \
                        sha1    17db4a1f6c84eeda244a933075975bf922907174 \
                        rmd160  751cee2f282ce94608a4f818696b179a74d063cc

depends_lib             port:gd2

worksrcdir              ${name}-${version}

configure.env		GDLIB_CFLAGS='${configure.cflags}' GDLIB_LIBS='-lgd'
use_configure           yes
configure.args          --prefix=${prefix}
