# $Id: Portfile 44716 2009-01-02 10:08:31Z mcalhoun@macports.org $ PortSystem 1.0 name tcl version 8.5.5 # 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 39faed045bd03da1267fb66c9b75349f \ sha1 af0433feaa7be1da945a1f414c4b10485ffbd386 \ rmd160 0f2e5ce7d7651f6fb1fe28e011df24881f1070e5 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 ${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