PortSystem 1.0

name		wump
version		4.6.2-RELEASE
revision	1
categories	games
license		BSD
maintainers	nomaintainer
description	Text-based cave exploring and wumpus hunting game
long_description	$description
homepage	http://svnweb.freebsd.org/base/release/4.9.0/games/wump/
platforms	darwin
use_bzip2	yes
master_sites	macports
checksums	md5 415c4b47458ac66f760b0a930a63c955
build.type	bsd
worksrcdir	${name}

configure	{ reinplace "s|MAN|MAN6|" ${worksrcpath}/Makefile
		  reinplace "s|/usr/share|${prefix}/share|" \
		    ${worksrcpath}/pathnames.h }

patchfiles	patch-wump.c

destroot	{
		xinstall -m 755 -d ${destroot}${prefix}/share/games
		xinstall -m 755 -c ${worksrcpath}/wump ${destroot}${prefix}/bin
		xinstall -m 644 -c ${worksrcpath}/wump.6.gz \
			${destroot}${prefix}/share/man/man6
		xinstall -m 644 -c ${worksrcpath}/wump.info \
			${destroot}${prefix}/share/games
}
