# $Id: Portfile 58709 2009-10-03 04:57:22Z jmr@macports.org $ PortSystem 1.0 name tcl version 8.5.7 # 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 f70ad8f78b5e4a9f792fe101f22b125f \ sha1 a603d27bf0b854739c99f0d658bfc3f1c485f578 \ rmd160 1bb843548c05332eb3404b99b4800613f25a9dbf dist_subdir tcltk distname ${name}${version}-src worksrcdir ${name}${version}/unix configure.args --mandir=${prefix}/share/man configure.cppflags-delete -I${prefix}/include configure.ldflags-delete -L${prefix}/lib destroot.destdir INSTALL_ROOT=${destroot} post-destroot { ln -s tclsh8.5 ${destroot}${prefix}/bin/tclsh ln -s 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 } platform darwin { configure.args-append tcl_cv_type_64bit="long long" } # Files with failing tests: socket.test test.run yes livecheck.type freshmeat livecheck.name tcltk livecheck.regex "(?i)tcl/tk (\\d+(?:\\.\\d+)*)"