Portfile

# $Id: Portfile 21477 2007-01-26 02:39:47Z eridius@macports.org $
PortSystem 1.0
name dia2code
version 0.8.1
description Dia2Code is a small utility used to generate code from a Dia diagram.
long_description ${description}
maintainers nomaintainer@macports.org
categories devel
platforms darwin
homepage http://${name}.sf.net
master_sites sourceforge
checksums md5 549eb4da412d92d779bcd3e65175064f
depends_lib port:libxml2
patchfiles patch-dia2code.h
configure.args --mandir=${prefix}/share/man
configure.env CPPFLAGS="-L${prefix}/lib -I${prefix}/include" \
CFLAGS="-I${prefix}/include/libxml2/libxml"
post-destroot {
file copy ${worksrcpath}/${name}.1 ${destroot}${prefix}/share/man/man1
}

files