# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
# $Id: Portfile 50421 2009-04-30 20:26:18Z mcalhoun@macports.org $

PortSystem      1.0
PortGroup       muniversal 1.0

name            libexif
version         0.6.17
categories      graphics
maintainers     nomaintainer
description     EXIF parsing library

long_description \
    Most digital cameras produce EXIF files, which are JPEG files \
    with extra tags that contain information about the image. The \
    EXIF library allows you to parse an EXIF file and read the \
    data from those tags.

homepage        http://libexif.sourceforge.net/
platforms       darwin
master_sites    sourceforge
use_bzip2       yes

checksums       md5     f7cf4e623a48c9a3b13f7f95f0a41015 \
                sha1    dbb8a0e977768b76e26d66693c63ea25768ee648 \
                rmd160  6873b5160b300b85ad58e3dac6e32f7648a89c04

depends_build   port:pkgconfig
depends_lib     port:gettext \
                port:libiconv

configure.args  --with-doc-dir=${prefix}/share/doc/${name}-${version} \
                --disable-docs

use_parallel_build  yes

test.run        yes
test.target     check

variant doc description {Install extra documentation} {
    depends_build-append    port:doxygen
    configure.args-delete   --disable-docs
}
