Portfile

# $Id: Portfile 21687 2007-02-02 18:06:05Z jmpp@macports.org $

PortSystem 1.0

name ctetris
version 0.30
categories games
platforms darwin
maintainers jmpp@macports.org openmaintainer@macports.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 }

files