Ticket #21524: scons.diff

File scons.diff, 2.5 KB (added by blb@…, 15 years ago)

diff to scons

  • files/patch-sconsign

     
    22+++ script/sconsign     2006-01-31 01:20:15.000000000 -0700
    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
    88 #
  • files/patch-scons

     
    22+++ script/scons        2006-01-31 01:20:07.000000000 -0700
    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
    88 #
  • files/patch-scons-time

     
     1--- script/scons-time.orig      2008-12-20 23:59:59.000000000 -0700
     2+++ script/scons-time   2009-09-20 23:13:30.000000000 -0600
     3@@ -1,4 +1,4 @@
     4-#!/usr/bin/env python
     5+#!@@PREFIX@@/bin/python2.6
     6 #
     7 # scons-time - run SCons timings and collect statistics
     8 #
  • Portfile

     
    11# $Id$
    22
    33PortSystem                      1.0
    4 PortGroup                       python25 1.0
     4PortGroup                       python26 1.0
    55
    66name                            scons
    77version                         1.2.0
     
    2424                    sha1    cd6be8698a384ea2ac4f5191cef94f57b2f84bbb \
    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
    3333post-destroot {
     
    3535                ${destroot}${prefix}/share/doc/${name}
    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}