# -*- 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 # $Id$ PortSystem 1.0 name libcdr version 0.0.14 revision 1 categories graphics license {GPL-2.1+ LGPL-2.1+ MPL-1.1+} maintainers devans openmaintainer platforms darwin homepage http://www.freedesktop.org/wiki/Software/libcdr master_sites http://dev-www.libreoffice.org/src/ description \ Libcdr is a library and a set of tools for reading and converting binary files \ produced by Corel DRAW. long_description \ ${description} use_xz yes checksums sha256 720b693ba5e777f099f41ecd40418a16674ab29d823f7d62a23be170781dd8a0 \ rmd160 0e6bfc2f10c7ee3ff312e4d4a3eac467bdd5fe6a depends_build port:pkgconfig depends_lib port:boost \ port:icu \ port:libwpd \ port:libwpg \ port:lcms2 \ port:zlib configure.args --disable-werror \ --without-docs if {${os.major} > 10 && [string match "*clang*" ${configure.compiler}]} { configure.cxxflags-append -std=c++11 } else { configure.cxxflags-append -Wno-long-long } variant docs description {Build reference documentation} { depends_build-append port:doxygen configure.args-replace --without-docs --with-docs } livecheck.type regex livecheck.url ${master_sites} livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"