# $Id: Portfile,v 1.5 2005/12/01 20:38:14 toby Exp $

PortSystem 1.0
name             gst
version          2.2
categories       lang
maintainers      toby@opendarwin.org
description      free implementation of Smalltalk-80
long_description \
    GNU Smalltalk is a free implementation of the Smalltalk-80 language \
    which runs on most versions on Unix and, in general, everywhere you \
    can find a POSIX-compliance library. An uncommon feature of it is \
    that it is well-versed to scripting tasks and headless processing.
homepage         http://www.gnu.org/software/smalltalk/
platforms        darwin
master_sites     gnu:smalltalk
distname         smalltalk-${version}
checksums        sha1 82e5c7d062878700d38913a34b85079efa1c22b7

depends_lib      lib:XXX:readline

configure.env    CPPFLAGS=-I${prefix}/include LDFLAGS=-L${prefix}/lib
configure.args   --disable-generational-gc \
                 --disable-gtk \
                 --infodir=${prefix}/share/info \
                 --mandir=${prefix}/share/man

test.run         yes
test.target      check

platform darwin 6 {
    depends_lib-append lib:libdl:dlcompat
}
