[84362] trunk/dports/lang/ccl/Portfile

and.damore at macports.org and.damore at macports.org
Fri Sep 23 13:10:51 PDT 2011


Revision: 84362
          http://trac.macports.org/changeset/84362
Author:   and.damore at macports.org
Date:     2011-09-23 13:10:51 -0700 (Fri, 23 Sep 2011)
Log Message:
-----------
port ccl, tabs replaced with spaces

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

Modified: trunk/dports/lang/ccl/Portfile
===================================================================
--- trunk/dports/lang/ccl/Portfile	2011-09-23 20:09:53 UTC (rev 84361)
+++ trunk/dports/lang/ccl/Portfile	2011-09-23 20:10:51 UTC (rev 84362)
@@ -1,76 +1,76 @@
 # $Id$
 
 PortSystem 1.0
-name		ccl
-version		1.7
-revision	1
-set shortversion	${version}
-categories	lang
-maintainers	gwright easieste openmaintainer
-platforms	darwin
-description	The Clozure Common Lisp Implementation
+name        ccl
+version     1.7
+revision    1
+set shortversion    ${version}
+categories  lang
+maintainers gwright easieste openmaintainer
+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. 
+    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/ccl
+homepage    http://trac.clozure.com/ccl
 
-fetch.type	svn
-worksrcdir	ccl
+fetch.type  svn
+worksrcdir  ccl
 depends_build   docbook-xsl
-use_configure	no
+use_configure   no
 
 platform darwin i386 {
-	svn.url	http://svn.clozure.com/publicsvn/openmcl/release/${shortversion}/darwinx86/ccl
-	global bootimg
-	global ccl_script
+    svn.url http://svn.clozure.com/publicsvn/openmcl/release/${shortversion}/darwinx86/ccl
+    global bootimg
+    global ccl_script
 
-	if { ${configure.build_arch} == "x86_64" } {
-		set bootimg dx86cl64
-		set ccl_script ccl64
-	} elseif { ${configure.build_arch} == "i386" } {
-		set bootimg dx86cl
-		set ccl_script ccl
-	} else {
-	    pre-fetch {
-		    return -code error "architecture ${configure.build_arch} is not supported by ${name}"
-		}
-	}
+    if { ${configure.build_arch} == "x86_64" } {
+        set bootimg dx86cl64
+        set ccl_script ccl64
+    } elseif { ${configure.build_arch} == "i386" } {
+        set bootimg dx86cl
+        set ccl_script ccl
+    } else {
+        pre-fetch {
+            return -code error "architecture ${configure.build_arch} is not supported by ${name}"
+        }
+    }
 }
 
 platform darwin powerpc {
-	svn.url	http://svn.clozure.com/publicsvn/openmcl/release/${shortversion}/darwinppc/ccl
-	global bootimg
-	global ccl_script
+    svn.url http://svn.clozure.com/publicsvn/openmcl/release/${shortversion}/darwinppc/ccl
+    global bootimg
+    global ccl_script
 
-	if { ${configure.build_arch} == "ppc64" } {
-		set bootimg dppccl64
-		set ccl_script ccl64
-	} elseif { ${configure.build_arch} == "ppc" } {
-		set bootimg dppccl
-		set ccl_script ccl
-	} else {
-	    pre-fetch {
-		    return -code error "architecture ${configure.build_arch} is not supported by ${name}"
-		}
-	}
+    if { ${configure.build_arch} == "ppc64" } {
+        set bootimg dppccl64
+        set ccl_script ccl64
+    } elseif { ${configure.build_arch} == "ppc" } {
+        set bootimg dppccl
+        set ccl_script ccl
+    } else {
+        pre-fetch {
+            return -code error "architecture ${configure.build_arch} is not supported by ${name}"
+        }
+    }
 }
 
-build		{
-		  system "cd ${worksrcpath} && echo '(ccl::rebuild-ccl :full t)' | ./${bootimg} --batch"
+build       {
+          system "cd ${worksrcpath} && echo '(ccl::rebuild-ccl :full t)' | ./${bootimg} --batch"
     system -W ${worksrcpath}/doc/src "make -f Makefile.macports"
-		}
+        }
 
 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
+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
 
     xinstall -d ${destroot}${prefix}/share/doc/${name}
     xinstall -d ${destroot}${prefix}/share/examples
@@ -81,10 +81,10 @@
 
     }
 
-post-activate	{
-		  # Prepare asdf install folders and so forth.
+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/20110923/ddd327fa/attachment-0001.html>


More information about the macports-changes mailing list