a project to simplify installation of open source software
on Mac OS X and Darwin
# $Id: Portfile 22421 2007-02-28 17:55:23Z blair@macports.org $
PortSystem 1.0
name jhead
version 2.7
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 be10a197a8858de5d86ae89219e806fb \
sha1 978a70e8abcf275b39c8ccb27893962b5c4dff4a
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}
}
}