# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4

PortSystem          1.0

PortGroup           github      1.0
PortGroup           makefile    1.0

github.setup        Matthias-Wandel jhead 3.08
github.tarball_from archive
revision            0

homepage            https://www.sentex.net/~mwandel/${name}/

description         \
    Command line program to display and manipupate Exif headers of jpeg files

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.

categories          graphics
installs_libs       no
license             public-domain
maintainers         nomaintainer

checksums           rmd160 87208d6b4f3f7ebf650bc8110c2b5e282b0da16c \
                    sha256 999a81b489c7b2a7264118f194359ecf4c1b714996a2790ff6d5d2f3940f1e9f \
                    size   1146535

destroot {
    xinstall -m 0755 ${worksrcpath}/${name} \
        ${destroot}${prefix}/bin

    xinstall -m 0644 ${worksrcpath}/${name}.1 \
        ${destroot}${prefix}/share/man/man1

    xinstall -d -m 0755 ${destroot}${prefix}/share/doc/${name}
    xinstall -m 0644 -W ${worksrcpath} changes.txt readme.txt usage.html \
        ${destroot}${prefix}/share/doc/${name}
}