# $Id: Portfile,v 1.1 2004/05/01 23:10:54 mww Exp $

PortSystem 1.0

name		bastet
version		0.37
categories	games
platforms	darwin
maintainers	mww@opendarwin.org
description	bastard tetris is a yucky tetris clone
long_description	Bastet stands for bastard tetris, and is a Tetris(R) \
			clone which, instead of choosing your next brick at \
			random, expressly checks to see which one causes you \
			the most trouble. Playing Bastet can be a painful \
			experience.

homepage	http://fph.altervista.org/prog/bastet.shtml
master_sites	http://fph.altervista.org/prog/
checksums	md5 0a92c5dd9b6cdcec639cf8d9708e3f54
extract.suffix	.tgz
patchfiles	patch-Makefile.diff

use_configure	no

build.args	PREFIX=${prefix}

destroot	{
	xinstall -m 755 ${worksrcpath}/bastet ${destroot}${prefix}/bin/
	xinstall -m 755 -d ${destroot}${prefix}/var/games/bastet \
		${detsroot}${prefix}/share/doc/${name}
	xinstall -m 666 ${filespath}/bastet.scores \
		${destroot}${prefix}/var/games/bastet/
	xinstall -m 644 -W ${worksrcpath} AUTHORS COPYING HISTORY README \
		README-Petris ${detsroot}${prefix}/share/doc/${name}
}
