# $Id: Portfile,v 1.3 2005/06/14 06:28:47 jkh Exp $

PortSystem 1.0
name		pfe
version		0.32.91
categories	lang
maintainers	darwinports@opendarwin.org
platforms	darwin
description	Implementation of ANSI Forth
long_description	The Forth-system is closely modeled along the new American National Standard for the programming language Forth. Every word of every word set mentioned in the dpANS-6 document of June 1993 has been implemented.  Additionally it is compatible to Forth-83.

homepage	http://pfe.sourceforge.net/
master_sites	sourceforge
checksums	md5 8692440b7ae932c2551958b0e8be180c

post-configure {
	global reldir
	set reldir [exec sh $worksrcpath/config.guess]
	system "cp /usr/bin/glibtool ${worksrcpath}/Release/${reldir}/pfe/libtool"
}

destroot {
	global reldir
	system "cp ${worksrcpath}/Release/${reldir}/pfe/.libs/pfe ${destroot}${prefix}/bin"
	system "cp ${worksrcpath}/Release/${reldir}/pfe/.libs/*.dylib ${destroot}${prefix}/lib"
	system "cp ${worksrcpath}/Release/${reldir}/pfe/pfe.1 ${destroot}${prefix}/share/man/man1"
}
