# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 # $Id$ PortSystem 1.0 name tclreadline version 2.1.0 revision 1 categories devel platforms darwin maintainers dons.net.au:darius license BSD description An interactive readline for tcl shells. long_description The tclreadline package makes the GNU Readline \ library available for interactive tcl shells. \ This includes history expansion and file/command \ completion. Command completion for all tcl/tk \ commands is provided and commmand completers for \ user defined commands can be easily added. \ tclreadline can also be used for tcl scripts \ which want to use a shell like input interface. \ In this case the ::tclreadline::readline read \ command has to be called explicitly. homepage http://tclreadline.sourceforge.net/ master_sites sourceforge checksums sha1 3b44f92ce1921ebccebab9b44d7cda6992cf8923 \ rmd160 9967f7d7aa18fcd822f5701306f3a75a6001fdc5 depends_lib port:readline post-extract { move ${worksrcpath}/configure.in ${worksrcpath}/configure.ac } use_autoreconf yes # Patch readline to use malloc/free instead of # Tcl_Alloc/Tcl_Free. Required for threaded-enabled Tcl. # Use rl_completion_func_t instead of CPPFunction for compatibility with readline 6.3+. patchfiles patch-tclreadline.c.diff patchfiles-append patch-configure.ac.diff livecheck.type regex livecheck.url http://sourceforge.net/projects/${name}/files/ livecheck.regex /${name}-(\[0-9.\]+)${extract.suffix}