Ticket #25905: Portfile.2

File Portfile.2, 2.0 KB (added by jul_bsd@…, 10 years ago)

picviz-cli

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$
3
4PortSystem          1.0
5
6name                picviz-cli
7version             0.6.1
8categories          graphics net
9platforms           darwin
10maintainers         yahoo.fr:jul_bsd openmaintainer
11description         (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.
15long_description    ${description}
16license             GPL-3+ + Specific Picviz license terms
17homepage            http://www.picviz.com/en/community/picviz/picviz.html
18master_sites        http://www.picviz.com/downloads/
19distname            picviz-latest
20extract.suffix      .tar.bz2
21worksrcdir          ${distname}/picviz-cli/src
22
23checksums           rmd160  232491961385208b9d19015de1db7171949e973a \
24                    sha256  3fdc4f60c821f377514ccd5ceacf83b197e747ea928e6f80e020c25395a43b00
25
26depends_lib         port:libpicviz
27#depends_run         bin:dot:graphviz
28
29use_configure       no
30
31post-build {
32    reinplace "s|install pcv /usr/local/bin|install pcv ${destroot}${prefix}/bin|" \
33        ${worksrcpath}/Makefile
34}
35
36post-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
44notes "
45You can find examples of picviz use also on
46Know Your Tools: Picviz by Honeynet project, https://www.honeynet.org/node/499
47
48Typical 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
55livecheck.type     none