a project to simplify installation of open source software
on Mac OS X and Darwin
# $Id: Portfile 22484 2007-03-02 19:23:51Z blair@macports.org $
PortSystem 1.0
name libmng
version 1.0.9
categories graphics
maintainers blair@orcaware.com openmaintainer@macports.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 ff1205ef70855a75c098ea09690413c6
depends_build bin:aclocal:automake \
bin:autoconf:autoconf \
bin:automake:automake \
bin:glibtoolize:libtool
depends_lib port:jpeg port:lcms port:zlib
pre-configure {
system "cd '${worksrcpath}' && ln -s makefiles/configure.in ."
system "cd '${worksrcpath}' && ln -s makefiles/acinclude.m4 ."
system "cd '${worksrcpath}' && ln -s makefiles/Makefile.am ."
system "cd '${worksrcpath}' && aclocal"
system "cd '${worksrcpath}' && glibtoolize --automake"
system "cd '${worksrcpath}' && automake --foreign --add-missing"
system "cd '${worksrcpath}' && autoconf"
}
configure.args --with-jpeg=${prefix} \
--with-lcms=${prefix} \
--with-zlib=${prefix}