Changeset 59140


Ignore:
Timestamp:
Oct 10, 2009, 6:47:49 AM (10 years ago)
Author:
blb@…
Message:

devel/scons - switch to python 2.6, ticket #21524 (maintainer timeout)

Location:
trunk/dports/devel/scons
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/devel/scons/Portfile

    r51955 r59140  
    22
    33PortSystem                      1.0
    4 PortGroup                       python25 1.0
     4PortGroup                       python26 1.0
    55
    66name                            scons
     
    2525                    rmd160  69c1fcc7c3af55c801f26fc7370dd01a17dc2327
    2626
    27 patchfiles                      patch-setup.py patch-scons patch-sconsign
     27patchfiles                      patch-setup.py patch-scons patch-sconsign patch-scons-time
    2828post-patch {
    2929        reinplace "s|@@PREFIX@@|${prefix}|g" ${worksrcpath}/script/scons \
    30                 ${worksrcpath}/script/sconsign
     30                ${worksrcpath}/script/sconsign ${worksrcpath}/script/scons-time
    3131}
    3232
     
    3636        xinstall -m 644 -W ${worksrcpath} CHANGES.txt LICENSE.txt README.txt \
    3737                RELEASE.txt ${destroot}${prefix}/share/doc/${name}
     38        foreach binfile [glob -tails -directory ${destroot}${python.prefix}/bin *] {
     39                ln -s ${python.prefix}/bin/${binfile} \
     40                        ${destroot}${prefix}/bin/${binfile}
     41        }
     42        foreach manfile [glob -tails -directory ${destroot}${python.prefix}/share/man/man1 *] {
     43                ln -s ${python.prefix}/share/man/man1/${manfile} \
     44                        ${destroot}${prefix}/share/man/man1/${manfile}
     45        }
    3846}
  • trunk/dports/devel/scons/files/patch-scons

    r37414 r59140  
    33@@ -1,4 +1,4 @@
    44-#! /usr/bin/env python
    5 +#!@@PREFIX@@/bin/python2.5
     5+#!@@PREFIX@@/bin/python2.6
    66 #
    77 # SCons - a Software Constructor
  • trunk/dports/devel/scons/files/patch-sconsign

    r37414 r59140  
    33@@ -1,4 +1,4 @@
    44-#! /usr/bin/env python
    5 +#!@@PREFIX@@/bin/python2.5
     5+#!@@PREFIX@@/bin/python2.6
    66 #
    77 # SCons - a Software Constructor
Note: See TracChangeset for help on using the changeset viewer.