# -*- 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
# $Id: Portfile 71051 2010-08-30 19:47:57Z raimue@macports.org $

PortSystem          1.0

name                ikarus-scheme-devel
set my_name         ikarus-scheme
version             r1870
categories          lang
platforms           darwin
maintainers         nomaintainer
license             GPL-3
description         ikarus-scheme is a R6RS Scheme implementation
long_description    Ikarus Scheme is a free optimizing incremental \
                    native-code compiler for Scheme as specified in \
                    the Revised^6 Report on the Algorithmic Language Scheme.
homepage            http://ikarus-scheme.org/
master_sites        ${homepage}ikarus.dev/
dist_subdir         ${my_name}
distname            ${my_name}-${version}
extract.suffix      .tgz

checksums           md5     529c24afd3f3072a5c9b20aba322dedf \
                    sha1    8c0962c47346535047cfcc7160c2d9485af1fb22 \
                    rmd160  3e6de726a0d62c76dd0c5617d4a6796b934b74a9

depends_build       port:pkgconfig

depends_lib         port:libffi \
                    port:gmp

configure.args      --enable-libffi

pre-configure {
    configure.cppflags-append [exec ${prefix}/bin/pkg-config libffi --cflags]
}
