# $Id: Portfile 60858 2009-11-25 20:51:42Z blb@macports.org $

PortSystem 1.0
name                tintinxx
version             1.99.8
categories          net games
platforms           darwin
maintainers         otherware.org:nefar

description         ncurses-based MUD client with triggers, aliases, colors

long_description    TinTin++, aka TT++, is a free Mud client for Windows, \
                    Linux, and Mac OS X. A Windows / Vista port named WinTin++, \
                    using the PuTTY terminal, is available for those who do not \
                    use Cygwin (A Linux/Unix emulator for Windows). Besides \
                    MUDs (which are free online text games), TinTin++ can also \
                    be used as a client to play MUSH, MUCK, MOO, MU*, or Rogue \
                    games, which are online text game variants. Connecting to a \
                    Linux server or a telnet BBS is possible as well.

distname            tintin-${version}
worksrcdir          tt/src
homepage            http://tintin.sourceforge.net/index.php
master_sites        http://tintin-mud-client.googlecode.com/files
checksums           md5     700314e08d41ef5deb0884bfb17baab8 \
                    sha1    8a59535aa16845ff11d1799e6bb9d2ba65fab9bd \
                    rmd160  a4afce64305cff856a9337d5a257f22c8cf5d63b
configure.args      --includedir=${prefix}/include
depends_lib         port:ncursesw port:pcre

destroot {
  xinstall -m 755 ${worksrcpath}/tt++ ${destroot}${prefix}/bin
  set doc_dest_dir ${destroot}${prefix}/share/doc/tintin++-${version}
  file mkdir -p $doc_dest_dir
  xinstall ${workpath}/tt/docs/tintin19.txt $doc_dest_dir
}
