1 | # $Id: Portfile,v 1.5 2003/08/05 09:29:16 jkh Exp $ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | name openmcl |
---|
5 | version 0.13.6 |
---|
6 | categories lang |
---|
7 | maintainers gwright@comcast.net |
---|
8 | platforms darwin |
---|
9 | description The OpenMCL Common Lisp Implementation |
---|
10 | long_description \ |
---|
11 | OpenMCL is an opensourced Common Lisp implementation, \ |
---|
12 | derived from Digitool's Macintosh Common Lisp product. \ |
---|
13 | \ |
---|
14 | OpenMCL currently runs under LinuxPPC and, as of \ |
---|
15 | version 0.10, under Darwin, the BSD/Mach layer on which \ |
---|
16 | MacOS X is based. |
---|
17 | |
---|
18 | homepage http://openmcl.clozure.com/ |
---|
19 | master_sites ftp://clozure.com/pub/ |
---|
20 | |
---|
21 | distfiles ${name}-darwinppc-bin-${version}${extract.sufx} \ |
---|
22 | ${name}-src-${version}${extract.sufx} \ |
---|
23 | ${name}-darwin-interfaces${extract.sufx} |
---|
24 | |
---|
25 | checksums openmcl-darwinppc-bin-0.13.6.tar.gz md5 4a8c8640f6f52227f8862a9f41ff13bd \ |
---|
26 | openmcl-src-0.13.6.tar.gz md5 12ef2c955f10f20f18df3b1e748f6989 \ |
---|
27 | openmcl-darwin-interfaces.tar.gz md5 96e729f65845d8af57b012e8ddd1cc56 |
---|
28 | |
---|
29 | configure { reinplace "s|-traditional-cpp|-no-cpp-precomp|g" \ |
---|
30 | ${workpath}/ccl/lisp-kernel/darwin/Makefile } |
---|
31 | |
---|
32 | build { cd ${workpath}/ccl/lisp-kernel/darwin |
---|
33 | system "make" |
---|
34 | cd ${workpath}/ccl |
---|
35 | system "echo '(ccl::xload-level-0 :force)' | ./dppccl --batch" |
---|
36 | system "echo '(ccl::compile-ccl)' | ./dppccl --batch" |
---|
37 | system "echo '(ccl::save-application \"dppccl.image\")' | \ |
---|
38 | ./dppccl --batch --image-name ppc-boot.image" |
---|
39 | } |
---|
40 | |
---|
41 | destroot { file mkdir ${destroot}/${prefix}/share/${name}/${version} |
---|
42 | cd ${workpath}/ccl |
---|
43 | system "tar cf - . | ( cd ${destroot}/${prefix}/share/${name}/${version} && tar xf -)" |
---|
44 | reinplace "s|/usr/local/src/ccl|${prefix}/share/${name}/${version}|" ${workpath}/ccl/scripts/openmcl |
---|
45 | system "chmod +x ${workpath}/ccl/scripts/openmcl" |
---|
46 | file copy ${workpath}/ccl/scripts/openmcl ${destroot}/${prefix}/bin |
---|
47 | } |
---|
48 | |
---|