# -*- 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 legacysupport 1.0
maintainers {devans @dbevans} openmaintainer
homepage https://libopenraw.freedesktop.org/${name}/
master_sites https://libopenraw.freedesktop.org/download/
checksums rmd160 e4e1fd4e12f6b1ced36e085f524884be45575aa6 \
sha256 dc82fc24c0540a44a63fa4ad21775d24e00e63f1dedd3e2ae6f7aa27583b711b \
description Exempi is an implementation of XMP.
long_description ${description} Version 2.4.x is based on Adobe XMP CC 2014.12.
if {[vercmp $xcodeversion 4.3] < 0 && [string match "*macports*" ${configure.compiler}]} {
# Xcode 4.2 fails with load commands in the newer toolchain
depends_build-append port:cctools
RANLIB=${prefix}/bin/ranlib
patchfiles limits.patch \
configure.args --enable-unittest=no \
variant unit_test description {Enable unit test} {
depends_lib-append port:boost
configure.args-delete --enable-unittest=no
configure.args-append --enable-unittest=yes
livecheck.url ${homepage}
livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"