# $Id: Portfile,v 1.16 2006/08/08 07:07:52 yeled Exp $

PortSystem 1.0
name        wtf
version     20051104
categories  games
maintainers yeled@opendarwin.org
description translates common Internet acronyms
long_description    "${description}"
platforms   darwin freebsd

master_sites    http://www.mu.org/~mux/wtf/
checksums       md5 93ca90bef86d2f58da14ed0db87cbf78 \
    sha1 15ebea8a8ef90fd45f5fe8ea6f076db795ec406c \
    rmd160 75ab3930721558b9660df65694def06415f19fdf


configure {}

build {
    cd ${worksrcpath}
    reinplace "s|/usr|${prefix}|g" wtf wtf.6
}

destroot {
    xinstall -m 555 wtf ${destroot}${prefix}/bin
    xinstall -m 444 wtf.6 ${destroot}${prefix}/share/man/man6

    xinstall -d ${destroot}${prefix}/share/misc
    xinstall -m 444 acronyms acronyms.comp ${destroot}${prefix}/share/misc
}

