[88860] trunk/dports/python/py-pyx/Portfile

phw at macports.org phw at macports.org
Fri Jan 13 10:52:39 PST 2012


Revision: 88860
          http://trac.macports.org/changeset/88860
Author:   phw at macports.org
Date:     2012-01-13 10:52:36 -0800 (Fri, 13 Jan 2012)
Log Message:
-----------
py-pyx: forced default version, when no specific python name is set

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

Modified: trunk/dports/python/py-pyx/Portfile
===================================================================
--- trunk/dports/python/py-pyx/Portfile	2012-01-13 16:10:16 UTC (rev 88859)
+++ trunk/dports/python/py-pyx/Portfile	2012-01-13 18:52:36 UTC (rev 88860)
@@ -28,6 +28,10 @@
 
 depends_lib-append	bin:tex:texlive
 
+if {${subport} == ${name}} {
+    set name py${python.default_version}-pyx
+}
+
 post-destroot {
     xinstall -d ${destroot}${prefix}/share/doc/${name}
     xinstall -m 644 -W ${worksrcpath} INSTALL CHANGES README AUTHORS LICENSE \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120113/2e890a66/attachment.html>


More information about the macports-changes mailing list