Ticket #11533: scons-0.96.92_to_0.96.95.diff

File scons-0.96.92_to_0.96.95.diff, 4.4 KB (added by boeyms@…, 17 years ago)
  • devel/scons/Portfile

    diff -Naur dports/devel/scons/Portfile dports-devel/devel/scons/Portfile
    old new  
    33PortSystem                      1.0
    44PortGroup                       python24 1.0
    55name                            scons
    6 version                         0.96.92
     6version                         0.96.95
    77categories                      devel python
    8 maintainers                     nomaintainer@macports.org
     8maintainers                     boeyms@fastmail.fm openmaintainer@macports.org
    99description                     Software construction tool
    1010long_description \
    1111        SCons is an Open Source software construction tool--that is, a \
     
    1919homepage                        http://www.scons.org/
    2020master_sites            sourceforge
    2121
    22 checksums                       md5 0b6b388cdd640b7f297f37a678c65d5c \
    23                                 sha1 17a3f462f4eb37052df17b47e6528d72472092eb \
    24                                 rmd160 75aa04717da98eccabc42180f6eab9ee4b8bd904
     22checksums                       md5 51ea0157e41da1d28a7e6ed34da08333 \
     23                                sha1 0f8d524804c2175ae1bc37576fa1445ffd52fd90 \
     24                                rmd160 73da7451d4a42d96a1f8ae65d75b93c6064d7a5d
    2525
    26 patchfiles                      patch-setup.py patch-scons patch-sconsign
     26patchfiles                      patch-setup.py
    2727post-patch {
    28         reinplace "s|@@PREFIX@@|${prefix}|g" ${worksrcpath}/script/scons \
    29                 ${worksrcpath}/script/sconsign
     28        reinplace "s|/usr/bin/env |${prefix}/bin/|g" \
     29                ${worksrcpath}/script/scons \
     30                ${worksrcpath}/script/sconsign \
     31                ${worksrcpath}/script/scons-time \
     32                ${worksrcpath}/script/scons-post-install.py
     33        reinplace "s|/sw|/${prefix}|g" \
     34                ${worksrcpath}/engine/SCons/Platform/darwin.py
    3035}
    3136
    3237post-destroot {
    33         xinstall -m 755 -d ${destroot}${prefix}/share/man/man1 \
    34                 ${destroot}${prefix}/share/doc/${name}
     38        xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
    3539        xinstall -m 644 -W ${worksrcpath} CHANGES.txt LICENSE.txt README.txt \
    3640                RELEASE.txt ${destroot}${prefix}/share/doc/${name}
    3741}
    38 
  • devel/scons/files/patch-scons

    diff -Naur dports/devel/scons/files/patch-scons dports-devel/devel/scons/files/patch-scons
    old new  
    1 --- script/scons.orig   2005-09-08 07:15:22.000000000 -0600
    2 +++ script/scons        2006-01-31 01:20:07.000000000 -0700
    3 @@ -1,4 +1,4 @@
    4 -#! /usr/bin/env python
    5 +#!@@PREFIX@@/bin/python
    6  #
    7  # SCons - a Software Constructor
    8  #
  • devel/scons/files/patch-sconsign

    diff -Naur dports/devel/scons/files/patch-sconsign dports-devel/devel/scons/files/patch-sconsign
    old new  
    1 --- script/sconsign.orig        2005-09-08 07:15:22.000000000 -0600
    2 +++ script/sconsign     2006-01-31 01:20:15.000000000 -0700
    3 @@ -1,4 +1,4 @@
    4 -#! /usr/bin/env python
    5 +#!@@PREFIX@@/bin/python
    6  #
    7  # SCons - a Software Constructor
    8  #
  • devel/scons/files/patch-setup.py

    diff -Naur dports/devel/scons/files/patch-setup.py dports-devel/devel/scons/files/patch-setup.py
    old new  
    1 --- setup.py.orig       2005-09-08 07:15:23.000000000 -0600
    2 +++ setup.py    2006-01-31 01:23:57.000000000 -0700
    3 @@ -330,7 +330,7 @@
     1--- setup.py    2007-02-13 03:55:03.000000000 +0000
     2+++ setup.py.new        2007-03-06 13:38:03.000000000 +0000
     3@@ -336,7 +336,7 @@
    44             if is_win32:
    55                 dir = 'Doc'
    66             else:
    77-                dir = os.path.join('man', 'man1')
    8 +                dir = os.path.join('share', 'man', 'man1')
    9              self.data_files = [(dir, ["scons.1", "sconsign.1"])]
     8+                dir = os.path.join('share','man', 'man1')
     9             self.data_files = [(dir, man_pages)]
    1010             man_dir = os.path.join(self.install_dir, dir)
    1111             msg = "Installed SCons man pages into %s" % man_dir
    12 @@ -351,7 +351,7 @@
     12@@ -384,7 +384,7 @@
    1313                           "SCons.Sig",
    1414                           "SCons.Tool"],
    1515     'package_dir'      : {'' : 'engine'},
    16 -    'data_files'       : [('man/man1', ["scons.1", "sconsign.1"])],
    17 +    'data_files'       : [('share/man/man1', ["scons.1", "sconsign.1"])],
    18      'scripts'          : ['script/scons',
    19                            'script/sconsign',
    20                            'script/scons.bat'],
     16-    'data_files'       : [('man/man1', man_pages)],
     17+    'data_files'       : [('share/man/man1', man_pages)],
     18     'scripts'          : scripts,
     19     'cmdclass'         : {'install'         : install,
     20                           'install_lib'     : install_lib,