Ticket #17248: Portfile.patch

File Portfile.patch, 2.0 KB (added by campesr@…, 15 years ago)
  • Portfile

    old new  
    11# $Id: Portfile 37690 2008-06-19 16:23:20Z simon@macports.org $
    22
    3 PortSystem                      1.0
    4 PortGroup                       python25 1.0
     3PortSystem      1.0
     4PortGroup       python25 1.0
    55
    6 name                            scons
    7 version                         0.98.4
    8 revision                        1
    9 categories                      devel python
    10 maintainers                     landonf openmaintainer
    11 description                     Software construction tool
     6name            scons
     7version         1.1.0.d20081104
     8categories      devel python
     9maintainers     landonf openmaintainer
     10description     Software construction tool
    1211long_description \
    1312        SCons is an Open Source software construction tool--that is, a \
    1413        next-generation build tool. Think of SCons as an improved, \
     
    1615        functionality similar to autoconf/automake and compiler caches such as \
    1716        ccache.
    1817
    19 platforms                       darwin
     18platforms       darwin
    2019
    21 homepage                        http://www.scons.org/
    22 master_sites            sourceforge
     20homepage        http://www.scons.org/
     21master_sites    sourceforge
    2322
    24 depends_lib-append  port:py25-hashlib
     23depends_lib-append      port:py25-hashlib
    2524
    26 checksums           md5 4e49ae162bcea9574cde4ce4fc56afe1 \
    27                     sha1 b61764fe6fc7562f5034b71885323604cd6c74f5 \
    28                     rmd160 5e62877feaec7b543a3062c8c47eaa04c63a866b
     25checksums       md5     2923dc305a7c4444903c5159ddb499b5 \
     26                sha1    3bbec44d637affa5871e467f8236ccc6ef22470a \
     27                rmd160  bca3aca2482531f92121035f30d1e1ff2f62f305
    2928
    30 patchfiles                      patch-setup.py patch-scons patch-sconsign
    31 post-patch {
    32         reinplace "s|@@PREFIX@@|${prefix}|g" ${worksrcpath}/script/scons \
    33                 ${worksrcpath}/script/sconsign
    34 }
     29patchfiles      patch-setup.py
    3530
    3631post-destroot {
    37         xinstall -m 755 -d ${destroot}${prefix}/share/man/man1 \
    38                 ${destroot}${prefix}/share/doc/${name}
    39         xinstall -m 644 -W ${worksrcpath} CHANGES.txt LICENSE.txt README.txt \
    40                 RELEASE.txt ${destroot}${prefix}/share/doc/${name}
     32        xinstall -m 644 -W ${worksrcpath} CHANGES.txt LICENSE.txt README.txt RELEASE.txt \
     33                           ${destroot}${prefix}/share/doc/${name}
    4134}