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$ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | PortGroup cmake 1.0 |
---|
6 | |
---|
7 | name libpicviz |
---|
8 | version 0.6.1 |
---|
9 | categories graphics net |
---|
10 | platforms darwin |
---|
11 | maintainers yahoo.fr:jul_bsd openmaintainer |
---|
12 | description (lib) Picviz can help you to understand what is \ |
---|
13 | happening on your network and machines by \ |
---|
14 | visualizing events in multi-dimensions with the \ |
---|
15 | help of parallel coordinates plot. |
---|
16 | long_description ${description} |
---|
17 | license GPL-3+ + Specific Picviz license terms |
---|
18 | homepage http://www.picviz.com/en/community/picviz/picviz.html |
---|
19 | master_sites http://www.picviz.com/downloads/ |
---|
20 | distname picviz-latest |
---|
21 | extract.suffix .tar.bz2 |
---|
22 | worksrcdir ${distname}/libpicviz |
---|
23 | |
---|
24 | checksums rmd160 232491961385208b9d19015de1db7171949e973a \ |
---|
25 | sha256 3fdc4f60c821f377514ccd5ceacf83b197e747ea928e6f80e020c25395a43b00 |
---|
26 | |
---|
27 | depends_lib port:pcre port:libevent port:cairo |
---|
28 | |
---|
29 | patchfiles patch-src-pgdl-lexer_l.diff patch-src-render_c.diff |
---|
30 | |
---|
31 | ## Not working, so post-patch reinplace |
---|
32 | #build.args-append LD_FLAGS="-L${prefix}/lib -lpcre" |
---|
33 | |
---|
34 | post-patch { |
---|
35 | #reinplace "s|$|-L${prefix}/lib -lpcre|" ${worksrcpath}/src/CMakeFiles/picviz.dir/link.txt |
---|
36 | reinplace "s|#set(CMAKE_SHARED_LINKER_FLAGS \"-lm -lfl -ly\")|set(CMAKE_SHARED_LINKER_FLAGS \"-lm -lfl -ly -L ${prefix}/lib -lpcre\")|" ${worksrcpath}/src/CMakeLists.txt |
---|
37 | } |
---|
38 | |
---|
39 | post-destroot { |
---|
40 | xinstall -d ${destroot}${prefix}/share/doc/${name} |
---|
41 | copy ${worksrcpath}/README ${destroot}${prefix}/share/doc/${name}/ |
---|
42 | copy ${worksrcpath}/NEWS ${destroot}${prefix}/share/doc/${name}/ |
---|
43 | } |
---|
44 | |
---|
45 | default_variants +plplot |
---|
46 | |
---|
47 | variant plplot description { use plplot rendering } { |
---|
48 | depends_lib-append port:plplot |
---|
49 | ## FIXME! option to enable it and create /opt/local/lib/LIBPICVIZ/libpicvizoutplplot.so |
---|
50 | } |
---|
51 | |
---|
52 | livecheck.type none |
---|