# $Id: Portfile 54310 2009-07-24 18:54:23Z toby@macports.org $

PortSystem 1.0
name		gst-dev
version		3.0b
categories	lang
maintainers	landonf openmaintainer
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://smalltalk.gnu.org/
platforms	darwin

#master_sites	gnu:smalltalk
master_sites	ftp://alpha.gnu.org/gnu/smalltalk/
distname	smalltalk-${version}
checksums	md5 c712939b982b517cc53fc6eca216368c \
		sha1 c295bf060f626de634a6bd0771d634dbfc6d9526 \
		rmd160 af8ff26a52a67de513064ef1fad61be1cbe95969

depends_lib	port:gmp \
		port:libiconv \
		port:ncurses \
		port:ncursesw \
		port:readline \
		port:tcl \
		port:tk

configure.args	--infodir=${prefix}/share/info \
		--mandir=${prefix}/share/man \
		--with-gmp=${prefix}/lib \
		--with-readline=${prefix}/lib \
		--with-tcl=${prefix}/lib \
		--with-tk=${prefix}/lib \
		--with-libiconv-prefix=${prefix}

test.run	yes
test.target	check

livecheck.regex smalltalk-(\\d+(?:\\.\\d+)*)${extract.suffix}
