# $Id: Portfile,v 1.3 2006/01/31 04:02:56 blb Exp $

PortSystem			1.0
name				cannonsmash
version				0.6.6
revision			1
categories			games
maintainers			blb@opendarwin.org
description			3D tabletennis game
long_description	${description}

platforms			darwin

homepage			http://cannonsmash.sourceforge.net/
master_sites		sourceforge
distname			csmash-${version}

checksums			md5 bcf2eddd0f04d58e5dac6d767f41d9af

depends_lib			port:libsdl_mixer port:libsdl_image \
					port:gtk2 lib:libGL:XFree86 

patchfiles			patch-loadparts.cpp patch-matrix patch-configure

configure.env		CPPFLAGS="-I${prefix}/include" LDFLAGS="-L${prefix}/lib"
configure.args		--disable-sdltest

