# $Id: Portfile,v 1.8 2004/08/08 06:27:36 lomion Exp $

PortSystem 1.0
name		libmng
version		1.0.8
categories	graphics
maintainers	lomion@opendarwin.org
description	Library for read MNG, an extension to PNG.
long_description	This library extends PNG supportto include Multiple Network Graphics \
			this adds animation capabilitys to PNG.				
homepage	http://libmng.sourceforge.net/
master_sites 	sourceforge
platforms	darwin
checksums	md5 d688ca879c934e9cde8b323cf3025f89

depends_lib	lib:libjpeg:jpeg lib:liblcms:lcms
patchfiles	patch-autogen.sh
pre-configure   { system "cd '${worksrcpath}' && sh autogen.sh" }
configure.args	--with-jpeg=${prefix} --with-lcms=${prefix}
