Ticket #17770: Portfile.diff

File Portfile.diff, 1.9 KB (added by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez), 16 years ago)
  • Portfile

    old new  
    33PortSystem 1.0
    44
    55name             boost-jam
    6 version          3.1.16
     6version          3.1.17
    77categories       devel
    88maintainers      gmail.com:jon.olsson
    99description      Boost.Jam (BJam) is a build tool based on FTJam
     
    1313        significant improvements made to facilitate its use \
    1414        in the Boost Build System, but should be backward \
    1515        compatible with Perforce Jam.
    16 homepage         http://www.boost.org
     16homepage         http://www.boost.org/
    1717master_sites     sourceforge:boost
    1818extract.suffix   .tgz
    19 checksums        md5 1fd96a38b1a33c365e8142eec53197e7 \
    20                  rmd160 dd602c5e01a004dbf6e6ee542c5f6bdb0bd1348f \
    21                  sha1 e2dd6ef9c56b18c7be7669aba374bcd24745ae95
     19checksums        md5 f4afd896788f2327fd35c128ddc6e340 \
     20                 rmd160 79a265c4427bf48858d288d5b0ac82c5119af7c8 \
     21                 sha1 407be994b1239fa944c14c464a9ce7f46f692a1e
    2222platforms        darwin
    2323
    24 patchfiles       patch-strings.c
    2524post-patch {
    2625        reinplace "s|/usr/share/boost-build|${prefix}/share/boost-build|" \
    2726                ${worksrcpath}/jambase.c
     
    2928
    3029use_configure    no
    3130
     31post-configure {
     32        reinplace "s|BOOST_JAM_CC=.*|BOOST_JAM_CC=${configure.cc}|" ${worksrcpath}/build.sh
     33}
     34
    3235build.env        LOCATE_TARGET=bin
    3336build.cmd        ./build.sh
    3437build.target
    3538
    3639destroot {
    37         xinstall -d -m 0755 ${destroot}${prefix}/bin
    3840        xinstall -m 0755 ${worksrcpath}/bin/bjam ${destroot}${prefix}/bin
    3941
     42        # Port netxx still expects to find program jam (removed in r13734)
    4043        xinstall -d -m 0755 ${destroot}${prefix}/lib/bjam/bin/
    41         xinstall -m 0755 ${worksrcpath}/bin/bjam ${destroot}${prefix}/lib/bjam/bin/jam
     44        ln -s ${prefix}/bin/bjam ${destroot}${prefix}/lib/bjam/bin/jam
    4245}
     46
     47livecheck.regex "<title>${name} (.*) released.*</title>"