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 | |
---|
6 | name picviz-cli |
---|
7 | version 0.6.1 |
---|
8 | categories graphics net |
---|
9 | platforms darwin |
---|
10 | maintainers yahoo.fr:jul_bsd openmaintainer |
---|
11 | description (cli) Picviz can help you to understand what is \ |
---|
12 | happening on your network and machines by \ |
---|
13 | visualizing events in multi-dimensions with the \ |
---|
14 | help of parallel coordinates plot. |
---|
15 | long_description ${description} |
---|
16 | license GPL-3+ + Specific Picviz license terms |
---|
17 | homepage http://www.picviz.com/en/community/picviz/picviz.html |
---|
18 | master_sites http://www.picviz.com/downloads/ |
---|
19 | distname picviz-latest |
---|
20 | extract.suffix .tar.bz2 |
---|
21 | worksrcdir ${distname}/picviz-cli/src |
---|
22 | |
---|
23 | checksums rmd160 232491961385208b9d19015de1db7171949e973a \ |
---|
24 | sha256 3fdc4f60c821f377514ccd5ceacf83b197e747ea928e6f80e020c25395a43b00 |
---|
25 | |
---|
26 | depends_lib port:libpicviz |
---|
27 | #depends_run bin:dot:graphviz |
---|
28 | |
---|
29 | use_configure no |
---|
30 | |
---|
31 | post-build { |
---|
32 | reinplace "s|install pcv /usr/local/bin|install pcv ${destroot}${prefix}/bin|" \ |
---|
33 | ${worksrcpath}/Makefile |
---|
34 | } |
---|
35 | |
---|
36 | post-destroot { |
---|
37 | xinstall -d ${destroot}${prefix}/share/man/man1 |
---|
38 | copy ${worksrcpath}/../doc/pcv.1 ${destroot}${prefix}/share/man/man1/ |
---|
39 | xinstall -d ${destroot}${prefix}/share/examples/${name} |
---|
40 | copy ${worksrcpath}/../samples ${destroot}${prefix}/share/examples/${name}/ |
---|
41 | copy ${worksrcpath}/../templates ${destroot}${prefix}/share/examples/${name}/ |
---|
42 | } |
---|
43 | |
---|
44 | notes " |
---|
45 | You can find examples of picviz use also on |
---|
46 | Know Your Tools: Picviz by Honeynet project, https://www.honeynet.org/node/499 |
---|
47 | |
---|
48 | Typical use |
---|
49 | $ pcv -Tpngcairo file.pgdl > file.png |
---|
50 | $ pcv -Tpngcairo file.pgdl -o file.png |
---|
51 | $ ${prefix}/bin/python2.7 ${prefix}/share/examples/picviz-parsers/syslog2picviz.py system.log > system.pcv |
---|
52 | $ pcv -d -Tpngcairo system.pcv > system.png |
---|
53 | " |
---|
54 | |
---|
55 | livecheck.type none |
---|