[59140] trunk/dports/devel/scons
blb at macports.org
blb at macports.org
Fri Oct 9 23:47:49 PDT 2009
Revision: 59140
http://trac.macports.org/changeset/59140
Author: blb at macports.org
Date: 2009-10-09 23:47:49 -0700 (Fri, 09 Oct 2009)
Log Message:
-----------
devel/scons - switch to python 2.6, ticket #21524 (maintainer timeout)
Modified Paths:
--------------
trunk/dports/devel/scons/Portfile
trunk/dports/devel/scons/files/patch-scons
trunk/dports/devel/scons/files/patch-sconsign
Added Paths:
-----------
trunk/dports/devel/scons/files/patch-scons-time
Modified: trunk/dports/devel/scons/Portfile
===================================================================
--- trunk/dports/devel/scons/Portfile 2009-10-10 06:44:36 UTC (rev 59139)
+++ trunk/dports/devel/scons/Portfile 2009-10-10 06:47:49 UTC (rev 59140)
@@ -1,7 +1,7 @@
# $Id$
PortSystem 1.0
-PortGroup python25 1.0
+PortGroup python26 1.0
name scons
version 1.2.0
@@ -24,10 +24,10 @@
sha1 cd6be8698a384ea2ac4f5191cef94f57b2f84bbb \
rmd160 69c1fcc7c3af55c801f26fc7370dd01a17dc2327
-patchfiles patch-setup.py patch-scons patch-sconsign
+patchfiles patch-setup.py patch-scons patch-sconsign patch-scons-time
post-patch {
reinplace "s|@@PREFIX@@|${prefix}|g" ${worksrcpath}/script/scons \
- ${worksrcpath}/script/sconsign
+ ${worksrcpath}/script/sconsign ${worksrcpath}/script/scons-time
}
post-destroot {
@@ -35,4 +35,12 @@
${destroot}${prefix}/share/doc/${name}
xinstall -m 644 -W ${worksrcpath} CHANGES.txt LICENSE.txt README.txt \
RELEASE.txt ${destroot}${prefix}/share/doc/${name}
+ foreach binfile [glob -tails -directory ${destroot}${python.prefix}/bin *] {
+ ln -s ${python.prefix}/bin/${binfile} \
+ ${destroot}${prefix}/bin/${binfile}
+ }
+ foreach manfile [glob -tails -directory ${destroot}${python.prefix}/share/man/man1 *] {
+ ln -s ${python.prefix}/share/man/man1/${manfile} \
+ ${destroot}${prefix}/share/man/man1/${manfile}
+ }
}
Modified: trunk/dports/devel/scons/files/patch-scons
===================================================================
--- trunk/dports/devel/scons/files/patch-scons 2009-10-10 06:44:36 UTC (rev 59139)
+++ trunk/dports/devel/scons/files/patch-scons 2009-10-10 06:47:49 UTC (rev 59140)
@@ -2,7 +2,7 @@
+++ script/scons 2006-01-31 01:20:07.000000000 -0700
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
-+#!@@PREFIX@@/bin/python2.5
++#!@@PREFIX@@/bin/python2.6
#
# SCons - a Software Constructor
#
Added: trunk/dports/devel/scons/files/patch-scons-time
===================================================================
--- trunk/dports/devel/scons/files/patch-scons-time (rev 0)
+++ trunk/dports/devel/scons/files/patch-scons-time 2009-10-10 06:47:49 UTC (rev 59140)
@@ -0,0 +1,8 @@
+--- script/scons-time.orig 2008-12-20 23:59:59.000000000 -0700
++++ script/scons-time 2009-09-20 23:13:30.000000000 -0600
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env python
++#!@@PREFIX@@/bin/python2.6
+ #
+ # scons-time - run SCons timings and collect statistics
+ #
Modified: trunk/dports/devel/scons/files/patch-sconsign
===================================================================
--- trunk/dports/devel/scons/files/patch-sconsign 2009-10-10 06:44:36 UTC (rev 59139)
+++ trunk/dports/devel/scons/files/patch-sconsign 2009-10-10 06:47:49 UTC (rev 59140)
@@ -2,7 +2,7 @@
+++ script/sconsign 2006-01-31 01:20:15.000000000 -0700
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
-+#!@@PREFIX@@/bin/python2.5
++#!@@PREFIX@@/bin/python2.6
#
# SCons - a Software Constructor
#
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20091009/718b4289/attachment-0001.html>
More information about the macports-changes
mailing list