# $Id: Portfile 41399 2008-11-01 20:58:16Z ryandesign@macports.org $ PortSystem 1.0 name libpng version 1.2.33 categories graphics maintainers ryandesign waqar@macports.org platforms darwin openbsd freebsd sunos linux homepage http://www.libpng.org/pub/png/ use_bzip2 yes use_parallel_build yes master_sites sourceforge 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. checksums \ md5 0532c28ba1b17ee2095ad50731c2c75c \ sha1 72b5327cbc1677d11d8c910ce61b683733f80592 \ rmd160 96fdc535812518c4d27949f272d7ee4c8b365605 depends_lib \ port:zlib use_parallel_build yes test.run yes test.target check post-destroot { system "ranlib ${destroot}${prefix}/lib/libpng12.a" set docdir ${prefix}/share/doc/${name}-${version} xinstall -d ${destroot}${docdir}/examples xinstall -m 0644 -W ${worksrcpath} \ ANNOUNCE \ CHANGES \ KNOWNBUG \ LICENSE \ README \ TODO \ ${destroot}${docdir} xinstall -m 0644 ${worksrcpath}/example.c ${destroot}${docdir}/examples }