[45228] trunk/dports/python/py26-virtualenv/Portfile

akitada at macports.org akitada at macports.org
Sun Jan 11 08:45:45 PST 2009


Revision: 45228
          http://trac.macports.org/changeset/45228
Author:   akitada at macports.org
Date:     2009-01-11 08:45:44 -0800 (Sun, 11 Jan 2009)
Log Message:
-----------
Changed bin names.

Modified Paths:
--------------
    trunk/dports/python/py26-virtualenv/Portfile

Modified: trunk/dports/python/py26-virtualenv/Portfile
===================================================================
--- trunk/dports/python/py26-virtualenv/Portfile	2009-01-11 15:52:38 UTC (rev 45227)
+++ trunk/dports/python/py26-virtualenv/Portfile	2009-01-11 16:45:44 UTC (rev 45228)
@@ -6,6 +6,7 @@
 
 name                py26-virtualenv
 version             1.3.2
+revision            1
 categories-append   devel
 platforms           darwin
 maintainers         akitada openmaintainer
@@ -21,16 +22,13 @@
                     rmd160 848466ac8950bdab46756b8a675d5f9f9da9a5ac
 
 post-destroot {
-    set PYTHON_VER 2.6
     xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
     foreach f [glob -directory ${worksrcpath}/docs *] {
         copy $f ${destroot}${prefix}/share/doc/${name}/[file tail $f]
     }
     foreach bin [glob -tails -directory ${destroot}${python.prefix}/bin *] {
-        ln -s ${python.prefix}/bin/${bin} ${destroot}${prefix}/bin/${bin}-${PYTHON_VER}
+        ln -s ${python.prefix}/bin/${bin} ${destroot}${prefix}/bin/${bin}${python.branch}
     }
-    # To avoid conflict with the other versions.
-    file delete ${destroot}${prefix}/bin/virtualenv
 }
 
 depends_lib-append  port:py26-setuptools
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090111/a75324f9/attachment.html>


More information about the macports-changes mailing list