# $Id: Portfile 20309 2006-11-01 21:25:57Z blair@macports.org $ PortSystem 1.0 name dcraw version 8.19 categories graphics maintainers darwinports@opendarwin.org description Raw Digital Photo Decoding, supporting 209 cameras long_description ${description} platforms darwin homepage http://www.cybercom.net/~dcoffin/dcraw/ # dcraw is provided as raw source and man page (no tarball/zipfile), so # a tarball is placed here to avoid the regular checksum issues when the .c # file is updated to a new version master_sites http://www.opendarwin.org/~blb/ use_bzip2 yes checksums md5 fc0c316efc0babf2efaab49b9ac6d048 \ sha1 3879b53b9a032f11e653f5342be9cde00d9fceb1 \ rmd160 1a454ab230ca5fe950bf664cccf24a939cf59fdb depends_lib port:jpeg port:lcms use_configure no build { cd ${worksrcpath} system "cc -o dcraw -O3 dcraw.c -ljpeg -llcms -I${prefix}/include \ -L${prefix}/lib" } destroot { xinstall -m 755 -d ${destroot}${prefix}/bin \ ${destroot}${prefix}/share/man/man1 xinstall -m 755 -W ${worksrcpath} dcraw ${destroot}${prefix}/bin xinstall -m 644 -W ${worksrcpath} dcraw.1 \ ${destroot}${prefix}/share/man/man1 }