# $Id: Portfile 48939 2009-03-31 15:17:25Z devans@macports.org $ PortSystem 1.0 name tcl version 8.5.6 # Tk (x11/tk) port depends on this version categories lang maintainers mww openmaintainer platforms darwin freebsd description Tool Command Language long_description \ Tcl (Tool Command Language) is a very powerful but easy to learn dynamic \ programming language, suitable for a very wide range of uses, including web \ and desktop applications, networking, administration, testing and many more. \ Open source and business-friendly, Tcl is a mature yet evolving language \ that is truly cross platform, easily deployed and highly extensible. homepage http://www.tcl.tk/ master_sites sourceforge checksums \ md5 d0b0b3ff7600ff63135c710b575265cd \ sha1 02c57eea35191f027460c6df289179d03f2e9584 \ rmd160 1f3c937a5e77ec2fbf79240d385474eed24f8ea5 dist_subdir tcltk distname ${name}${version}-src worksrcdir ${name}${version}/unix configure.args --mandir=${prefix}/share/man configure.cppflags-append {} configure.cppflags-delete -I${prefix}/include configure.ldflags-append {} configure.ldflags-delete -L${prefix}/lib destroot.destdir INSTALL_ROOT=${destroot} post-destroot { ln -s ${prefix}/bin/tclsh8.5 ${destroot}${prefix}/bin/tclsh ln -s ${prefix}/lib/libtcl8.5.dylib ${destroot}${prefix}/lib/libtcl.dylib } # dont enable threads by default as Tcl uses thread-local storage which makes # passing Tcl_Obj* around between threads fatal variant threads description {add multithreading support} { configure.args-append --enable-threads } variant memdebug description {enable memory debugging support} { configure.args-append --enable-symbols=mem } # Files with failing tests: socket.test test.run yes livecheck.check freshmeat livecheck.name tcltk livecheck.regex "(?i)tcl/tk (\\d+(?:\\.\\d+)*)"