Ticket #16979: Portfile

File Portfile, 1.5 KB (added by Damien.Pollet@…, 15 years ago)

portfile for 3.1

Line 
1# $Id: Portfile 33660 2008-02-02 17:36:08Z saispo@macports.org $
2
3PortSystem 1.0
4name            gst
5version                 3.1
6categories              lang
7maintainers             nomaintainer@macports.org
8description             free implementation of Smalltalk-80
9long_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.
14homepage                http://smalltalk.gnu.org/
15platforms               darwin
16master_sites    gnu:smalltalk
17distname                smalltalk-${version}
18checksums               sha1 9b1602bf29d1483d9200d83419dc3cd0fc0d397b
19depends_build   port:zip
20
21depends_lib             port:libsigsegv \
22                                port:libffi \
23                                port:gmp \
24                                port:libiconv \
25                                port:ncurses \
26                                port:ncursesw \
27                                port:readline
28
29configure.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
36test.run                yes
37test.target             check
38
39default_variants +gtk +tcltk
40
41variant gtk {
42        depends_lib-append port:gtk2
43        configure.args-append --enable-gtk
44}
45
46variant tcltk {
47        depends_lib-append port:tcl port:tk
48        configure.args-append --with-tk --with-tcl
49}
50
51variant nox conflicts gtk conflicts tk {
52        configure.args-append \
53                --without-x \
54                --disable-gtk \
55                --without-tk \
56                --without-tcl
57}
58
59platform darwin 6 {
60    depends_lib-append port:dlcompat
61}