Modified: trunk/dports/python/py-m2crypto/Portfile (86881 => 86882)
--- trunk/dports/python/py-m2crypto/Portfile 2011-11-06 17:58:16 UTC (rev 86881)
+++ trunk/dports/python/py-m2crypto/Portfile 2011-11-06 17:58:48 UTC (rev 86882)
@@ -23,23 +23,23 @@
rmd160 313dcab450846a0363e7192a10364bdfd5dfae85
if {$subport != $name} {
- depends_lib-append port:swig-python \
- port:openssl \
- port:py${python.version}-distribute
+ depends_lib-append port:swig-python \
+ port:openssl \
+ port:py${python.version}-distribute
- post-patch {
- reinplace "s|#extra_link_args|extra_link_args|g" ${worksrcpath}/setup.py
- reinplace "s|self.openssl = '/usr'|self.openssl = '${prefix}'|g" \
- ${worksrcpath}/setup.py
- }
-
- post-destroot {
- if {${name} != ${subport}} {
+ post-patch {
+ reinplace "s|#extra_link_args|extra_link_args|g" ${worksrcpath}/setup.py
+ reinplace "s|self.openssl = '/usr'|self.openssl = '${prefix}'|g" \
+ ${worksrcpath}/setup.py
+ }
+
+ post-destroot {
+ if {${name} != ${subport}} {
xinstall -m 755 -d ${destroot}${prefix}/share/doc/${subport}
eval file copy [glob ${worksrcpath}/doc/*] \
${destroot}${prefix}/share/doc/${subport}
- }
}
+ }
}
livecheck.type regex