[86252] trunk/dports/python/py-crypto/Portfile
ram at macports.org
ram at macports.org
Sun Oct 23 16:30:27 PDT 2011
Revision: 86252
http://trac.macports.org/changeset/86252
Author: ram at macports.org
Date: 2011-10-23 16:30:23 -0700 (Sun, 23 Oct 2011)
Log Message:
-----------
python/py-crypto: install docs in subport directory, closes #31741
Modified Paths:
--------------
trunk/dports/python/py-crypto/Portfile
Modified: trunk/dports/python/py-crypto/Portfile
===================================================================
--- trunk/dports/python/py-crypto/Portfile 2011-10-23 22:46:59 UTC (rev 86251)
+++ trunk/dports/python/py-crypto/Portfile 2011-10-23 23:30:23 UTC (rev 86252)
@@ -5,6 +5,7 @@
name py-crypto
version 2.4
+revision 1
categories python security
license public-domain PSF
@@ -29,10 +30,12 @@
test.run yes
test.target test
-post-destroot {
- xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
- xinstall -m 644 -W ${worksrcpath} ACKS ChangeLog COPYRIGHT README TODO \
- ${destroot}${prefix}/share/doc/${name}
+if {${name} != ${subport}} {
+ post-destroot {
+ xinstall -m 755 -d ${destroot}${prefix}/share/doc/${subport}
+ xinstall -m 644 -W ${worksrcpath} ACKS ChangeLog COPYRIGHT README TODO \
+ ${destroot}${prefix}/share/doc/${subport}
+ }
}
livecheck.type regex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20111023/9822339f/attachment.html>
More information about the macports-changes
mailing list