Ticket #14416: Portfile

File Portfile, 1.5 KB (added by giorgio_v@…, 17 years ago)
Line 
1# $Id: Portfile 33925 2008-02-07 17:32:38Z mww@macports.org $
2
3PortSystem 1.0
4
5name          tcl
6version       8.5.1
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 1b5f9a043f53c5828dcde3684e3264d5 \
24  sha1 53d64b0a65e7dd231c79297ebc79608780bb7eea \
25  rmd160 c90bfa5b1bbc7dc54429e4fe18b6f77a9ad1c18b
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.5 ${destroot}${prefix}/bin/tclsh
37    ln -s ${prefix}/lib/libtcl8.5.dylib ${destroot}${prefix}/lib/libtcl.dylib
38}
39
40variant threads-enabled description {add  multithreading support} {
41        configure.args-append           --enable-threads
42}
43
44# Files with failing tests: socket.test
45test.run      yes
46
47livecheck.check freshmeat
48livecheck.name  tcltk