# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
# $Id: Portfile 66226 2010-04-07 15:00:25Z snc@macports.org $

PortSystem 1.0

name		qalculate-gtk
version		0.9.7
categories	math
platforms	darwin
maintainers	vcn.com:jjstickel

description	Qalculate! is a multi-purpose desktop calculator for GNU/Linux.

long_description \
		Qalculate! is a multi-purpose desktop calculator for \
		GNU/Linux. It is small and simple to use but with much \
		power and versatility underneath. Features include \
		customizable functions, units, arbitrary precision, \
		plotting, and a user-friendly interface.

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

checksums           md5     7a7ab4680e285690ca3625992f477f0f \
                    sha1    c714c91224045fa49f261686e985df0aefa1d678 \
                    rmd160  bbb89fbfc6199dcf87666596ee0d7df3019635af

depends_build	path:bin/pkg-config:pkgconfig

depends_lib	port:libqalculate\
		port:libglade2\
		port:rarian

depends_run	lib:libgtk-x11-2.0:gtk2\
		port:gnuplot\
		port:gnome-vfs

use_parallel_build	yes

post-destroot {
    file delete ${destroot}${prefix}/bin/qalculate
}
