Ticket #21524: scons.diff
File scons.diff, 2.5 KB (added by blb@…, 15 years ago) |
---|
-
files/patch-sconsign
2 2 +++ script/sconsign 2006-01-31 01:20:15.000000000 -0700 3 3 @@ -1,4 +1,4 @@ 4 4 -#! /usr/bin/env python 5 +#!@@PREFIX@@/bin/python2. 55 +#!@@PREFIX@@/bin/python2.6 6 6 # 7 7 # SCons - a Software Constructor 8 8 # -
files/patch-scons
2 2 +++ script/scons 2006-01-31 01:20:07.000000000 -0700 3 3 @@ -1,4 +1,4 @@ 4 4 -#! /usr/bin/env python 5 +#!@@PREFIX@@/bin/python2. 55 +#!@@PREFIX@@/bin/python2.6 6 6 # 7 7 # SCons - a Software Constructor 8 8 # -
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
1 1 # $Id$ 2 2 3 3 PortSystem 1.0 4 PortGroup python2 51.04 PortGroup python26 1.0 5 5 6 6 name scons 7 7 version 1.2.0 … … 24 24 sha1 cd6be8698a384ea2ac4f5191cef94f57b2f84bbb \ 25 25 rmd160 69c1fcc7c3af55c801f26fc7370dd01a17dc2327 26 26 27 patchfiles patch-setup.py patch-scons patch-sconsign 27 patchfiles patch-setup.py patch-scons patch-sconsign patch-scons-time 28 28 post-patch { 29 29 reinplace "s|@@PREFIX@@|${prefix}|g" ${worksrcpath}/script/scons \ 30 ${worksrcpath}/script/sconsign 30 ${worksrcpath}/script/sconsign ${worksrcpath}/script/scons-time 31 31 } 32 32 33 33 post-destroot { … … 35 35 ${destroot}${prefix}/share/doc/${name} 36 36 xinstall -m 644 -W ${worksrcpath} CHANGES.txt LICENSE.txt README.txt \ 37 37 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 } 38 46 }