[138333] trunk/dports/net/nsm-console/Portfile
ryandesign at macports.org
ryandesign at macports.org
Sun Jul 5 16:40:21 PDT 2015
Revision: 138333
https://trac.macports.org/changeset/138333
Author: ryandesign at macports.org
Date: 2015-07-05 16:40:21 -0700 (Sun, 05 Jul 2015)
Log Message:
-----------
nsm-console: simplify destroot; supported_archs noarch
Modified Paths:
--------------
trunk/dports/net/nsm-console/Portfile
Modified: trunk/dports/net/nsm-console/Portfile
===================================================================
--- trunk/dports/net/nsm-console/Portfile 2015-07-05 23:29:48 UTC (rev 138332)
+++ trunk/dports/net/nsm-console/Portfile 2015-07-05 23:40:21 UTC (rev 138333)
@@ -10,6 +10,8 @@
platforms darwin
maintainers nomaintainer
license LGPL
+supported_archs noarch
+
description framework for performing analysis on packet capture files
long_description NSM-Console (Network Security Monitoring Console) \
is a framework for performing analysis on packet \
@@ -53,17 +55,19 @@
destroot {
xinstall -m 755 ${worksrcpath}/nsm \
${destroot}${prefix}/bin
- xinstall -d ${destroot}${prefix}/share/doc/${name}
- foreach f {CHANGELOG TODO docs/NSM-Console.pdf} {
- xinstall -m 644 ${worksrcpath}/$f \
- ${destroot}${prefix}/share/doc/${name}
- }
+ set docdir ${prefix}/share/doc/${subport}
+
+ xinstall -d ${destroot}${docdir}
+ xinstall -m 644 -W ${worksrcpath} \
+ CHANGELOG TODO docs/NSM-Console.pdf \
+ ${destroot}${docdir}
+
xinstall -d ${destroot}${ruby.lib}/${name}
- file copy ${worksrcpath}/lib \
- ${destroot}${ruby.lib}/${name}/
+ copy ${worksrcpath}/lib ${destroot}${ruby.lib}/${name}/
+
xinstall -d ${destroot}${prefix}/share/${name}
- file copy ${worksrcpath}/modules \
- ${destroot}${prefix}/share/${name}/
+ copy ${worksrcpath}/modules ${destroot}${prefix}/share/${name}/
+
xinstall -d -m 1777 ${destroot}${prefix}/var/log/${name}
destroot.keepdirs-append ${destroot}${prefix}/var/log/${name}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150705/df3a7267/attachment.html>
More information about the macports-changes
mailing list