# -*- 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 PortSystem 1.0 PortGroup boost 1.0 name libcdr-0.1 set dname libcdr version 0.1.7 revision 4 categories graphics license {GPL-2.1+ LGPL-2.1+ MPL-1.1+} maintainers {devans @dbevans} openmaintainer platforms darwin homepage https://wiki.documentfoundation.org/DLP/Libraries/${dname} master_sites http://dev-www.libreoffice.org/src/${dname} 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 distname ${dname}-${version} checksums sha256 5666249d613466b9aa1e987ea4109c04365866e9277d80f6cd9663e86b8ecdd4 \ rmd160 5c6b14b5a42db63f52f639a10f15f0b91de55d15 \ size 618528 depends_build port:pkgconfig # this port only uses boost headers during build # and does not link with any boost libraries # no need to rebuild due to boost library ABI changes boost.depends_type build depends_lib port:librevenge \ path:lib/pkgconfig/icu-uc.pc:icu \ port:lcms2 \ port:zlib compiler.cxx_standard 2011 # The packaged glibtool in 0.1.1 doesn't pass --stdlib=libc++ down at link time use_autoreconf yes autoreconf.args -fvi configure.args --disable-werror \ --disable-silent-rules \ --disable-tests \ --without-docs variant docs description {Build API documentation} { depends_build-append path:bin/doxygen:doxygen configure.args-replace --without-docs --with-docs } livecheck.type regex livecheck.url ${master_sites} livecheck.regex "${dname}-(\\d+(?:\\.\\d+)*)${extract.suffix}"