1 | # $Id: Portfile 33660 2008-02-02 17:36:08Z saispo@macports.org $ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | name gst |
---|
5 | version 3.1 |
---|
6 | categories lang |
---|
7 | maintainers nomaintainer@macports.org |
---|
8 | description free implementation of Smalltalk-80 |
---|
9 | long_description \ |
---|
10 | GNU Smalltalk is a free implementation of the Smalltalk-80 language \ |
---|
11 | which runs on most versions on Unix and, in general, everywhere you \ |
---|
12 | can find a POSIX-compliance library. An uncommon feature of it is \ |
---|
13 | that it is well-versed to scripting tasks and headless processing. |
---|
14 | homepage http://smalltalk.gnu.org/ |
---|
15 | platforms darwin |
---|
16 | master_sites gnu:smalltalk |
---|
17 | distname smalltalk-${version} |
---|
18 | checksums sha1 9b1602bf29d1483d9200d83419dc3cd0fc0d397b |
---|
19 | depends_build port:zip |
---|
20 | |
---|
21 | depends_lib port:libsigsegv \ |
---|
22 | port:libffi \ |
---|
23 | port:gmp \ |
---|
24 | port:libiconv \ |
---|
25 | port:ncurses \ |
---|
26 | port:ncursesw \ |
---|
27 | port:readline |
---|
28 | |
---|
29 | configure.args --infodir=${prefix}/share/info \ |
---|
30 | --mandir=${prefix}/share/man \ |
---|
31 | --enable-disassembler \ |
---|
32 | --enable-preemption \ |
---|
33 | --with-system-libffi --with-system-libsigsegv |
---|
34 | # --enable-jit |
---|
35 | |
---|
36 | test.run yes |
---|
37 | test.target check |
---|
38 | |
---|
39 | default_variants +gtk +tcltk |
---|
40 | |
---|
41 | variant gtk { |
---|
42 | depends_lib-append port:gtk2 |
---|
43 | configure.args-append --enable-gtk |
---|
44 | } |
---|
45 | |
---|
46 | variant tcltk { |
---|
47 | depends_lib-append port:tcl port:tk |
---|
48 | configure.args-append --with-tk --with-tcl |
---|
49 | } |
---|
50 | |
---|
51 | variant nox conflicts gtk conflicts tk { |
---|
52 | configure.args-append \ |
---|
53 | --without-x \ |
---|
54 | --disable-gtk \ |
---|
55 | --without-tk \ |
---|
56 | --without-tcl |
---|
57 | } |
---|
58 | |
---|
59 | platform darwin 6 { |
---|
60 | depends_lib-append port:dlcompat |
---|
61 | } |
---|