Portfile

# $Id: Portfile 22478 2007-03-02 05:16:40Z pipping@macports.org $

PortSystem 1.0

name glpong
version 1.0
categories games
platforms darwin
maintainers nomaintainer@macports.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
}