# -*- 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
categories java lang devel
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 \
homepage http://fantom.org/
master_sites googlecode:fan
checksums rmd160 8c476f4b6d73bc675303ff3b8ec91e8ffd054818 \
sha256 b8f45d0f7a2bd92910e7da4e45fb2f8bc8ff61e60da4b950e427f827d288d7ee \
depends_build bin:java:kaffe
set fantomdir ${destroot}${prefix}/share/java/${name}
xinstall -m 0755 -d ${fantomdir}
delete {*}[glob ${worksrcpath}/bin/*.exe]
file copy ${worksrcpath}/adm \
${worksrcpath}/examples \
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
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/