1 | # $Id: Portfile 33925 2008-02-07 17:32:38Z mww@macports.org $ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | |
---|
5 | name tcl |
---|
6 | version 8.5.1 |
---|
7 | # Tk (x11/tk) port depends on this version |
---|
8 | categories lang |
---|
9 | maintainers mww openmaintainer |
---|
10 | platforms darwin freebsd |
---|
11 | description Tool Command Language |
---|
12 | long_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 | |
---|
19 | homepage http://www.tcl.tk/ |
---|
20 | master_sites sourceforge |
---|
21 | |
---|
22 | checksums \ |
---|
23 | md5 1b5f9a043f53c5828dcde3684e3264d5 \ |
---|
24 | sha1 53d64b0a65e7dd231c79297ebc79608780bb7eea \ |
---|
25 | rmd160 c90bfa5b1bbc7dc54429e4fe18b6f77a9ad1c18b |
---|
26 | |
---|
27 | dist_subdir tcltk |
---|
28 | distname ${name}${version}-src |
---|
29 | worksrcdir ${name}${version}/unix |
---|
30 | configure.args --mandir=${prefix}/share/man |
---|
31 | configure.cppflags |
---|
32 | configure.ldflags |
---|
33 | |
---|
34 | destroot.destdir INSTALL_ROOT=${destroot} |
---|
35 | post-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 | |
---|
40 | variant threads-enabled description {add multithreading support} { |
---|
41 | configure.args-append --enable-threads |
---|
42 | } |
---|
43 | |
---|
44 | # Files with failing tests: socket.test |
---|
45 | test.run yes |
---|
46 | |
---|
47 | livecheck.check freshmeat |
---|
48 | livecheck.name tcltk |
---|