--- Portfile.orig	2008-02-03 00:32:57.000000000 -0800
+++ Portfile	2008-02-02 23:42:36.000000000 -0800
@@ -2,7 +2,7 @@
 
 PortSystem 1.0
 name		chicken
-version		2.6
+version		3.0.0
 categories	lang scheme
 maintainers	arto.bendiken@gmail.com waqar@macports.org
 description	Compiler for the Scheme programming language
@@ -13,28 +13,14 @@
 	enhancements and extensions.
 homepage	http://www.call-with-current-continuation.org/
 platforms	darwin
-master_sites	http://www.call-with-current-continuation.org/
-checksums	sha1 4010d21db1b0d2df3b3ab392503be4bb19073bbd
-configure.args  --infodir=${prefix}/share/info --mandir=${prefix}/share/man \
-		--enable-gc-hooks --enable-apply-hook \
-		--enable-extra-symbol-slot \
-		--enable-symbol-gc
-
-platform darwin 8 {
-	configure.cflags-append	"-I${prefix}/include"
-}
-
-variant no-hooks {
-	configure.args-delete --enable-gc-hooks --enable-apply-hook
-	configure.args-append --disable-gc-hooks --disable-apply-hook
-}
-
-variant no-symslot {
-	configure.args-delete --enable-extra-symbol-slot
-	configure.args-append --disable-extra-symbol-slot
-}
-
-variant no-symgc {
-	configure.args-delete --enable-symbol-gc
-	configure.args-append --disable-symbol-gc
-}
+# TODO: there should be a download URL without a date
+master_sites	http://chicken.wiki.br/dev-snapshots/2008/02/01/
+checksums	md5 7bec72b12e80c611f5fd0806f25edfce \
+		sha1 5bb14c65aff8128a95a472ec821461059709cf45 \
+		rmd160 085753577e4ec5883231713f13aec8ee8be603ef		
+patchfiles	patch-rules.make.in
+use_configure	no
+build.args	PLATFORM=macosx PREFIX=${prefix}
+build.target	bootstrap
+use_parallel_build yes
+destroot.args	PLATFORM=macosx PREFIX=${prefix}
