# -*- 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 PortGroup cmake 1.0 cmake.out_of_source yes name lib2geom bzr.revision 2424 version 0.3-${bzr.revision} revision 1 license {LGPL-2.1 MPL-1.1} maintainers devans openmaintainer categories graphics platforms darwin homepage http://lib2geom.sourceforge.net/ description lib2geom is a library providing a robust 2D computational geometry framework. long_description \ lib2geom (2Geom in private life) is a library initially developed for Inkscape but which \ will provide a robust 2D computational geometry framework for any application. It is not a \ rendering library, but instead concentrates on high level algorithms such as computing arc length. fetch.type bzr bzr.url lp:lib2geom depends_build-append \ port:pkgconfig depends_lib port:gtkmm \ port:boost \ port:gsl patchfiles patch-Doxyfile.diff \ patch-src-2geom-CMakeLists.txt.diff \ patch-pow-ambiguous.diff configure.args-append \ -D2GEOM_BUILD_SHARED=YES test.run yes test.dir ${workpath}/build/src/2geom/tests test.cmd ctest test.target variant doc description {Generate and install HTML API documentation} { depends_build-append \ path:bin/dot:graphviz \ port:doxygen post-build { system -W ${worksrcpath} "${prefix}/bin/doxygen" } post-destroot { xinstall -d ${destroot}${prefix}/share/doc/${name}/html xinstall -m 644 {*}[glob ${worksrcpath}/doc/html/*] \ ${destroot}${prefix}/share/doc/${name}/html } } livecheck.type none