# $Id$

PortSystem 1.0

name                tintinxx
version             2.00.7
revision            2
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        sourceforge:project/tintin/TinTin%2B%2B%20Source%20Code/${version}
checksums           md5    f6791783a7077058a49a216f5caf8093 \
                    sha1   7e49905a4fe38eb888fd3ecacadaf0650e87ead0 \
                    rmd160 f889a5aaee13002518f0f0a11106529bfc7bf50c
configure.args      --includedir=${prefix}/include
depends_lib         port:ncurses port:pcre

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