# $Id: Portfile,v 1.5 2003/08/05 09:29:16 jkh Exp $ PortSystem 1.0 name openmcl version 0.13.6 categories lang maintainers gwright@comcast.net platforms darwin description The OpenMCL Common Lisp Implementation long_description \ OpenMCL is an opensourced Common Lisp implementation, \ derived from Digitool's Macintosh Common Lisp product. \ \ OpenMCL currently runs under LinuxPPC and, as of \ version 0.10, under Darwin, the BSD/Mach layer on which \ MacOS X is based. homepage http://openmcl.clozure.com/ master_sites ftp://clozure.com/pub/ distfiles ${name}-darwinppc-bin-${version}${extract.sufx} \ ${name}-src-${version}${extract.sufx} \ ${name}-darwin-interfaces${extract.sufx} checksums openmcl-darwinppc-bin-0.13.6.tar.gz md5 4a8c8640f6f52227f8862a9f41ff13bd \ openmcl-src-0.13.6.tar.gz md5 12ef2c955f10f20f18df3b1e748f6989 \ openmcl-darwin-interfaces.tar.gz md5 96e729f65845d8af57b012e8ddd1cc56 configure { } build { cd ${workpath}/ccl/lisp-kernel/darwin system "make" cd ${workpath}/ccl system "echo '(ccl::xload-level-0 :force)' | ./dppccl --batch" system "echo '(ccl::compile-ccl)' | ./dppccl --batch" system "echo '(ccl::save-application \"dppccl.image\")' | \ ./dppccl --batch --image-name ppc-boot.image" } destroot { file mkdir ${destroot}/${prefix}/share/${name}/${version} cd ${workpath}/ccl system "tar cf - . | ( cd ${destroot}/${prefix}/share/${name}/${version} && tar xf -)" reinplace "s|/usr/local/src/ccl|${prefix}/share/${name}/${version}|" ${workpath}/ccl/scripts/openmcl system "chmod +x ${workpath}/ccl/scripts/openmcl" file copy ${workpath}/ccl/scripts/openmcl ${destroot}/${prefix}/bin }