# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
PortSystem 1.0

name                scheme48
version             1.9.2
categories          lang scheme
platforms           darwin
maintainers         nomaintainer
license             BSD

description         Scheme byte-code interpreter
long_description    Scheme 48 is an implementation of Scheme written by \
                    Richard Kelsey and Jonathan Rees. It is based on a byte-code \
                    interpreter and is designed to be used as a testbed for \
                    experiments in implementation techniques and as an \
                    expository tool.

homepage            http://s48.org/
master_sites        ${homepage}/${version}/
extract.suffix      .tgz

checksums           rmd160  81f7f253f4fb9ff7771c44b28f437ebb77756669 \
                    sha256  9c4921a90e95daee067cd2e9cc0ffe09e118f4da01c0c0198e577c4f47759df4 \
                    size    3951356

# event.h should be included from ${worksrcdir}
# event.h can be installed by libevent
configure.cppflags-replace -I${prefix}/include -isystem${prefix}/include

configure.args      --mandir=${prefix}/share/man --enable-gc=bibop

build.target        enough

livecheck.type      regex
livecheck.url       ${homepage}
livecheck.regex     (\[0-9\]+\.\[0-9\]+\.\[0-9\]+)/download
