sbcl-i386 stable port information

Package: sbcl
Architecture: i386
Type: -32bit
Version: 1.0.49
Revision: 1
License: BSD
Description: ANSI Common Lisp implementation
Maintainer: Jesse Alama

# NOTE: The version of the bootstrap binary does not automatically
# change when the version field is updated. CompileScript and Source2
# need to be updated by hand when moving to a new version of the
# bootstap binary

BuildDepends: texinfo (>= 4.6), fink (>= 0.24.12)

Recommends: gnupg | gnupg-idea | gnupg-testing

Source: mirror:sourceforge:sbcl/sbcl-%v-source.tar.bz2
Source2: mirror:sourceforge:sbcl/sbcl-1.0.29-x86-darwin-binary-r2.tar.bz2
Source-MD5: 8d15c6af6388fcd9efbd13f301b7ba33
Source2-MD5: 6e6b027a5fd05ef0c8faee30d89ffe54

PatchFile: %n.patch
PatchFile-MD5: 743b2e165203e3769349e17386f4ed04

SourceDirectory: %n-%v

CompileScript: <<
SBCL_ARCH="x86" sh make.sh "../sbcl-1.0.29-x86-darwin/src/runtime/sbcl \
--core ../sbcl-1.0.29-x86-darwin/output/sbcl.core \
--disable-debugger --sysinit /dev/null --userinit /dev/null"
cd doc/manual ; make html info
<<

InstallScript: <<
find %b -type d -name CVS -depth -exec rm -rf {} \;
find %b -type f -name .cvsignore -depth -exec rm -f {} \;
find %b -type f -name a.out -depth -exec rm -f {} \;
unset SBCL_HOME ; INSTALL_ROOT=%i sh install.sh

mv %i/bin/sbcl %i/lib/sbcl/sbcl
echo '#! /bin/sh' > %i/bin/sbcl
echo 'SBCL_HOME=%p/lib/sbcl/ exec %p/lib/sbcl/sbcl "$@"' >> %i/bin/sbcl
chmod 755 %i/bin/sbcl
<<

InfoDocs: sbcl.info asdf.info

Homepage: http://www.sbcl.org/

DescDetail: <<
Steel Bank Common Lisp is an open source development system for ANSI
Common Lisp. It provides an interactive environment including an
integrated native compiler, interpreter, and debugger. Several
extensions, such as a foreign function interface, and support for Unix
(POSIX) system calls are also included. SBCL is derived from CMU CL.
<<

DescPort: <<
Uses a pre-compiled SBCL binary for bootstrapping.

At one point, the HTML documentation for this package included a file
whose name was so long that it was killing dpkg. Thus, the following
bit used to be in the InstallScript section, but as of version 1.0.44,
it seems not to be needed anymore. I include this because upstream
may reintroduce the problem, and we may need to reintroduce our solution.

# Due to a limitation with dpkg, we need to kill the following file,
# whose name is simply too long. See
#
# http://article.gmane.org/gmane.os.macosx.fink.devel/18731
#
# to learn more about the strangeness that can ensue because of
# this limitation of dpkg.

# rm %i/share/doc/sbcl/html/sbcl/Method-sb_002dbsd_002dsockets_003asocket_002dmake_002dstream-_0028_0028socket-socket_0029-_0026key-input-output-_0028element_002dtype-_0027character_0029-_0028buffering-full_0029-_0028external_002dformat-default_0029-timeout_0029.html
<<