# $Id: Portfile 110478 2013-08-31 12:15:08Z and.damore@macports.org $

PortSystem 1.0

name        wtf
version     20130810
categories  games
license     public-domain
maintainers nomaintainer
description translates common Internet acronyms
long_description    "${description}"
platforms   darwin freebsd
supported_archs noarch

homepage    http://cvsweb.netbsd.org/bsdweb.cgi/src/games/wtf/
master_sites     freebsd
checksums           md5     733073784edcc414555a8d9f90069300 \
                    sha1    9ca3e9264941273fc21744f861e583e79899a2ee \
                    rmd160  ef034174b93a52c591c225098f90bf69adb667e4

use_configure	no

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

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

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

livecheck.type  none
