Files
Christopher Chavez 303bccd31c fantom: drop maintainer
Maintainer responded via email: they no longer use
nor are interested in maintaining this port.

See: https://trac.macports.org/ticket/60206
See: https://trac.macports.org/ticket/60213
Closes: https://trac.macports.org/ticket/60214
2020-03-20 19:38:13 -07:00

71 lines
2.0 KiB
Tcl

# -*- 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
PortSystem 1.0
name fantom
version 1.0.61
categories java lang devel
maintainers nomaintainer
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 \
size 12267036
depends_build bin:java:kaffe
use_configure no
build {}
destroot {
set fantomdir ${destroot}${prefix}/share/java/${name}
xinstall -m 0755 -d ${fantomdir}
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
"