# $Id: Portfile 103949 2013-03-10 21:10:56Z jmr@macports.org $ PortSystem 1.0 name tkirc version 2.46 categories irc license GPL-2+ maintainers nomaintainer description A Tk-based GUI for the ircII Internet Relay Chat client long_description Tkirc is a frontend for unix's ircII (shell-client for the Internet Relay Chat) based on Tcl/Tk. If you know how to use ircII, you should not have any problems using tkirc. homepage http://netsplit.de/tkirc2/ platforms darwin supported_archs noarch master_sites ftp://ftp.netsplit.de/pub/tcltk/ netbsd:packages/distfiles checksums md5 b6b16369e2d1cd6a0941d93577d6831e depends_run bin:ircII:ircii bin:wish8.4:tk distname ${name}${version} worksrcdir tkirc2 use_configure no build { reinplace "s;wish8.3;wish8.4;" ${worksrcpath}/tkirc2 } destroot { system "install -d ${destroot}${prefix}/bin" system "install -d ${destroot}${prefix}/share/doc/tkirc/examples" system "install -c ${worksrcpath}/tkirc2 ${destroot}${prefix}/bin" system "ln -fs ${destroot}${prefix}/bin/tkirc2 ${destroot}${prefix}/bin/tkirc" system "install -c ${worksrcpath}/CHANGES ${destroot}${prefix}/share/doc/tkirc" system "install -c ${worksrcpath}/COPYING ${destroot}${prefix}/share/doc/tkirc" system "install -c ${worksrcpath}/README ${destroot}${prefix}/share/doc/tkirc" system "tar -cf - -C ${worksrcpath} .tkirc2 | tar -xf - -C ${destroot}${prefix}/share/doc/tkirc/examples" }