[138016] trunk/dports/security/sguil-client/Portfile
khindenburg at macports.org
khindenburg at macports.org
Thu Jun 25 17:54:53 PDT 2015
Revision: 138016
https://trac.macports.org/changeset/138016
Author: khindenburg at macports.org
Date: 2015-06-25 17:54:52 -0700 (Thu, 25 Jun 2015)
Log Message:
-----------
sguil-client: add modeline and whitespace changes
Modified Paths:
--------------
trunk/dports/security/sguil-client/Portfile
Modified: trunk/dports/security/sguil-client/Portfile
===================================================================
--- trunk/dports/security/sguil-client/Portfile 2015-06-26 00:47:26 UTC (rev 138015)
+++ trunk/dports/security/sguil-client/Portfile 2015-06-26 00:54:52 UTC (rev 138016)
@@ -1,3 +1,4 @@
+# -*- 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
# $Id$
PortSystem 1.0
@@ -2,53 +3,53 @@
-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
+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
+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
+ 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
+ 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
+ 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
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150625/6711c85c/attachment.html>
More information about the macports-changes
mailing list