# $Id: Portfile,v 1.2 2004/01/26 22:04:03 mww Exp $

PortSystem 1.0

name		glpong
version		1.0
categories	games
platforms	darwin
maintainers	mww@opendarwin.org
description	Implementation of pong using OpenGL, playable vs. AI.
long_description	Implementation of pong using OpenGL, SDL, SDL_image, \
			and SDL_mixer. Only mode of play is you against an AI.

homepage	http://math.smsu.edu/~erik/software.php?id=72
master_sites	http://math.smsu.edu/~erik/files/
checksums	md5 aa4383fe80c5b2474b33c24d2a93d5d3

depends_lib	lib:libsdl:libsdl \
		lib:libsdl_image:libsdl_image \
		lib:libsdl_mixer:libsdl_mixer

configure.args	--disable-sdltest

post-configure	{
	reinplace "s|-lGLU||g" ${worksrcpath}/src/Makefile
	reinplace "s|-lGL||g" ${worksrcpath}/src/Makefile
}
