# -*- 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
license {GPL-2.1+ LGPL-2.1+ MPL-1.1+}
maintainers {devans @dbevans} openmaintainer
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 \
long_description ${description}
distname ${dname}-${version}
checksums sha256 e7a7e8b00a3df5798110024d7061fe9d1c3330277d2e4fa9213294f966a4a66d \
rmd160 8c271f0685c08c4574e5c74aa6634118e2bab987
depends_build port:pkgconfig \
depends_lib port:librevenge \
# The packaged glibtool in 0.1.1 doesn't pass --stdlib=libc++ down at link time
configure.args --disable-werror \
variant docs description {Build API documentation} {
depends_build-append port:doxygen
configure.args-replace --without-docs --with-docs
# delete binaries that conflict with libcdr
file delete -force ${destroot}${prefix}/bin
livecheck.url ${master_sites}