source: trunk/dports/java/fantom/Portfile @ 88658

Last change on this file since 88658 was 88658, checked in by ryandesign@…, 9 years ago

fantom: maintainer update to 1.0.58 (#28727); noarch

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.1 KB
Line 
1# -*- 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
2# $Id: Portfile 88658 2012-01-07 01:17:51Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                fantom
7version             1.0.58
8categories          java lang devel
9maintainers         hum.ph:m
10platforms           darwin
11supported_archs     noarch
12
13description         The Language Formerly Known as Fan.
14long_description    Fantom is designed as a practical programming \
15                    language to make it easy and fun to get real work \
16                    done. It is not an academic language to explore \
17                    bleeding edge theories, but based on solid real \
18                    world experience. During its design we set out to \
19                    solve what we perceived were some real problems \
20                    with Java and C#.
21
22homepage            http://fantom.org/
23
24master_sites        http://fan.googlecode.com/files/
25use_zip             yes
26
27checksums           rmd160  f43dc35520ac276a47edb577348ef245be1b0c8c \
28                    sha256  a326009c594971f63dc594a092b69c707a8fd3132c2efe41b9ff138db811d51a
29
30depends_build       bin:java:kaffe
31
32use_configure       no
33
34build               {}
35
36destroot {
37
38    set fantomdir ${destroot}${prefix}/share/java/${name}
39
40    xinstall -m 755 -d ${fantomdir}
41
42    file copy ${worksrcpath}/adm \
43              ${worksrcpath}/bin \
44              ${worksrcpath}/doc \
45              ${worksrcpath}/etc \
46              ${worksrcpath}/examples \
47              ${worksrcpath}/lib \
48              ${worksrcpath}/src \
49              ${fantomdir}
50
51    foreach f [glob -directory ${fantomdir}/bin *.exe] {
52        file delete $f
53    }
54
55    foreach f [glob -directory ${fantomdir}/bin *] {
56        set basename [file tail $f]
57        file attributes $f -permissions +x
58        file link -s ${destroot}${prefix}/bin/${basename} ../share/java/${name}/bin/${basename}
59    }
60
61
62}
63
64notes               "
65To use fantom, add the following lines at the end of your .bash_profile:
66
67    export FAN_HOME=${prefix}/share/java/${name}
68    export FAN_ENV=util::PathEnv
69    export FAN_ENV_PATH=~/.fan/
70
71and:
72
73    mkdir ~/.fan
74"
Note: See TracBrowser for help on using the repository browser.