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

PortSystem 1.0

name			e
version			0.02718
categories		math
platforms		darwin
maintainers		nomaintainer
description		e is a command line expression evaluator.
long_description	e is a command line expression evaluator. It was designed \
				to be as small as possible, and quick to use.

homepage		http://www.softnet.tuc.gr/~apdim/projects/e/
master_sites	${homepage}
checksums		md5 04b0b7415dd26551a88c1c70ca7bf514

extract.post_args	"| tar -xf - --exclude e"

use_configure	no

build.target

destroot	{
	xinstall -m 755 -s ${worksrcpath}/e ${destroot}${prefix}/bin
	xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
	xinstall -m 644 -W ${worksrcpath} EXAMPLES GPL GRAMMAR README \
		${destroot}${prefix}/share/doc/${name}
}
