# $Id: Portfile 103852 2013-03-08 22:23:52Z jmr@macports.org $ PortSystem 1.0 name tkregexp version 3.0 categories x11 license GPL-2+ platforms darwin supported_archs noarch maintainers nomaintainer homepage http://laurent.riesterer.free.fr/regexp/ description Design and debug regular expressions long_description tkregexp helps you to design or more generally work \ with regular expressions. As it is often difficult to \ write the right regexp at the first try, this tool will \ show you the effet of your regexp on a sample you can \ choose. master_sites ${homepage} checksums md5 e87b1bce03b9e7e1d6a23b0b77490f1e distname visual_regexp-${version} depends_run bin:wish8.4:tk use_configure no build {} post-build { reinplace "s|wish8.3|wish8.4|" ${worksrcpath}/visual_regexp.tcl } destroot { xinstall -m 755 ${worksrcpath}/visual_regexp.tcl \ ${destroot}${prefix}/bin xinstall -d -m 755 ${destroot}${prefix}/share/doc/${name} xinstall -m 644 ${worksrcpath}/README \ ${destroot}${prefix}/share/doc/${name} } post-destroot { system "cd ${destroot}${prefix}/bin && \ ln -s visual_regexp.tcl tkregexp" }