# $Id: Portfile,v 1.3 2005/11/25 06:49:08 mww Exp $

PortSystem 1.0

name			libguichan
version			0.4.0
revision		2
categories		graphics
platforms		darwin
maintainers		josh_root@users.sourceforge.net
description		portable C++ GUI library designed for games using SDL
long_description	Guichan is a portable C++ GUI library designed for games \
				using SDL and/or OpenGL.

homepage		http://guichan.sourceforge.net/
master_sites	sourceforge:guichan
distname		guichan-${version}
extract.suffix	-src.tar.gz
checksums		md5 f68b6c603c4fb3d70a8737f916214a35
patchfiles		patch-configure

depends_lib		port:libsdl port:libsdl_image

configure.args	--enable-sdl --enable-sdl-image
configure.env	CFLAGS=-I${prefix}/include CXXFLAGS=-I${prefix}/include \
				CPPFLAGS=-I${prefix}/include LDFLAGS=-L${prefix}/lib

platform darwin 8 {
	configure.env-append CC=/usr/bin/gcc-4.0 CXX=/usr/bin/g++-4.0 CPP=/usr/bin/cpp-4.0
}

