# $Id: Portfile 67187 2010-05-01 05:54:11Z ryandesign@macports.org $

PortSystem 1.0
name		chicken
version		4.4.0
categories	lang scheme
maintainers	gmail.com:arto.bendiken waqar gmail.com:ivan.g.raikov
description	Compiler for the Scheme programming language
long_description	\
	Chicken produces portable, efficient C, supports almost all 	\
	of the current Scheme language standard, the Revised5 Report 	\
	on the Algorithmic Language Scheme (R5RS ), and includes many 	\
	enhancements and extensions.
homepage	http://www.call-with-current-continuation.org/
platforms	darwin
master_sites	http://chicken.wiki.br/releases/${version}

checksums	md5     598e7ea036807a67297c3e2bf4a454c4 \
		sha1    509b8480919e8b888caa4074de8042bcbd7ce6fb \
		rmd160  d169632f3683e6b85515d74fee2d43c3acf2e5b2

patchfiles	patch-Makefile.macosx

use_configure	no

build.args	C_COMPILER=${configure.cc} \
		PLATFORM=macosx \
		PREFIX=${prefix}

if {"x86_64" == ${configure.build_arch}} {
    build.args-append ARCH=x86-64
}

destroot.args	${build.args}
