# $Id$ PortSystem 1.0 name sguil-client version 0.6.1 revision 1 categories security net license QPL-1 Permissive maintainers nomaintainer description GUI Console for Sguil Network Security Monitor long_description ${description} platforms darwin supported_archs noarch homepage http://sguil.sf.net master_sites sourceforge:sguil checksums md5 68d209f882d4c8fa9c200ba0924b00b3 worksrcdir sguil-${version} depends_build port:itcl \ port:tclx \ port:itk \ port:iwidgets \ port:tcllib \ port:tcl-tls \ port:openssl use_configure no build {} post-patch { reinplace "s|set SGUILLIB ./lib|set SGUILLIB ${prefix}/lib/sguil|g" \ ${worksrcpath}/client/sguil.conf reinplace "s|set ETHEREAL_PATH /usr/sbin/ethereal|set ETHEREAL_PATH ${prefix}/bin/ethereal|g" \ ${worksrcpath}/client/sguil.conf reinplace "s|set SERVERHOST demo.sguil.net|set SERVERHOST localhost|g" \ ${worksrcpath}/client/sguil.conf reinplace "s|set MAILSERVER mail.example.com|set MAILSERVER localhost|g" \ ${worksrcpath}/client/sguil.conf } destroot { set sguilbin ${prefix}/bin set sguillib ${prefix}/lib/sguil set sguildoc ${prefix}/share/doc/sguil set sguiletc ${prefix}/etc/sguil xinstall -m 755 -d ${destroot}${sguilbin} xinstall -m 755 ${worksrcpath}/client/sguil.tk ${destroot}${sguilbin} xinstall -m 755 -d ${destroot}${sguillib} system "cp -R ${worksrcpath}/client/lib/* ${destroot}${sguillib}" xinstall -m 755 -d ${destroot}${sguildoc} system "cp ${worksrcpath}/doc/* ${destroot}${sguildoc}" xinstall -m 755 -d ${destroot}${sguiletc} xinstall -m 755 ${worksrcpath}/client/sguil.conf ${destroot}${sguiletc}/sguil.conf.sample }