[52430] trunk/dports/lang/python26/Portfile

blb at macports.org blb at macports.org
Mon Jun 15 23:23:24 PDT 2009


Revision: 52430
          http://trac.macports.org/changeset/52430
Author:   blb at macports.org
Date:     2009-06-15 23:23:24 -0700 (Mon, 15 Jun 2009)
Log Message:
-----------
lang/python26 - also get 2to3 script (as 2to3-2.6) visbility in ${prefix}/bin; ticket #19575

Modified Paths:
--------------
    trunk/dports/lang/python26/Portfile

Modified: trunk/dports/lang/python26/Portfile
===================================================================
--- trunk/dports/lang/python26/Portfile	2009-06-16 06:22:52 UTC (rev 52429)
+++ trunk/dports/lang/python26/Portfile	2009-06-16 06:23:24 UTC (rev 52430)
@@ -5,7 +5,7 @@
 
 name                    python26
 version                 2.6.2
-revision                2
+revision                3
 set major               [lindex [split $version .] 0]
 set branch              [join [lrange [split ${version} .] 0 1] .]
 categories              lang
@@ -88,7 +88,8 @@
    }
 
    ln -s ${framewdir}/share/man/man1/python.1 ${destroot}${prefix}/share/man/man1/python${branch}.1
-   ln -s ${framewdir}/Python ${destroot}${prefix}/lib/libpython2.6.dylib
+   ln -s ${framewdir}/Python ${destroot}${prefix}/lib/libpython${branch}.dylib
+   ln -s ${framewdir}/bin/2to3 ${destroot}${prefix}/bin/2to3-${branch}
 
    # Without this, LINKFORSHARED is set to 
    # ... $(PYTHONFRAMEWORKDIR)/Versions/$(VERSION)/$(PYTHONFRAMEWORK)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090615/af184685/attachment.html>


More information about the macports-changes mailing list