Ticket #10475: Portfile.diff

File Portfile.diff, 1.2 KB (added by markd@…, 18 years ago)

Portfile patch update to 0.7

  • Portfile

    old new  
    33PortSystem 1.0
    44
    55name            ode
    6 version         0.5
     6version         0.7
    77categories      devel
    88platforms       darwin
    99maintainers     mww@opendarwin.org
     
    1717
    1818homepage        http://opende.sourceforge.net/
    1919master_sites    sourceforge:opende
    20 checksums       md5 b33b21e04ee9661f27802b6b6c8eefd2
    21 extract.suffix  .tgz
    22 patchfiles      patch-drawstuff.cpp.diff \
    23                 patch-user-settings.diff
     20distfiles       ${name}-src-${version}.zip
     21checksums       md5 b6727fef2cbb9ca812438bb774c9d6ec
     22use_zip         yes
    2423
    2524depends_lib     lib:libGL:XFree86
    2625
    27 use_configure   no
    28 
    2926build.type      gnu
    3027
    31 destroot        {
    32         xinstall -d -m 755 ${destroot}${prefix}/include \
    33                 ${destroot}${prefix}/lib
    34         file copy ${worksrcpath}/include/ode ${destroot}${prefix}/include
    35         file copy ${worksrcpath}/include/drawstuff ${destroot}${prefix}/include
    36         xinstall -m 644 -W ${worksrcpath}/lib libode.a libdrawstuff.a \
    37                 ${destroot}${prefix}/lib
     28post-destroot   {
     29        eval xinstall -m 644 [glob ${worksrcpath}/include/drawstuff/*] \
     30                ${destroot}${prefix}/include/ode
    3831        system "ranlib ${destroot}${prefix}/lib/libode.a"
    39         system "ranlib ${destroot}${prefix}/lib/libdrawstuff.a"
    4032}
    4133
    4234variant opcode  {