# $Id: Portfile,v 1.1 2005/11/04 07:33:23 blb Exp $

PortSystem			1.0
name				k3dsurf
version				0.5.3
categories			math graphics science
maintainers			blb@opendarwin.org
description			Multidimensional surface visualizer
long_description \
	K3DSurf is a program to visualize and manipulate multidimensional \
	surfaces by using mathematical equations.  It's also a "modeler" for \
	POV-Ray in the area of parametric surfaces.

platforms			darwin

homepage			http://k3dsurf.sourceforge.net/
master_sites		sourceforge

checksums			md5 21101394945588551fefb5f62063f523

depends_lib			port:qt3-mac

configure {
	cd ${worksrcpath}
	system "qmake"
}

build.env			QTDIR=${prefix}

destroot {
	xinstall -m 755 -d ${destroot}/Applications/DarwinPorts
	file copy ${worksrcpath}/bin/k3dsurf.app \
		${destroot}/Applications/DarwinPorts
}

