# $Id: Portfile 42372 2008-11-20 03:21:34Z blb@macports.org $

PortSystem 1.0
name             gforth
version          0.7.0
categories       lang
maintainers      gmail.com:arto.bendiken
description      fast and portable implementation of the ANS Forth language
long_description \
    Gforth is a fast and portable implementation of the ANS Forth \
    language. It works nicely with the Emacs editor, offers some \
    nice features such as input completion and history and a \
    powerful locals facility, and it even has (the beginnings of) \
    a manual. Gforth employs traditional implementation \
    techniques: its inner interpreter is indirect or direct threaded.
homepage         http://www.gnu.org/software/gforth/
platforms        darwin
master_sites     gnu
checksums        md5       2979ae86ede73ce2b3576dae957f4098 \
                 sha1      5bb357268cba683f2a8c63d2a4bcab8f41cb0086 \
                 ripemd160 df0cef8cff25eddf670315c5497fc5634226968c

test.run         yes
test.cmd         make
test.target      check bench

destroot.destdir prefix=${destroot}${prefix} \
                 infodir=${destroot}${prefix}/share/info \
                 mandir=${destroot}${prefix}/share/man

post-destroot {
  file delete -force ${destroot}${prefix}/share/info/dir
}
