[86882] trunk/dports/python/py-m2crypto/Portfile

ram at macports.org ram at macports.org
Sun Nov 6 09:58:48 PST 2011


Revision: 86882
          http://trac.macports.org/changeset/86882
Author:   ram at macports.org
Date:     2011-11-06 09:58:48 -0800 (Sun, 06 Nov 2011)
Log Message:
-----------
python/py-m2crypto: whitespace

Modified Paths:
--------------
    trunk/dports/python/py-m2crypto/Portfile

Modified: trunk/dports/python/py-m2crypto/Portfile
===================================================================
--- 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20111106/a19d1d82/attachment.html>


More information about the macports-changes mailing list