# $Id: Portfile 50971 2009-05-14 16:06:23Z and.damore@macports.org $

PortSystem              1.0

name                    qtoctave-mac
version                 0.7.4
revision		3
categories              aqua math
platforms               darwin
maintainers             and.damore openmaintainer

description             QtOctave is a front-end for Octave
long_description        QtOctave is a front-end for Octave. Octave is a high-level language,\
						primarily intended for numerical computations like Matlab. QtOctave\
						tries, using menus and forms, make easy Octave.

homepage		http://qtoctave.wordpress.com
distname		qtoctave-${version}
master_sites		http://forja.rediris.es/frs/download.php/744/

depends_lib		port:octave \
				port:qt4-mac

depends_build	bin:cmake:cmake

patchfiles		patch-src-CMakeList.diff
patch.pre_args	-p1

checksums		md5  ac6fbfecd1e1ca5b07f1131701d92186 \
				sha1  7ad0ae8e891f7a64f4254fd48245968dc83a52df \
				rmd160  18436cdb862c9ed4f49c5c10b96be7b8201cbae4


configure.cmd       cmake

configure.pre_args  -DCMAKE_INSTALL_PREFIX=${prefix}

configure.args      -DQT_QMAKE_EXECUTABLE=${prefix}/libexec/qt4-mac/bin/qmake \
                    -G \"Unix Makefiles\" .
