package require port 1.0 portname libpng portversion 1.2.4 categories graphics maintainers eric@opendarwin.org description "Library for manipulating PNG images" 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/ # XXX this should probably become unnecessary, set as a reasonable default distname ${portname}-${portversion} # XXX should be: # checksums ${distname}${extract_sufx} md5 bd37cfab53738ab648a7b0ee2450d7d5 # but use_bzip2 doesn't set extract_sufx checksums ${distname}.tar.bz2 md5 bd37cfab53738ab648a7b0ee2450d7d5 configure { system cp \ ${portpath}/${workdir}/${worksrcdir}/scripts/makefile.darwin \ ${portpath}/${workdir}/${worksrcdir}/Makefile }