Ticket #14488: Portfile

File Portfile, 1.7 KB (added by mf2k (Frank Schima), 15 years ago)

tcl 8.4.19 portfile

Line 
1# $Id: Portfile 41095 2008-10-22 22:16:07Z jann@macports.org $
2
3PortSystem 1.0
4
5name          tcl
6version       8.4.19
7# Tk (x11/tk) port depends on this version
8categories    lang
9maintainers   mww openmaintainer
10platforms     darwin freebsd
11description   Tool Command Language
12long_description \
13  Tcl (Tool Command Language) is a very powerful but easy to learn dynamic \
14  programming language, suitable for a very wide range of uses, including web \
15  and desktop applications, networking, administration, testing and many more. \
16  Open source and business-friendly, Tcl is a mature yet evolving language \
17  that is truly cross platform, easily deployed and highly extensible.
18
19homepage      http://www.tcl.tk/
20master_sites  sourceforge
21
22checksums \
23  md5 ade2c033a7b545ee108f3fdfeb629fcf \
24  sha1 ed25c5a206bcd603c2d5e58790354b9be178f331 \
25  rmd160 6e3d2991e8e44a2e32f0da8fdf7ab07aa9b8202f
26
27dist_subdir     tcltk
28distname        ${name}${version}-src
29worksrcdir      ${name}${version}/unix
30configure.args  --mandir=${prefix}/share/man
31configure.cppflags
32configure.ldflags
33
34destroot.destdir  INSTALL_ROOT=${destroot}
35post-destroot {
36    ln -s ${prefix}/bin/tclsh8.4 ${destroot}${prefix}/bin/tclsh
37    ln -s ${prefix}/lib/libtcl8.4.dylib ${destroot}${prefix}/lib/libtcl.dylib
38}
39
40# dont enable threads by default as Tcl uses thread-local storage which makes
41# passing Tcl_Obj* around between threads fatal
42variant threads description {add multithreading support} {
43    configure.args-append --enable-threads
44}
45
46variant memdebug description {enable memory debugging support} {
47    configure.args-append --enable-symbols=mem
48}
49
50# Files with failing tests: socket.test
51test.run      yes
52
53livecheck.check freshmeat
54livecheck.name  tcltk