# $Id: Portfile,v 1.2 2005/09/13 06:57:39 olegb Exp $
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	darwinports@opendarwin.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
}
