# $Id: Portfile,v 1.19 2003/03/16 05:23:35 michaelm Exp $ PortSystem 1.0 name libpng version 1.2.5 categories graphics maintainers eric@opendarwin.org description Library for manipulating PNG images long_description Libpng was written as a companion to the PNG specification, as a \ way to reduce the amount of time and effort it takes to support \ the PNG file format in application programs. Most users will not \ have to modify the library significantly, advanced users may want \ to modify it more. The library was coded for both users. All \ attempts were made to make it as complete as possible, while \ keeping the code easy to understand. Currently, this library \ only supports C. Support for other languages is being considered. platforms darwin use_bzip2 yes master_sites http://www.libpng.org/pub/png/src/ \ ftp://swrinde.nde.swri.edu/pub/png/src/ \ ftp://ftp.simplesystems.org/pub/libpng/src/ \ http://download.sourceforge.net/libpng/ \ http://planetmirror.com/pub/sourceforge/libpng/ patchfiles patch-makefile.darwin.diff checksums md5 3fc28af730f12ace49b14568de4ad934 configure { cd ${workpath}/${worksrcdir} system "cp scripts/makefile.darwin Makefile" reinplace s|/usr/local|${prefix}| Makefile }