1 | # -*- Tcl -*- |
---|
2 | # $Id: Portfile 87064 2011-11-09 01:07:37Z mww@macports.org $ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | |
---|
6 | name tcl84 |
---|
7 | version 8.4.19 |
---|
8 | categories lang |
---|
9 | license Tcl/Tk |
---|
10 | maintainers mww openmaintainer |
---|
11 | platforms darwin freebsd |
---|
12 | description Tool Command Language |
---|
13 | long_description \ |
---|
14 | Tcl (Tool Command Language) is a very powerful but easy to learn dynamic \ |
---|
15 | programming language, suitable for a very wide range of uses, including web \ |
---|
16 | and desktop applications, networking, administration, testing and many more. \ |
---|
17 | Open source and business-friendly, Tcl is a mature yet evolving language \ |
---|
18 | that is truly cross platform, easily deployed and highly extensible. |
---|
19 | |
---|
20 | homepage http://www.tcl.tk/ |
---|
21 | master_sites sourceforge:project/tcl/Tcl/${version} |
---|
22 | |
---|
23 | checksums md5 ade2c033a7b545ee108f3fdfeb629fcf \ |
---|
24 | sha1 ed25c5a206bcd603c2d5e58790354b9be178f331 \ |
---|
25 | rmd160 6e3d2991e8e44a2e32f0da8fdf7ab07aa9b8202f |
---|
26 | |
---|
27 | dist_subdir tcltk |
---|
28 | distname tcl${version}-src |
---|
29 | worksrcdir tcl${version}/unix |
---|
30 | |
---|
31 | configure.cflags "-I${workpath}/tcl8.4.19/generic -I${workpath}/tcl8.4.19/unix" |
---|
32 | configure.args --mandir=${prefix}/share/man --includedir=--disable-corefoundation --enable-threads |
---|
33 | |
---|
34 | destroot.post_args \ |
---|
35 | INSTALL_ROOT=${destroot} \ |
---|
36 | INCLUDE_INSTALL_DIR=${destroot}${prefix}/include/tcl84 \ |
---|
37 | LIB_INSTALL_DIR=${destroot}${prefix}/lib/tcl84 \ |
---|
38 | MAN_INSTALL_DIR=${destroot}${prefix}/share/man/tcl84 |
---|
39 | |
---|
40 | post-destroot { |
---|
41 | #ln -s tclsh8.4 ${destroot}${prefix}/bin/tclsh |
---|
42 | ln -s ${prefix}/lib/tcl84/libtcl8.4.dylib ${destroot}${prefix}/lib/libtcl8.4.dylib |
---|
43 | ln -s ${prefix}/lib/tcl84/libtclstub8.4.a ${destroot}${prefix}/lib/libtclstub8.4.a |
---|
44 | reinplace "s|${prefix}/include|${prefix}/include/tcl84|g" ${destroot}${prefix}/lib/tcl84/tclConfig.sh |
---|
45 | } |
---|
46 | |
---|
47 | variant memdebug description {enable memory debugging support} { |
---|
48 | configure.args-append --enable-symbols=mem |
---|
49 | } |
---|
50 | |
---|
51 | platform darwin { |
---|
52 | configure.args-append tcl_cv_type_64bit="long long" |
---|
53 | } |
---|
54 | |
---|
55 | # Files with failing tests: socket.test |
---|
56 | test.run yes |
---|
57 | |
---|
58 | livecheck.type regex |
---|
59 | livecheck.regex {Tcl/Tk (\d+(?:\.\d+)*)</a>} |
---|