# $Id: Portfile 30237 2007-10-23 01:46:57Z jmpp@macports.org $

PortSystem 1.0

name			gexpr
version			2.0.2
categories		math
platforms		darwin
maintainers		nomaintainer
description		A shell calculator
long_description	Gexpr is a shell calculator with floating point, standard \
			C functions, relational operators, and output in base 2/8/10/16. \
			It is a light alternative to bc(1). It can also be used to add \
			floating point math to shell scripts. 

homepage		http://gexpr.sourceforge.net/
master_sites	http://www.ibiblio.org/pub/Linux/apps/math/calc/ freebsd
checksums		md5 e4cb9b62b1f363bbf788f455ef144885

use_configure	no

destroot {
	xinstall -m 755 ${worksrcpath}/gexpr ${destroot}${prefix}/bin
	xinstall -m 644 ${worksrcpath}/gexpr.1 ${destroot}${prefix}/share/man/man1
	xinstall -m 755 -d  ${destroot}${prefix}/share/doc/${name}
	xinstall -m 644 -W ${worksrcpath} README COPYING \
		${destroot}${prefix}/share/doc/${name}
}

