PortSystem 1.0

name	   fbg
version	   0.9
categories	games aqua
license	   GPL-2
platforms	darwin
maintainers	nomaintainer

description	Puzzle game similar to Tetris but with improved graphics.
long_description	Falling Block Game is a puzzle game that is similar to the Hasbro \
			classic, Tetris. Many such games have been released for a variety \
			of platforms, but most have passable graphics or poor gameplay/piece \
			control.

homepage	http://fbg.sourceforge.net/
master_sites	sourceforge:project/${name}/${name}/${version}
checksums	md5 82db64d84b6172f5676fcff69d533881

depends_lib	port:libsdl \
		port:physfs

patchfiles	patch-configure.diff \
		patch-all_OpenGL.diff \
		patch-Makefile.in.diff

configure.cflags-append	-I/System/Library/Frameworks/OpenGL.framework/Headers ${configure.cppflags}
configure.ldflags-append -framework OpenGL
configure.args	--mandir=${prefix}/share/man \
                --disable-sdltest \
                --with-sdl-prefix=${prefix} \
                --disable-fbglaunch \
                --disable-sound
