source: trunk/dports/graphics/lib2geom/Portfile

Last change on this file was 143515, checked in by devans@…, 20 months ago

lib2geom: increment revision to rebuild with gsl 2.1.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.9 KB
Line 
1# -*- 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
2# $Id: Portfile 143515 2015-12-14 04:51:25Z ryandesign@macports.org $
3
4PortSystem      1.0
5PortGroup       cmake 1.0
6
7cmake.out_of_source yes
8
9name            lib2geom
10bzr.revision    2424
11version         0.3-${bzr.revision}
12revision        1
13license         {LGPL-2.1 MPL-1.1}
14maintainers     devans openmaintainer
15categories      graphics
16platforms       darwin
17homepage        http://lib2geom.sourceforge.net/
18
19description     lib2geom is a library providing a robust 2D computational geometry framework.
20
21long_description \
22                lib2geom (2Geom in private life) is a library initially developed for Inkscape but which \
23                will provide a robust 2D computational geometry framework for any application. It is not a \
24                rendering library, but instead concentrates on high level algorithms such as computing arc length.
25
26fetch.type      bzr
27bzr.url         lp:lib2geom
28
29depends_build-append \
30                port:pkgconfig
31
32depends_lib     port:gtkmm \
33                port:boost \
34                port:gsl
35
36
37patchfiles      patch-Doxyfile.diff \
38                patch-src-2geom-CMakeLists.txt.diff \
39                patch-pow-ambiguous.diff
40
41configure.args-append \
42                -D2GEOM_BUILD_SHARED=YES
43
44test.run        yes
45test.dir        ${workpath}/build/src/2geom/tests
46test.cmd        ctest
47test.target
48
49variant doc description {Generate and install HTML API documentation} {
50    depends_build-append \
51                path:bin/dot:graphviz \
52                port:doxygen
53
54    post-build {
55        system -W ${worksrcpath} "${prefix}/bin/doxygen"
56    }
57
58    post-destroot {
59        xinstall -d ${destroot}${prefix}/share/doc/${name}/html
60        xinstall -m 644 {*}[glob ${worksrcpath}/doc/html/*] \
61            ${destroot}${prefix}/share/doc/${name}/html
62    }
63}
64
65livecheck.type  none
Note: See TracBrowser for help on using the repository browser.