# $Id: Portfile,v 1.11 2005/08/09 06:55:33 cjr Exp $ PortSystem 1.0 name jhead version 2.4 categories graphics platforms darwin maintainers simon@cotsworth.com description Program for extracting Digicam setting information from Exif Jpeg headers. long_description ${name} is used to display and manipulate data contained in \ the Exif header of jpeg images from digital cameras. By \ default, jhead displays the more useful camera settings \ from the file in a user friendly format. \ jhead can also be used to manipulate some aspects of the \ image relating to jpeg and Exif headers, such as changing \ the internal timestamps, removing the thumbnail, or \ transferring Exif headers back into edited images after \ graphical editors deleted the exif header. jhead can also \ be used to launch other programs, similar in style to \ the UNIX find command, but much simpler. homepage http://www.sentex.net/~mwandel/${name}/ master_sites ${homepage} checksums md5 410d01fd323ce8733480816de3621cc0 \ sha1 8e484aa7a0a1f6216e28ae81c86f186ef5a13ba1 use_configure no build.args CFLAGS=-03 build.target jhead destroot { xinstall -m 0755 ${worksrcpath}/${name} \ ${destroot}${prefix}/bin system "gunzip ${worksrcpath}/${name}.1.gz" xinstall -m 0644 ${worksrcpath}/${name}.1 \ ${destroot}${prefix}/share/man/man1 xinstall -d -m 0755 ${destroot}${prefix}/share/doc/${name} foreach doc [glob ${worksrcpath}/*.\[h-z\]\[a-z\]*] { xinstall -m 0644 $doc \ ${destroot}${prefix}/share/doc/${name} } }