# $Id: Portfile 93896 2012-06-03 17:50:00Z mww@macports.org $

PortSystem 1.0

name		  bigloo
version		  3.8c
categories	  lang scheme
platforms	  darwin
license           {GPL-2+ LGPL}
maintainers	  loria.fr:reilles

description	  Bigloo is a fast Scheme implementation.
long_description  Bigloo is a Scheme implementation devoted to one goal: \
    		  enabling Scheme based programming style where C(++) is \
		  usually required. Bigloo attempts to make Scheme practical \
		  by offering features usually presented by traditional \
		  programming languages but not offered by Scheme and \
		  functional programming. Bigloo compiles Scheme modules. \
    		  It delivers small and fast standalone binary executables. \
		  Bigloo enables full connections between Scheme and C programs, \
		  between Scheme and Java programs, and between Scheme and \
		  C# programs. 

homepage	  http://www-sop.inria.fr/mimosa/fp/Bigloo/
master_sites 	  ftp://ftp-sop.inria.fr/mimosa/fp/Bigloo/
distfiles	  ${name}${version}.tar.gz
worksrcdir	  ${name}${version}
checksums           rmd160  0bbbd73c8249450e61ee00a28dae94fae4f739ee \
                    sha256  3835d6aec4428f7a9dc8029a434b4c845e7ea15728141d60b72f9ebc6ddd45e1

# objs/obj_u/Unsafe/aes.c:394:6392: fatal error: parser recursion limit reached, program too complex
if {${configure.compiler} == "clang"} {
    configure.compiler llvm-gcc-4.2
}

configure.args 	  --mandir=${prefix}/share/man/man1 \
		  --infodir=${prefix}/share/info \
		  --docdir=${prefix}/share/doc/bigloo \
		  --lispdir=${prefix}/share/emacs/site-lisp/bigloo \
		  --jvm=yes \
		  --native-default-backend \
		  --finalization=yes \
		  --stack-check=no

build.target
