# $Id: Portfile,v 1.3 2004/02/05 17:48:53 olegb Exp $

PortSystem		1.0
name			tempo
version			1.1.4
categories		science
maintainers		jd@lifehertz.com
platforms		darwin
homepage		http://tempo.sourceforge.net/
description		TEMPO (Topographic Eeg Mapping PrOgram)

long_description	TEMPO (Topographic Eeg Mapping PrOgram) is open source \
			software for 3D visualization of brain electrical activity. \
			TEMPO accepts EEG file in standard EDF format and creates \
			animated sequence of topographic maps. Topographic maps are \
			generated over 3D head model and user is able to navigate \
			around head and examine maps from different viewpoints. \
			
master_sites		sourceforge
checksums		md5 56778b4b5b8c3df809bd6c7b0022a518

depends_lib		lib:libgtkglext-x11-1.0:gtkglext \
			lib:libgnome-2:libgnome \
			lib:libX11.6:XFree86

patchfiles		patch-tempo.c.diff

configure.env		CFLAGS="-I'${prefix}/include' -L'${prefix}/lib'"
configure.args		--with-x

post-destroot	{	file mkdir ${destroot}${prefix}/share/doc/${name}
			xinstall -v -W ${worksrcpath} \
			ChangeLog INSTALL README TODO THANKS AUTHORS \
				${destroot}${prefix}/share/doc/${name}
			}

