# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 # $Id: Portfile 88977 2012-01-15 22:39:10Z ryandesign@macports.org $ PortSystem 1.0 name fantom version 1.0.61 categories java lang devel maintainers hum.ph:m platforms darwin supported_archs noarch description The Language Formerly Known as Fan. long_description Fantom is designed as a practical programming \ language to make it easy and fun to get real work \ done. It is not an academic language to explore \ bleeding edge theories, but based on solid real \ world experience. During its design we set out to \ solve what we perceived were some real problems \ with Java and C#. homepage http://fantom.org/ master_sites googlecode:fan use_zip yes checksums rmd160 8c476f4b6d73bc675303ff3b8ec91e8ffd054818 \ sha256 b8f45d0f7a2bd92910e7da4e45fb2f8bc8ff61e60da4b950e427f827d288d7ee depends_build bin:java:kaffe use_configure no build {} destroot { set fantomdir ${destroot}${prefix}/share/java/${name} xinstall -m 755 -d ${fantomdir} eval delete [glob ${worksrcpath}/bin/*.exe] file copy ${worksrcpath}/adm \ ${worksrcpath}/bin \ ${worksrcpath}/etc \ ${worksrcpath}/examples \ ${worksrcpath}/lib \ ${worksrcpath}/src \ ${fantomdir} foreach f [glob -directory ${fantomdir}/bin *] { set basename [file tail $f] file attributes $f -permissions +x ln -s ../share/java/${name}/bin/${basename} ${destroot}${prefix}/bin } } notes " To use fantom, add the following lines at the end of your .bash_profile: export FAN_HOME=${prefix}/share/java/${name} export FAN_ENV=util::PathEnv export FAN_ENV_PATH=~/.fan/ and: mkdir ~/.fan "