[49311] trunk/dports/lang

gwright at macports.org gwright at macports.org
Tue Apr 7 04:06:50 PDT 2009


Revision: 49311
          http://trac.macports.org/changeset/49311
Author:   gwright at macports.org
Date:     2009-04-07 04:06:49 -0700 (Tue, 07 Apr 2009)
Log Message:
-----------
New port: Clozure Common Lisp, version 1.3-RC1.
This replaces OpenMCL, which was renamed to avoid confusion
with a similarly named commercial product.  The 1.3 release
supports x86 and x86_64 architectures, as well as ppc
and ppc64.

Added Paths:
-----------
    trunk/dports/lang/ccl/
    trunk/dports/lang/ccl/Portfile

Added: trunk/dports/lang/ccl/Portfile
===================================================================
--- trunk/dports/lang/ccl/Portfile	                        (rev 0)
+++ trunk/dports/lang/ccl/Portfile	2009-04-07 11:06:49 UTC (rev 49311)
@@ -0,0 +1,84 @@
+# $Id: Portfile 28165 2007-08-23 10:37:08Z ryandesign at macports.org $
+
+PortSystem 1.0
+name		ccl
+version		1.3-RC1
+set shortversion	1.3
+categories	lang
+maintainers	gwright
+platforms	darwin
+description	The Clozure Common Lisp Implementation
+long_description \
+	Clozure CL is an open source Common Lisp implementation.	\
+	Clozure CL used to be called OpenMCL. It is also sometimes	\
+	called CCL. You will see the three names being used interchangeably. 
+
+homepage	http://trac.clozure.com/openmcl
+
+fetch.type	svn
+worksrcdir	ccl
+
+depends_build	bin:svn:subversion
+
+use_configure	no
+
+platform darwin i386 {
+	svn.url	http://svn.clozure.com/publicsvn/openmcl/release/${shortversion}/darwinx86/ccl
+	global bootimg
+	set bootimg dx86cl
+
+	global ccl_script
+	set ccl_script ccl
+}
+
+platform darwin x86_64 {
+	svn.url	http://svn.clozure.com/publicsvn/openmcl/release/${shortversion}/darwinx86/ccl
+	global bootimg
+	set bootimg dx86cl64
+
+	global ccl_script
+	set ccl_script ccl64
+}
+
+platform darwin ppc {
+	svn.url	http://svn.clozure.com/publicsvn/openmcl/release/${shortversion}/darwinpcc/ccl
+	global bootimg
+	set bootimg dppccl
+
+	global ccl_script
+	set ccl_script ccl
+}
+
+platform darwin ppc64 {
+	svn.url	http://svn.clozure.com/publicsvn/openmcl/release/${shortversion}/darwinppc/ccl
+	global bootimg
+	set bootimg dppccl64
+
+	global ccl_script
+	set ccl_script ccl64
+}
+
+build		{
+		  system "cd ${worksrcpath} && echo '(ccl::rebuild-ccl :full t)' | ./${bootimg} --batch"
+		}
+
+set prefixpath  \\\"[regsub -all / [strsed ${prefix}/share/asdf-install {g/^\///}] "\\\" \\\""]\\\"
+
+destroot	{
+		  file mkdir ${destroot}/${prefix}/share/${name}/${shortversion}
+		  system "cd ${worksrcpath} && tar cf - . | ( cd ${destroot}/${prefix}/share/${name}/${shortversion} && tar xf -)"
+		  reinplace "s|/usr/local/src/ccl|${prefix}/share/${name}/${shortversion}|" \
+		  ${workpath}/ccl/scripts/${ccl_script}
+		  system "chmod +x ${workpath}/ccl/scripts/${ccl_script}"
+		  file copy ${workpath}/ccl/scripts/${ccl_script} ${destroot}/${prefix}/bin
+		  reinplace "s|\"usr\" \"local\" \"asdf-install\")))))|${prefixpath})))))|" \
+		  ${destroot}/${prefix}/share/${name}/${shortversion}/tools/asdf-install/installer.lisp
+		}
+
+post-activate	{
+		  # Prepare asdf install folders and so forth.
+                  file mkdir ${prefix}/share/asdf-install
+                  system "chgrp admin ${prefix}/share/asdf-install"
+                  system "chmod g+w ${prefix}/share/asdf-install"
+		}
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090407/887b4c30/attachment.html>


More information about the macports-changes mailing list