# $Id: Portfile 50984 2009-05-14 21:08:43Z and.damore@macports.org $

PortSystem 1.0
name             tf
version          5.0b8
categories       net games
maintainers      gmail.com:darren.bane
description      popular and powerful MUD client
long_description TinyFugue is a powerful, programmable MUD \
    client with macro support and multi-worlding support.
homepage         http://tinyfugue.sourceforge.net/
platforms        darwin linux

master_sites     sourceforge:tinyfugue
regsub -all      "\\." $version "" distVersion
distname         ${name}-${distVersion}
checksums        md5 3e994e791966d274f63b0e61abf2ef59

configure.args   --mandir=\\\${prefix}/share/man \
                 --enable-manpage \
                 --enable-getaddrinfo \
                 --disable-ssl

patchfiles	patch-src-malloc.c.diff

destroot.destdir prefix=${destroot}${prefix}

variant ssl {
	configure.args-delete --disable-ssl
	depends_lib           lib:libssl.0.9:openssl
}
