pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/sbcl Steel Bank Common Lisp (SBCL) is an Open Sou...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/cfde794465ad
branches:  trunk
changeset: 496099:cfde794465ad
user:      jonb <jonb%pkgsrc.org@localhost>
date:      Thu Jun 23 03:00:20 2005 +0000

description:
Steel Bank Common Lisp (SBCL) is an Open Source complier and runtime
system for ANSI Common Lisp.  It provides an interactive environment
including an integrated native compiler, a debugger, and many
extensions.

diffstat:

 lang/sbcl/DESCR            |   4 +
 lang/sbcl/Makefile         |  58 ++++++++++++++++++++++++++++
 lang/sbcl/PLIST            |  94 ++++++++++++++++++++++++++++++++++++++++++++++
 lang/sbcl/distinfo         |   8 +++
 lang/sbcl/patches/patch-aa |  13 ++++++
 lang/sbcl/patches/patch-ab |  22 ++++++++++
 lang/sbcl/patches/patch-ac |  18 ++++++++
 7 files changed, 217 insertions(+), 0 deletions(-)

diffs (245 lines):

diff -r 0f44eb1cfe80 -r cfde794465ad lang/sbcl/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/sbcl/DESCR   Thu Jun 23 03:00:20 2005 +0000
@@ -0,0 +1,4 @@
+Steel Bank Common Lisp (SBCL) is an Open Source complier and runtime
+system for ANSI Common Lisp.  It provides an interactive environment
+including an integrated native compiler, a debugger, and many
+extensions.
diff -r 0f44eb1cfe80 -r cfde794465ad lang/sbcl/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/sbcl/Makefile        Thu Jun 23 03:00:20 2005 +0000
@@ -0,0 +1,58 @@
+# $NetBSD: Makefile,v 1.1.1.1 2005/06/23 03:00:20 jonb Exp $
+
+DISTNAME=              ${PKGNAME}-source
+PKGNAME=               sbcl-0.9.1
+CATEGORIES=            lang
+MASTER_SITES=          ${MASTER_SITE_SOURCEFORGE:=sbcl/}
+EXTRACT_SUFX=          .tar.bz2
+
+MAINTAINER=            jonb%NetBSD.org@localhost
+HOMEPAGE=              http://www.sbcl.org/
+COMMENT=               SBCL, a Common Lisp implementation
+
+ONLY_FOR_PLATFORM=     NetBSD-*-i386
+# It should be possible to have SBCL working on amd64, powerpc,
+# sparc, alpha, mips, and HPPA hardware also, but they probably
+# need a bit of porting work done in SBCL itself.
+# In addition, SBCL should also work on Linux, Darwin, Solaris,
+# FreeBSD, OpenBSD, and possibly Win32, OSF/1, HP-UX, and Irix.
+
+USE_TOOLS+=            gmake
+PKG_INSTALLATION_TYPES=        overwrite pkgviews
+
+WRKSRC=                        ${WRKDIR}/${PKGNAME}/
+
+#
+# Bootstrap section.
+#
+# SBCL needs an existing Common Lisp system to build it...
+# Currently allowed systems are CLisp, CMUCL, OpenMCL, and SBCL itself.
+#
+SBCL_BOOT_SYSTEM=      clisp
+#SBCL_BOOT_SYSTEM=     "lisp -batch"
+#SBCL_BOOT_SYSTEM=     "openmcl --batch"
+#SBCL_BOOT_SYSTEM=     sbcl
+
+.if defined(SBCL_BOOT_SYSTEM) && ${SBCL_BOOT_SYSTEM} == clisp
+BUILD_DEPENDS+=                clisp-[0-9]*:../../lang/clisp
+.endif
+
+.if !defined(SBCL_BOOT_SYSTEM)
+PKG_SKIP_REASON=       "Sorry, need a Common Lisp system"
+.endif
+
+post-patch:
+       ${MV} ${WRKSRC}/install.sh ${WRKSRC}/install.sh.dist
+       ${SED} -e "s,@PREFIX@,${PREFIX}," ${WRKSRC}/install.sh.dist > ${WRKSRC}/install.sh
+       ${MV} ${WRKSRC}/src/runtime/runtime.c ${WRKSRC}/src/runtime/runtime.c.dist
+       ${SED} -e "s,@PREFIX@,${PREFIX}," ${WRKSRC}/src/runtime/runtime.c.dist > ${WRKSRC}/src/runtime/runtime.c
+       ${MV} ${WRKSRC}/doc/sbcl.1 ${WRKSRC}/doc/sbcl.1.dist
+       ${SED} -e "s,@PREFIX@,${PREFIX}," ${WRKSRC}/doc/sbcl.1.dist > ${WRKSRC}/doc/sbcl.1
+
+do-build:
+       cd ${WRKSRC} && ${SH} make.sh "${SBCL_BOOT_SYSTEM}"
+
+do-install:
+       cd ${WRKSRC} && INSTALL_ROOT=${PREFIX} ${SH} install.sh
+
+.include "../../mk/bsd.pkg.mk"
diff -r 0f44eb1cfe80 -r cfde794465ad lang/sbcl/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/sbcl/PLIST   Thu Jun 23 03:00:20 2005 +0000
@@ -0,0 +1,94 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2005/06/23 03:00:20 jonb Exp $
+bin/sbcl
+lib/sbcl/asdf-install/asdf-install.fasl
+lib/sbcl/asdf-install/defpackage.fasl
+lib/sbcl/asdf-install/installer.fasl
+lib/sbcl/asdf-install/test-passed
+lib/sbcl/asdf/asdf.fasl
+lib/sbcl/sb-aclrepl/debug.fasl
+lib/sbcl/sb-aclrepl/inspect.fasl
+lib/sbcl/sb-aclrepl/repl.fasl
+lib/sbcl/sb-aclrepl/sb-aclrepl.fasl
+lib/sbcl/sb-aclrepl/test-passed
+lib/sbcl/sb-aclrepl/tests.fasl
+lib/sbcl/sb-aclrepl/toplevel.fasl
+lib/sbcl/sb-cltl2/compiler-let.fasl
+lib/sbcl/sb-cltl2/defpackage.fasl
+lib/sbcl/sb-cltl2/env.fasl
+lib/sbcl/sb-cltl2/macroexpand.fasl
+lib/sbcl/sb-cltl2/sb-cltl2.fasl
+lib/sbcl/sb-cltl2/test-passed
+lib/sbcl/sb-cltl2/tests.fasl
+lib/sbcl/sb-executable/sb-executable.fasl
+lib/sbcl/sb-grovel/def-to-lisp.fasl
+lib/sbcl/sb-grovel/defpackage.fasl
+lib/sbcl/sb-grovel/foreign-glue.fasl
+lib/sbcl/sb-grovel/sb-grovel.fasl
+lib/sbcl/sb-grovel/test-passed
+lib/sbcl/sb-introspect/sb-introspect.fasl
+lib/sbcl/sb-md5/md5-tests.fasl
+lib/sbcl/sb-md5/md5.fasl
+lib/sbcl/sb-md5/sb-md5.fasl
+lib/sbcl/sb-md5/test-passed
+lib/sbcl/sb-posix/a.out
+lib/sbcl/sb-posix/alien.so
+lib/sbcl/sb-posix/alien/stat-macros.o
+lib/sbcl/sb-posix/alien/waitpid-macros.o
+lib/sbcl/sb-posix/constants.fasl
+lib/sbcl/sb-posix/constants.lisp-temp
+lib/sbcl/sb-posix/defpackage.fasl
+lib/sbcl/sb-posix/designator.fasl
+lib/sbcl/sb-posix/foo.c
+lib/sbcl/sb-posix/interface.fasl
+lib/sbcl/sb-posix/macros.fasl
+lib/sbcl/sb-posix/posix-tests.fasl
+lib/sbcl/sb-posix/sb-posix.fasl
+lib/sbcl/sb-posix/test-passed
+lib/sbcl/sb-rotate-byte/compiler.fasl
+lib/sbcl/sb-rotate-byte/package.fasl
+lib/sbcl/sb-rotate-byte/rotate-byte-tests.fasl
+lib/sbcl/sb-rotate-byte/rotate-byte.fasl
+lib/sbcl/sb-rotate-byte/sb-rotate-byte.fasl
+lib/sbcl/sb-rotate-byte/test-passed
+lib/sbcl/sb-rotate-byte/x86-vm.fasl
+lib/sbcl/sb-rt/rt.fasl
+lib/sbcl/sb-rt/sb-rt.fasl
+lib/sbcl/sb-rt/test-passed
+lib/sbcl/sb-sprof/sb-sprof.fasl
+lib/sbcl/sbcl.core
+lib/sbcl/systems/asdf-install.asd
+lib/sbcl/systems/sb-aclrepl.asd
+lib/sbcl/systems/sb-cltl2.asd
+lib/sbcl/systems/sb-grovel.asd
+lib/sbcl/systems/sb-md5.asd
+lib/sbcl/systems/sb-posix.asd
+lib/sbcl/systems/sb-rotate-byte.asd
+lib/sbcl/systems/sb-rt.asd
+share/doc/sbcl/BUGS
+share/doc/sbcl/COPYING
+share/doc/sbcl/CREDITS
+share/doc/sbcl/NEWS
+share/doc/sbcl/SUPPORT
+share/man/man1/sbcl.1
+@exec ${MKDIR} %D/share/doc/sbcl/html
+@dirrm share/doc/sbcl/html
+@dirrm share/doc/sbcl
+@dirrm lib/sbcl/systems
+@exec ${MKDIR} %D/lib/sbcl/site-systems
+@dirrm lib/sbcl/site-systems
+@dirrm lib/sbcl/sb-sprof
+@dirrm lib/sbcl/sb-rt
+@dirrm lib/sbcl/sb-rotate-byte
+@exec ${MKDIR} %D/lib/sbcl/sb-posix/test-lab
+@dirrm lib/sbcl/sb-posix/test-lab
+@dirrm lib/sbcl/sb-posix/alien
+@dirrm lib/sbcl/sb-posix
+@dirrm lib/sbcl/sb-md5
+@dirrm lib/sbcl/sb-introspect
+@dirrm lib/sbcl/sb-grovel
+@dirrm lib/sbcl/sb-executable
+@dirrm lib/sbcl/sb-cltl2
+@dirrm lib/sbcl/sb-aclrepl
+@dirrm lib/sbcl/asdf-install
+@dirrm lib/sbcl/asdf
+@dirrm lib/sbcl
diff -r 0f44eb1cfe80 -r cfde794465ad lang/sbcl/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/sbcl/distinfo        Thu Jun 23 03:00:20 2005 +0000
@@ -0,0 +1,8 @@
+$NetBSD: distinfo,v 1.1.1.1 2005/06/23 03:00:20 jonb Exp $
+
+SHA1 (sbcl-0.9.1-source.tar.bz2) = c12a123eadf99625d1821df7f3b3081637a921d2
+RMD160 (sbcl-0.9.1-source.tar.bz2) = 7c9e6d2e51f4b578255cfb1dd6592d572945595b
+Size (sbcl-0.9.1-source.tar.bz2) = 2458526 bytes
+SHA1 (patch-aa) = 8f1c02fc96233af1063ca8dd62bc6033eb435db2
+SHA1 (patch-ab) = c52f6a54783fbc7e55f198a070430b4c7378e6e7
+SHA1 (patch-ac) = b814853d6259be62cd18a5b68760ec1db7efe634
diff -r 0f44eb1cfe80 -r cfde794465ad lang/sbcl/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/sbcl/patches/patch-aa        Thu Jun 23 03:00:20 2005 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.1.1 2005/06/23 03:00:20 jonb Exp $
+
+--- src/runtime/runtime.c.orig 2005-05-05 21:07:13.000000000 +0000
++++ src/runtime/runtime.c
+@@ -62,7 +62,7 @@
+ #endif
+ 
+ #ifndef SBCL_HOME
+-#define SBCL_HOME "/usr/local/lib/sbcl/"
++#define SBCL_HOME "@PREFIX@/lib/sbcl/"
+ #endif
+ 
+ 
diff -r 0f44eb1cfe80 -r cfde794465ad lang/sbcl/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/sbcl/patches/patch-ab        Thu Jun 23 03:00:20 2005 +0000
@@ -0,0 +1,22 @@
+$NetBSD: patch-ab,v 1.1.1.1 2005/06/23 03:00:20 jonb Exp $
+
+--- doc/sbcl.1.orig    2005-05-05 21:08:44.000000000 +0000
++++ doc/sbcl.1
+@@ -472,7 +472,7 @@ place to look for support.
+ This variable controls where files like "sbclrc", "sbcl.core", and the
+ add-on "contrib" systems are searched for.  If it is not set, then
+ sbcl sets it from a compile-time default location which is usually
+-/usr/local/lib/sbcl/ but may have been changed e.g. by a third-party
++@PREFIX@/lib/sbcl/ but may have been changed e.g. by a third-party
+ packager.
+ 
+ .SH FILES
+@@ -512,7 +512,7 @@ been installed, the command
+ should give you access to the complete manual. Depending on your
+ installation it may also be available in HTML and PDF formats in eg.
+ .IP
+-.B /usr/local/share/doc/sbcl/
++.B @PREFIX@/share/doc/sbcl/
+ .PP
+ See the SBCL homepage 
+ .IP
diff -r 0f44eb1cfe80 -r cfde794465ad lang/sbcl/patches/patch-ac
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/sbcl/patches/patch-ac        Thu Jun 23 03:00:20 2005 +0000
@@ -0,0 +1,18 @@
+$NetBSD: patch-ac,v 1.1.1.1 2005/06/23 03:00:20 jonb Exp $
+
+--- install.sh.orig    2004-10-21 13:00:23.000000000 +0000
++++ install.sh
+@@ -9,7 +9,7 @@ ensure_dirs () 
+     done;
+ }
+ 
+-INSTALL_ROOT=${INSTALL_ROOT-/usr/local}
+-MAN_DIR=${MAN_DIR-$INSTALL_ROOT/share/man}
+-INFO_DIR=${INFO_DIR-$INSTALL_ROOT/share/info}
++INSTALL_ROOT=${INSTALL_ROOT-@PREFIX@}
++MAN_DIR=${MAN_DIR-$INSTALL_ROOT/man}
++INFO_DIR=${INFO_DIR-$INSTALL_ROOT/info}
+ DOC_DIR=${DOC_DIR-$INSTALL_ROOT/share/doc/sbcl}
+ 
+ SBCL_SOURCE=`pwd`
+ if [ -n "$SBCL_HOME" -a "$INSTALL_ROOT/lib/sbcl" != "$SBCL_HOME" ];then



Home | Main Index | Thread Index | Old Index