1 | # -*- coding: utf-8; mode: tcl; tab-width: 4; truncate-lines: t; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4 |
---|
2 | # $Id$ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | PortGroup select 1.0 |
---|
6 | |
---|
7 | name fantom |
---|
8 | version 1.0.57 |
---|
9 | revision 0 |
---|
10 | |
---|
11 | categories java lang devel |
---|
12 | maintainers hum.ph:m |
---|
13 | platforms darwin |
---|
14 | |
---|
15 | description The Language Formerly Known as Fan. |
---|
16 | long_description Fantom is designed as a practical programming \ |
---|
17 | language to make it easy and fun to get real work \ |
---|
18 | done. It is not an academic language to explore \ |
---|
19 | bleeding edge theories, but based on solid real \ |
---|
20 | world experience. During its design we set out to \ |
---|
21 | solve what we perceived were some real problems \ |
---|
22 | with Java and C#. |
---|
23 | |
---|
24 | homepage http://fantom.org/ |
---|
25 | |
---|
26 | master_sites http://fan.googlecode.com/files/ |
---|
27 | distname fantom-${version} |
---|
28 | use_zip yes |
---|
29 | |
---|
30 | checksums md5 5f5b7fbaae4e2cf76ded359c57530af2 \ |
---|
31 | sha1 4aba26250d525b8a0e9d20fb792c1e108f7c52a6 \ |
---|
32 | rmd160 4cc371adb5eb6dfa9ee836ddd18c283f06872017 |
---|
33 | |
---|
34 | depends_build bin:java:kaffe |
---|
35 | |
---|
36 | use_configure no |
---|
37 | |
---|
38 | build {} |
---|
39 | |
---|
40 | destroot { |
---|
41 | |
---|
42 | set fantomdir ${destroot}${prefix}/share/java/${name} |
---|
43 | |
---|
44 | xinstall -m 755 -d ${fantomdir} |
---|
45 | |
---|
46 | file copy ${worksrcpath}/adm \ |
---|
47 | ${worksrcpath}/bin \ |
---|
48 | ${worksrcpath}/doc \ |
---|
49 | ${worksrcpath}/etc \ |
---|
50 | ${worksrcpath}/examples \ |
---|
51 | ${worksrcpath}/lib \ |
---|
52 | ${worksrcpath}/src \ |
---|
53 | ${fantomdir} |
---|
54 | |
---|
55 | foreach f [glob -directory ${fantomdir}/bin *.exe] { |
---|
56 | file delete $f |
---|
57 | } |
---|
58 | |
---|
59 | foreach f [glob -directory ${fantomdir}/bin *] { |
---|
60 | set basename [file tail $f] |
---|
61 | file attributes $f -permissions +x |
---|
62 | file link -s ${destroot}${prefix}/bin/${basename} ../share/java/${name}/bin/${basename} |
---|
63 | } |
---|
64 | |
---|
65 | |
---|
66 | } |
---|
67 | |
---|
68 | notes " |
---|
69 | To use fantom, add the following lines at the end of your .bash_profile: |
---|
70 | |
---|
71 | export FAN_HOME=${prefix}/share/java/${name} |
---|
72 | export FAN_ENV=util::PathEnv |
---|
73 | export FAN_ENV_PATH=~/.fan/ |
---|
74 | |
---|
75 | and: |
---|
76 | |
---|
77 | mkdir ~/.fan |
---|
78 | " |
---|