Ticket #17670: Portfile.patch

File Portfile.patch, 1.3 KB (added by adfernandes (Andrew Fernandes), 15 years ago)

patch

  • Portfile

    old new  
    33PortSystem 1.0
    44
    55name                    hoard
    6 version                 3.6.1
     6version                 3.7.1
    77categories              devel
    88platforms               darwin
    99maintainers             stechert@macports.org
     
    1212long_description        ${description}
    1313homepage                http://www.hoard.org/
    1414distfiles               ${name}-[strsed ${version} {g/[.]//}]${extract.suffix}
    15 master_sites            http://www.cs.umass.edu/~emery/hoard/hoard-${version}/
    16 patchfiles              patch-malloc.h
    17 patch.pre_args          -p1
    18 checksums               md5 b0d4caf762282c29fbee99959b22d342 \
    19                         sha1 02660aca53559d17a2ea848f9125fd6478f3ce44 \
    20                         rmd160 b21c11b095505fb9e739f7297117ae4f36bd3dbf
    21 use_configure           no
     15master_sites    http://www.cs.umass.edu/~emery/hoard/hoard-${version}/
     16checksums               sha1 69e19f4985e806c25d037c5d181a52f2d69e7c0c
     17
     18use_configure   no
     19worksrcdir      ${name}-[strsed ${version} {g/[.]//}]
     20
    2221build {
    23                         cd ${worksrcpath}/src
    24                         system "make darwin"
     22    cd ${worksrcpath}/src
     23    system "make darwin"
     24    system "install_name_tool -id ${prefix}/lib/libhoard.dylib ${worksrcpath}/src/libhoard.dylib"
     25}
     26
     27destroot {
     28    xinstall -m 755 ${worksrcpath}/src/libhoard.dylib ${destroot}${prefix}/lib/libhoard.dylib
    2529}
    26 destroot                { xinstall -m 755 ${worksrcpath}/src/libhoard.dylib ${destroot}${prefix}/lib/libhoard.dylib }