# -*- 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 libvisio-0.1 set dname libvisio version 0.1.7 revision 8 categories graphics platforms darwin maintainers {devans @dbevans} openmaintainer license LGPL-2 description Libvisio is a C++ library for reading and parsing \ drawings in VSD (Visio) format. long_description ${description} VSD is the format used by Visio. homepage https://wiki.documentfoundation.org/DLP/Libraries/${dname} master_sites http://dev-www.libreoffice.org/src/${dname} use_xz yes distname ${dname}-${version} checksums sha256 8faf8df870cb27b09a787a1959d6c646faa44d0d8ab151883df408b7166bea4c \ rmd160 12b7a05e57ae93ead14ed1fb8aab6699cc4f0923 \ size 854296 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:libxml2 \ port:zlib patchfiles patch-ambiguous-pow.diff # requires C++11 as of version 0.1.6 compiler.cxx_standard 2011 # Version 0.1.1's glibtool doesn't know to pass -stdlib=... to the linker use_autoreconf yes autoreconf.args -fvi configure.args --without-docs \ --disable-silent-rules \ --disable-werror \ --disable-tests variant docs description {Build documentation using doxygen} { depends_build-append path:bin/doxygen:doxygen configure.args-delete --without-docs } livecheck.type regex livecheck.url [lindex ${master_sites} 0] livecheck.regex \"${dname}-(\[0-9.\]+)${extract.suffix}\"