# -*- 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
# requires support for C++11
PortGroup compiler_blacklist_versions 1.0
maintainers {zip.com.au:cbradney @cbradney} openmaintainer
homepage https://wiki.documentfoundation.org/DLP/Libraries/${name}
master_sites http://dev-www.libreoffice.org/src/${name}
description libfreehand is a library and a set of tools for reading and converting binary files \
produced by Aldus/Macromedia/Adobe FreeHand.
long_description ${description}
checksums rmd160 192b04b4aa85a6d3e7f1200aad7588e72978a329 \
sha256 0e422d1564a6dbf22a9af598535425271e583514c0f7ba7d9091676420de34ac \
depends_lib port:librevenge \
# blacklist compilers with known problems on older systems
compiler.blacklist-append *gcc-3.* *gcc-4.* {clang < 300}
configure.args --disable-werror \
variant docs description {Build API documentation} {
depends_build-append port:doxygen
configure.args-replace --without-docs --with-docs
livecheck.url ${master_sites}
livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"