# $Id: Portfile,v 1.4 2005/10/06 20:43:04 toby Exp $

PortSystem 1.0

name	   ctetris
version	   0.30
categories	games
platforms	darwin
maintainers	jmpp@opendarwin.org

description	Ncurses based tetris clone written in C.
long_description	ctetris is a beautiful tetris clone, written in C using the ncurses \
			library. It works very fast and efficiently, so it should be possible to \
			play it even over a slow remote terminal.

homepage	http://sourceforge.net/projects/ctetris/
master_sites	sourceforge
use_bzip2	yes
checksums	md5 c6c6b9cf5d4b8ea4f82e498220293411

use_configure	no

patchfiles	patch-Makefile.diff \
		patch-brick.h \
		patch-game.h \
		patch-screen.h
post-patch	{ reinplace "s|__PREFIX__|${prefix}|" ${worksrcpath}/Makefile }

