# $Id: Portfile 50984 2009-05-14 21:08:43Z and.damore@macports.org $

PortSystem		1.0
name			tempo
version			1.1.4
revision                1
categories		science
maintainers		lifehertz.com:jd
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

patchfiles		patch-tempo.c.diff

configure.cflags-append	-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}
			}

