[61832] trunk/dports/net/py26-scapy/Portfile

ecronin at macports.org ecronin at macports.org
Mon Dec 21 13:29:25 PST 2009


Revision: 61832
          http://trac.macports.org/changeset/61832
Author:   ecronin at macports.org
Date:     2009-12-21 13:29:24 -0800 (Mon, 21 Dec 2009)
Log Message:
-----------
net/py26-scapy: add links to binaries in normal path, add -2.6 suffix so it doesn't conflict with net/scapy

Modified Paths:
--------------
    trunk/dports/net/py26-scapy/Portfile

Modified: trunk/dports/net/py26-scapy/Portfile
===================================================================
--- trunk/dports/net/py26-scapy/Portfile	2009-12-21 21:28:16 UTC (rev 61831)
+++ trunk/dports/net/py26-scapy/Portfile	2009-12-21 21:29:24 UTC (rev 61832)
@@ -5,8 +5,8 @@
 PortGroup	      python26 1.0
 
 name		      py26-scapy
-conflicts         scapy
 version		      2.0.1
+revision          1
 categories	      net security python
 platforms	      darwin
 maintainers	      pmq
@@ -38,3 +38,11 @@
                       port:py26-gnuplot     port:py26-pyx \
                       path:bin/dot:graphviz
 
+post-destroot {
+        ln -s ${python.prefix}/bin/scapy \
+              ${destroot}${prefix}/bin/scapy-${python.branch}
+        ln -s ${python.prefix}/bin/UTscapy \
+              ${destroot}${prefix}/bin/UTscapy
+        ln -s ${python.prefix}/share/man/man1/scapy.1.gz \
+              ${destroot}${prefix}/share/man/man1/scapy.1.gz
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20091221/a23f8e6b/attachment.html>


More information about the macports-changes mailing list