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) |
---|
-
Portfile
4 4 PortSystem 1.0 5 5 6 6 name fantom 7 version 1.0. 587 version 1.0.61 8 8 categories java lang devel 9 9 maintainers hum.ph:m 10 10 platforms darwin … … 20 20 with Java and C#. 21 21 22 22 homepage http://fantom.org/ 23 24 master_sites http://fan.googlecode.com/files/ 23 master_sites googlecode:fan 25 24 use_zip yes 26 25 27 checksums rmd160 f43dc35520ac276a47edb577348ef245be1b0c8c\28 sha256 a326009c594971f63dc594a092b69c707a8fd3132c2efe41b9ff138db811d51a26 checksums rmd160 8c476f4b6d73bc675303ff3b8ec91e8ffd054818 \ 27 sha256 b8f45d0f7a2bd92910e7da4e45fb2f8bc8ff61e60da4b950e427f827d288d7ee 29 28 30 29 depends_build bin:java:kaffe 31 30 … … 39 38 40 39 xinstall -m 755 -d ${fantomdir} 41 40 41 eval delete [glob ${worksrcpath}/bin/*.exe] 42 42 43 file copy ${worksrcpath}/adm \ 43 44 ${worksrcpath}/bin \ 44 ${worksrcpath}/doc \45 45 ${worksrcpath}/etc \ 46 46 ${worksrcpath}/examples \ 47 47 ${worksrcpath}/lib \ 48 48 ${worksrcpath}/src \ 49 49 ${fantomdir} 50 50 51 foreach f [glob -directory ${fantomdir}/bin *.exe] {52 file delete $f53 }54 55 51 foreach f [glob -directory ${fantomdir}/bin *] { 56 52 set basename [file tail $f] 57 53 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 59 55 } 60 56 61 57