Ticket #32798: fantom-1.0.61.diff

File fantom-1.0.61.diff, 1.7 KB (added by ryandesign (Ryan Carsten Schmidt), 13 years ago)

proposed patch

  • Portfile

     
    44PortSystem          1.0
    55
    66name                fantom
    7 version             1.0.58
     7version             1.0.61
    88categories          java lang devel
    99maintainers         hum.ph:m
    1010platforms           darwin
     
    2020                    with Java and C#.
    2121
    2222homepage            http://fantom.org/
    23 
    24 master_sites        http://fan.googlecode.com/files/
     23master_sites        googlecode:fan
    2524use_zip             yes
    2625
    27 checksums           rmd160  f43dc35520ac276a47edb577348ef245be1b0c8c \
    28                     sha256  a326009c594971f63dc594a092b69c707a8fd3132c2efe41b9ff138db811d51a
     26checksums           rmd160  8c476f4b6d73bc675303ff3b8ec91e8ffd054818 \
     27                    sha256  b8f45d0f7a2bd92910e7da4e45fb2f8bc8ff61e60da4b950e427f827d288d7ee
    2928
    3029depends_build       bin:java:kaffe
    3130
     
    3938
    4039    xinstall -m 755 -d ${fantomdir}
    4140
     41    eval delete [glob ${worksrcpath}/bin/*.exe]
     42
    4243    file copy ${worksrcpath}/adm \
    4344              ${worksrcpath}/bin \
    44               ${worksrcpath}/doc \
    4545              ${worksrcpath}/etc \
    4646              ${worksrcpath}/examples \
    4747              ${worksrcpath}/lib \
    4848              ${worksrcpath}/src \
    4949              ${fantomdir}
    5050
    51     foreach f [glob -directory ${fantomdir}/bin *.exe] {
    52         file delete $f
    53     }
    54 
    5551    foreach f [glob -directory ${fantomdir}/bin *] {
    5652        set basename [file tail $f]
    5753        file attributes $f -permissions +x
    58         file link -s ${destroot}${prefix}/bin/${basename} ../share/java/${name}/bin/${basename}
     54        ln -s ../share/java/${name}/bin/${basename} ${destroot}${prefix}/bin
    5955    }
    6056
    6157