[87039] trunk/dports/lang/sbcl/Portfile

easieste at macports.org easieste at macports.org
Tue Nov 8 08:32:08 PST 2011


Revision: 87039
          http://trac.macports.org/changeset/87039
Author:   easieste at macports.org
Date:     2011-11-08 08:32:08 -0800 (Tue, 08 Nov 2011)
Log Message:
-----------
Upgrade to sbcl-1.0.53.

Use bash to invoke the build script which should hopefully propagate
the CC, CXX, and CPP envrionment variables correctly.

Reformat whitespace.

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

Modified: trunk/dports/lang/sbcl/Portfile
===================================================================
--- trunk/dports/lang/sbcl/Portfile	2011-11-08 16:29:13 UTC (rev 87038)
+++ trunk/dports/lang/sbcl/Portfile	2011-11-08 16:32:08 UTC (rev 87039)
@@ -1,10 +1,10 @@
-# -*- coding: utf-8; mode: tcl; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 8 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
 # $Id$
 
 PortSystem 1.0
 
 name		sbcl
-version		1.0.52
+version		1.0.53
 revision        0
 set subrevision	""
 categories	lang
@@ -12,12 +12,12 @@
 platforms	darwin
 description	The Steel Bank Common Lisp system
 long_description	\
-		Steel Bank Common Lisp (SBCL) is a Open Source		\
-		development system for ANSI Common Lisp. It provides an	\
-		interactive environment including an integrated native	\
-		compiler, interpreter, and debugger. (And it, and its	\
-		generated code, can also play nicely with Unix when	\
-		running noninteractively.)
+    Steel Bank Common Lisp (SBCL) is a Open Source		\
+    development system for ANSI Common Lisp. It provides an	\
+    interactive environment including an integrated native	\
+    compiler, interpreter, and debugger. (And it, and its	\
+                                              generated code, can also play nicely with Unix when	\
+                                              running noninteractively.)
 
 homepage	http://www.sbcl.org
 master_sites	sourceforge
@@ -26,97 +26,99 @@
 patchfiles	patch-use-mach-exception-handler.diff  \
     patch-posix-tests.diff
 
-		
+
 distfiles	${name}-${version}-source${subrevision}${extract.suffix}
 
 distname	${name}-${version}-source${subrevision}
 worksrcdir	${name}-${version}
 
-checksums           sbcl-1.0.52-source.tar.bz2 \
-                    md5     e9e186637155184ec662b5a37634b457 \
-                    sha1    9fe760e9214a3108aed2811b28c50dc4f9b5b60b \
-                    rmd160  73cbe2d4b2f97b6dd67bd87d5f314d064106310b \
-                    sbcl-1.0.48-x86-darwin-binary.tar.bz2 \
-                    md5     5a3fe53829c6c9f589f17db31210e2ce \
-                    sha1    c4c6aa31e58767364c36ca509e06cf92c7b2e293 \
-                    rmd160  9f7e7a7c3d4ed35540c6c81962052fc13ee2cd9b
+checksums           sbcl-1.0.53-source.tar.bz2 \
+    rmd160  36027737eeb13d3c2003a3f97c75a1d435cac763 \
+    sha256  49c15dda91fd27f0e7d71a349e391d2c9a4fa753c452881873695309fe154b0a \
+    sbcl-1.0.48-x86-darwin-binary.tar.bz2 \
+    md5     5a3fe53829c6c9f589f17db31210e2ce \
+    sha1    c4c6aa31e58767364c36ca509e06cf92c7b2e293 \
+    rmd160  9f7e7a7c3d4ed35540c6c81962052fc13ee2cd9b \
+    md5     5a3fe53829c6c9f589f17db31210e2ce \
+    sha1    c4c6aa31e58767364c36ca509e06cf92c7b2e293 \
+    rmd160  9f7e7a7c3d4ed35540c6c81962052fc13ee2cd9b
 
 platform powerpc {
-		   set bootversion 1.0.47
-		   distfiles-append ${name}-${bootversion}-powerpc-darwin-binary${extract.suffix}
-		   checksums-append ${name}-${bootversion}-powerpc-darwin-binary${extract.suffix} \
-                        md5     02747afc7631a7ccdeede4b52b78072d \
-                        sha1    93df00b3120810a086d37666c1ccdeabc8daeb49 \
-                        rmd160  85c76296a1c62db5affdff7e72e61e558bb5c819
+    set bootversion 1.0.47
+    distfiles-append ${name}-${bootversion}-powerpc-darwin-binary${extract.suffix}
+    checksums-append ${name}-${bootversion}-powerpc-darwin-binary${extract.suffix} \
+        md5     02747afc7631a7ccdeede4b52b78072d \
+        sha1    93df00b3120810a086d37666c1ccdeabc8daeb49 \
+        rmd160  85c76296a1c62db5affdff7e72e61e558bb5c819
 
-		   global host_lisp
-		   set host_lisp	"\"${workpath}/${name}-${bootversion}-powerpc-darwin/src/runtime/sbcl --core ${workpath}/${name}-${bootversion}-powerpc-darwin/output/sbcl.core --disable-debugger --sysinit /dev/null --userinit /dev/null\" "
+    global host_lisp
+    set host_lisp	"\"${workpath}/${name}-${bootversion}-powerpc-darwin/src/runtime/sbcl --core ${workpath}/${name}-${bootversion}-powerpc-darwin/output/sbcl.core --disable-debugger --sysinit /dev/null --userinit /dev/null\" "
 }
 
 platform darwin 8 i386     {
-		   set bootversion 1.0.48
-		   distfiles-append ${name}-${bootversion}-x86-darwin-binary${extract.suffix}
-		   checksums-append ${name}-${bootversion}-x86-darwin-binary${extract.suffix} \
-                        md5     5a3fe53829c6c9f589f17db31210e2ce \
-                        sha1    c4c6aa31e58767364c36ca509e06cf92c7b2e293 \
-                        rmd160  9f7e7a7c3d4ed35540c6c81962052fc13ee2cd9b
+    set bootversion 1.0.48
+    distfiles-append ${name}-${bootversion}-x86-darwin-binary${extract.suffix}
+    checksums-append ${name}-${bootversion}-x86-darwin-binary${extract.suffix} \
+        md5     5a3fe53829c6c9f589f17db31210e2ce \
+        sha1    c4c6aa31e58767364c36ca509e06cf92c7b2e293 \
+        rmd160  9f7e7a7c3d4ed35540c6c81962052fc13ee2cd9b
 
-		   global host_lisp
-		   set host_lisp	"\"${workpath}/${name}-${bootversion}-x86-darwin/src/runtime/sbcl --core ${workpath}/${name}-${bootversion}-x86-darwin/output/sbcl.core --disable-debugger --sysinit /dev/null --userinit /dev/null\" "
+    global host_lisp
+    set host_lisp	"\"${workpath}/${name}-${bootversion}-x86-darwin/src/runtime/sbcl --core ${workpath}/${name}-${bootversion}-x86-darwin/output/sbcl.core --disable-debugger --sysinit /dev/null --userinit /dev/null\" "
 }
 
 platform darwin 9 i386     {
-		   set bootversion 1.0.48
-		   distfiles-append ${name}-${bootversion}-x86-darwin-binary${extract.suffix}
-		   checksums-append ${name}-${bootversion}-x86-darwin-binary${extract.suffix} \
-                        md5     5a3fe53829c6c9f589f17db31210e2ce \
-                        sha1    c4c6aa31e58767364c36ca509e06cf92c7b2e293 \
-                        rmd160  9f7e7a7c3d4ed35540c6c81962052fc13ee2cd9b
+    set bootversion 1.0.48
+    distfiles-append ${name}-${bootversion}-x86-darwin-binary${extract.suffix}
+    checksums-append ${name}-${bootversion}-x86-darwin-binary${extract.suffix} \
+        md5     5a3fe53829c6c9f589f17db31210e2ce \
+        sha1    c4c6aa31e58767364c36ca509e06cf92c7b2e293 \
+        rmd160  9f7e7a7c3d4ed35540c6c81962052fc13ee2cd9b
 
-		   global host_lisp
-		   set host_lisp	"\"${workpath}/${name}-${bootversion}-x86-darwin/src/runtime/sbcl --core ${workpath}/${name}-${bootversion}-x86-darwin/output/sbcl.core --disable-debugger --sysinit /dev/null --userinit /dev/null\" "
+    global host_lisp
+    set host_lisp	"\"${workpath}/${name}-${bootversion}-x86-darwin/src/runtime/sbcl --core ${workpath}/${name}-${bootversion}-x86-darwin/output/sbcl.core --disable-debugger --sysinit /dev/null --userinit /dev/null\" "
 }
 
 platform darwin 10 i386     {
-		   set bootversion 1.0.48
-		   distfiles-append ${name}-${bootversion}-x86-darwin-binary${extract.suffix}
-		   checksums-append ${name}-${bootversion}-x86-darwin-binary${extract.suffix} \
-                        md5     5a3fe53829c6c9f589f17db31210e2ce \
-                        sha1    c4c6aa31e58767364c36ca509e06cf92c7b2e293 \
-                        rmd160  9f7e7a7c3d4ed35540c6c81962052fc13ee2cd9b
+    set bootversion 1.0.48
+    distfiles-append ${name}-${bootversion}-x86-darwin-binary${extract.suffix}
+    checksums-append ${name}-${bootversion}-x86-darwin-binary${extract.suffix} \
+        md5     5a3fe53829c6c9f589f17db31210e2ce \
+        sha1    c4c6aa31e58767364c36ca509e06cf92c7b2e293 \
+        rmd160  9f7e7a7c3d4ed35540c6c81962052fc13ee2cd9b
 
-		   global host_lisp
-		   set host_lisp	"\"${workpath}/${name}-${bootversion}-x86-darwin/src/runtime/sbcl --core ${workpath}/${name}-${bootversion}-x86-darwin/output/sbcl.core --disable-debugger --sysinit /dev/null --userinit /dev/null\" "
+    global host_lisp
+    set host_lisp	"\"${workpath}/${name}-${bootversion}-x86-darwin/src/runtime/sbcl --core ${workpath}/${name}-${bootversion}-x86-darwin/output/sbcl.core --disable-debugger --sysinit /dev/null --userinit /dev/null\" "
 }
 
 platform darwin 11 i386     {
-		   set bootversion 1.0.48
-		   distfiles-append ${name}-${bootversion}-x86-darwin-binary${extract.suffix}
-		   checksums-append ${name}-${bootversion}-x86-darwin-binary${extract.suffix} \
-                        md5     5a3fe53829c6c9f589f17db31210e2ce \
-                        sha1    c4c6aa31e58767364c36ca509e06cf92c7b2e293 \
-                        rmd160  9f7e7a7c3d4ed35540c6c81962052fc13ee2cd9b
+    set bootversion 1.0.48
+    distfiles-append ${name}-${bootversion}-x86-darwin-binary${extract.suffix}
+    checksums-append ${name}-${bootversion}-x86-darwin-binary${extract.suffix} \
+        md5     5a3fe53829c6c9f589f17db31210e2ce \
+        sha1    c4c6aa31e58767364c36ca509e06cf92c7b2e293 \
+        rmd160  9f7e7a7c3d4ed35540c6c81962052fc13ee2cd9b
 
-		   global host_lisp
-		   set host_lisp	"\"${workpath}/${name}-${bootversion}-x86-darwin/src/runtime/sbcl --core ${workpath}/${name}-${bootversion}-x86-darwin/output/sbcl.core --disable-debugger --sysinit /dev/null --userinit /dev/null\" "
+    global host_lisp
+    set host_lisp	"\"${workpath}/${name}-${bootversion}-x86-darwin/src/runtime/sbcl --core ${workpath}/${name}-${bootversion}-x86-darwin/output/sbcl.core --disable-debugger --sysinit /dev/null --userinit /dev/null\" "
 }
 
 post-patch	{
-	reinplace "s|/usr/local/lib/${name}|${prefix}/lib/${name}|g" \
-                            ${worksrcpath}/doc/sbcl.1
+    reinplace "s|/usr/local/lib/${name}|${prefix}/lib/${name}|g" \
+        ${worksrcpath}/doc/sbcl.1
 }
 
 use_configure	no
 
 build		{
     reinplace s|CC=gcc|CC=${configure.cc}| ${worksrcpath}/contrib/asdf-module.mk
-    system "ulimit -s 8192 && unset LD_PREBIND && unset LD_PREBIND_ALLOW_OVERLAP && cd ${worksrcpath} && CC=${configure.cc} CXX=${configure.cxx} CPP=${configure.cpp} sh make.sh ${host_lisp} --prefix=${prefix}"
+    system "ulimit -s 8192 && unset LD_PREBIND && unset LD_PREBIND_ALLOW_OVERLAP && cd ${worksrcpath} && CC=${configure.cc} CXX=${configure.cxx} CPP=${configure.cpp} bash ./make.sh ${host_lisp} --prefix=${prefix}"
 }
 
 post-build {
     if {[variant_isset html] || [variant_isset pdf]} {
-		system "cd ${worksrcpath}/doc; INSTALL_ROOT=${destroot}${prefix} sh ${worksrcpath}/doc/make-doc.sh"
-	}
+        system "cd ${worksrcpath}/doc; INSTALL_ROOT=${destroot}${prefix} sh ${worksrcpath}/doc/make-doc.sh"
+    }
 }
 
 variant html conflicts pdf description {Installs documentation in HTML and Info formats} {
@@ -133,7 +135,7 @@
 } 
 
 variant threads description {Enable multi-threaded runtime} {
-	patchfiles-append patch-base-target-features.diff
+    patchfiles-append patch-base-target-features.diff
 }
 
 test.run	yes
@@ -142,7 +144,7 @@
 test.target	run-tests.sh
 
 destroot	{ 
-	system "cd ${worksrcpath}; INSTALL_ROOT=${destroot}${prefix} sh ${worksrcpath}/install.sh"
+    system "cd ${worksrcpath}; INSTALL_ROOT=${destroot}${prefix} sh ${worksrcpath}/install.sh"
 }
 
 livecheck.url       http://sourceforge.net/api/file/index/project-id/1373/rss?path=%2F${name}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20111108/612b1dea/attachment.html>


More information about the macports-changes mailing list