# $Id: Portfile 51945 2009-06-07 06:22:47Z perry@macports.org $

PortSystem          1.0

name                see
version             3.1.1424
revision            0
categories          lang
maintainers         perry
platforms           darwin

description         Simple ECMAScript Engine
long_description    The Simple ECMAScript Engine ('SEE') is a parser and \
                    runtime library for the popular ECMAScript language.
homepage            http://www.adaptive-enterprises.com.au/~d/software/see/

livecheck.check     regex
livecheck.regex     {'see-(.*)\.tar\.gz'}
livecheck.url       ${homepage}

depends_lib         path:include/gc.h:boehmgc

master_sites        ${homepage}

checksums           rmd160 e8c682e04ba63288fcf225a1581fc6896e010c9b

configure.args      --with-boehm-gc --without-pcre --without-readline

variant readline description {Enable the GNU Readline library} {
    depends_lib-append port:readline

    configure.args-append --with-readline
    configure.args-delete --without-readline
}
