# -*- 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
PortGroup active_variants 1.1
maintainers {devans @dbevans} openmaintainer
description Unidentified Flying Raw (UFRaw)
long_description The Unidentified Flying Raw (UFRaw) is a utility to read and \
manipulate raw images from digital cameras. It can be used on \
its own or as a Gimp plug-in. It reads raw images using Dave Coffin's \
raw conversion utility - DCRaw. UFRaw supports basic color management \
using Little CMS, allowing the user to apply color profiles.
homepage http://ufraw.sourceforge.net
master_sites sourceforge:project/ufraw/ufraw/${distname}
checksums rmd160 2588acde88dda8c30310b967e7185862072c124c \
sha256 f7abd28ce587db2a74b4c54149bd8a2523a7ddc09bedf4f923246ff0ae09a25e
depends_build port:pkgconfig \
depends_lib port:cfitsio \
path:lib/pkgconfig/gimpui-2.0.pc:gimp2 \
patchfiles patch-dcraw.cc.diff \
patch-ufraw_exiv2.cc.diff \
patch-ufraw-gimp.c.diff \
patchfiles-append snowleopard-strnlen.patch
# GIMP plugin is incompatible with new raw file API in gimp 2.10+, disable
# https://sourceforge.net/p/ufraw/feature-requests/323/
configure.args --enable-contras \
# the following dummy variants are used
# to identify this port's binary dependencies
# based on which variant of gtk2 is used for the build