source: trunk/dports/security/sguil-client/Portfile @ 18517

Last change on this file since 18517 was 18517, checked in by markd, 14 years ago

Bug: NONE
Submitted by: markd@…
Reviewed by:
Approved by:
Obtained from:
Move sguil-client to security section.

  • Property svn:eol-style set to native
File size: 1.6 KB
Line 
1# $Id: Portfile,v 1.1 2006/06/25 08:30:19 markd Exp $
2
3PortSystem 1.0
4name                    sguil-client
5version                 0.6.1
6categories              security net
7maintainers             darwinports@opendarwin.org
8description             GUI Console for Sguil Network Security Monitor
9platforms               darwin
10homepage                http://sguil.sf.net
11master_sites            sourceforge:sguil
12checksums               md5 68d209f882d4c8fa9c200ba0924b00b3
13worksrcdir              sguil-${version}
14depends_build           port:itcl \
15                        port:tclx \
16                        port:itk \
17                        port:iwidgets \
18                        port:tcllib \
19                        port:tcl-tls \
20                        port:openssl
21
22use_configure           no
23build {}
24
25post-patch {
26        reinplace "s|set SGUILLIB ./lib|set SGUILLIB ${prefix}/lib/sguil|g" \
27                ${worksrcpath}/client/sguil.conf
28        reinplace "s|set ETHEREAL_PATH /usr/sbin/ethereal|set ETHEREAL_PATH ${prefix}/bin/ethereal|g" \
29                ${worksrcpath}/client/sguil.conf
30        reinplace "s|set SERVERHOST demo.sguil.net|set SERVERHOST localhost|g" \
31                ${worksrcpath}/client/sguil.conf
32        reinplace "s|set MAILSERVER mail.example.com|set MAILSERVER localhost|g" \
33                ${worksrcpath}/client/sguil.conf
34}
35
36destroot {
37
38set sguilbin  ${prefix}/bin
39set sguillib  ${prefix}/lib/sguil
40set sguildoc  ${prefix}/share/doc/sguil
41set sguiletc  ${prefix}/etc/sguil
42
43        xinstall -m 755 -d ${destroot}${sguilbin}
44        xinstall -m 755 ${worksrcpath}/client/sguil.tk ${destroot}${sguilbin}
45        xinstall -m 755 -d ${destroot}${sguillib}
46        system "cp -R ${worksrcpath}/client/lib/* ${destroot}${sguillib}"
47        xinstall -m 755 -d ${destroot}${sguildoc}
48        system "cp ${worksrcpath}/doc/* ${destroot}${sguildoc}"
49        xinstall -m 755 -d ${destroot}${sguiletc}
50        xinstall -m 755 ${worksrcpath}/client/sguil.conf ${destroot}${sguiletc}/sguil.conf.sample
51}
Note: See TracBrowser for help on using the repository browser.