[92476] trunk/dports/python/py-pylibpcap/Portfile
jmr at macports.org
jmr at macports.org
Sun Apr 29 14:29:11 PDT 2012
Revision: 92476
https://trac.macports.org/changeset/92476
Author: jmr at macports.org
Date: 2012-04-29 14:29:11 -0700 (Sun, 29 Apr 2012)
Log Message:
-----------
py-pylibpcap: fix stub
Modified Paths:
--------------
trunk/dports/python/py-pylibpcap/Portfile
Modified: trunk/dports/python/py-pylibpcap/Portfile
===================================================================
--- trunk/dports/python/py-pylibpcap/Portfile 2012-04-29 21:13:44 UTC (rev 92475)
+++ trunk/dports/python/py-pylibpcap/Portfile 2012-04-29 21:29:11 UTC (rev 92476)
@@ -25,13 +25,15 @@
python.versions 24 25 26 27
-depends_lib-append port:libpcap port:swig-python
+if {$subport != $name} {
+ depends_lib-append port:libpcap port:swig-python
-post-destroot {
- set sharedir ${destroot}${prefix}/share/doc/${subport}
- xinstall -d ${sharedir}
- xinstall -d ${sharedir}/examples
-
- xinstall -m 644 -W ${worksrcpath} COPYING PKG-INFO README ${sharedir}
- xinstall -m 755 -W ${worksrcpath}/examples findalldevs.py sniff.py ${sharedir}/examples
+ post-destroot {
+ set sharedir ${destroot}${prefix}/share/doc/${subport}
+ xinstall -d ${sharedir}
+ xinstall -d ${sharedir}/examples
+
+ xinstall -m 644 -W ${worksrcpath} COPYING PKG-INFO README ${sharedir}
+ xinstall -m 755 -W ${worksrcpath}/examples findalldevs.py sniff.py ${sharedir}/examples
+ }
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120429/f7e97e3d/attachment.html>
More information about the macports-changes
mailing list