# $Id: Portfile,v 1.4 2004/09/21 12:02:03 olegb Exp $

PortSystem 1.0
name		gcalctool
version		4.4.18
description	a GNOME 2.4 desktop calculator.
long_description        gcalctool is the desktop calculator that has been proposed \
			for GNOME. It has Basic, Financial and Scientific modes.
maintainers	gnome-darwinports@opendarwin.org
categories	gnome math
platforms	darwin 
homepage	http://calctool.sourceforge.net/
master_sites    gnome:sources/gcalctool/4.4/
use_bzip2	yes
checksums	md5 b0385549822775571dc550294eb1da58
depends_lib	bin:gnome-control-center:control-center
#post-configure	{
		#reinplace "s|malloc.h|sys/malloc.h|g" ${worksrcpath}/gcalctool/calctool.c
		#}
configure.args  --mandir=${prefix}/share/man
configure.env   CPPFLAGS="-L${prefix}/lib -I${prefix}/include" \
                CFLAGS="-no-cpp-precomp -flat_namespace -undefined suppress" 
