Update of /cvsroot/fink/dists/10.3/unstable/main/finkinfo/languages
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19636

Modified Files:
        sbcl.info 
Removed Files:
        sbcl.patch 
Log Message:

Use a wrapper script to set SBCL_HOME instead of using RuntimeVars.
Remove patch that is no longer used.



--- sbcl.patch DELETED ---

Index: sbcl.info
===================================================================
RCS file: /cvsroot/fink/dists/10.3/unstable/main/finkinfo/languages/sbcl.info,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- sbcl.info   16 Jul 2004 17:28:23 -0000      1.7
+++ sbcl.info   21 Jul 2004 20:31:09 -0000      1.8
@@ -1,7 +1,7 @@
 Package: sbcl
 Version: 0.8.12
-Revision: 1
-Description: ANSI Common Lisp implementation
+Revision: 2
+Description: Steel Bank Common Lisp
 License: BSD
 Maintainer: Lars Rosengreen <[EMAIL PROTECTED]>
 
@@ -10,60 +10,43 @@
 # need to be updated by hand when moving to a new version of the
 # bootstap binary
 
-# Dependencies 
+
 Depends: gnupg
 BuildDepends: texinfo (>= 4.6)
 
-# Unpack Phase
+
 Source: mirror:sourceforge:%n/%n-%v-source.tar.bz2
 Source2: mirror:sourceforge:%n/%n-0.8.9-ppc-darwin-binary.tar.bz2
-
-SourceDirectory: %n-%v
-
 Source-MD5:  f23a177b2813740563f9e3f364e1dee8
 Source2-MD5: 11035de9d5c82a0fde4e610198c6d2e1
 
-# Patch Phase
-
-# Compile Phase
+SourceDirectory: %n-%v
 
 CompileScript: <<
   unset LD_PREBIND ; sh make.sh "../%n-0.8.9-ppc-darwin/src/runtime/sbcl --core 
../%n-0.8.9-ppc-darwin/output/sbcl.core --disable-debugger --sysinit /dev/null 
--userinit /dev/null"
   cd doc/manual ; make html info
 <<
 
-# Install Phase
 
 # sbcl.info is removed from doc/manual so the install.sh script
-# included with SBCL doesn't find it and try to install it.
+# included with SBCL doesn't find it and try to pass it to install-info 
 InstallScript: <<
-  find . -type d -name CVS -depth -exec rm -rf {} \;
-  find . -type f -name .cvsignore -depth -exec rm -f {} \;
-  mkdir -p %i/share/info
-  cp doc/manual/sbcl.info %i/share/info
-  rm doc/manual/sbcl.info
+  find %b -type d -name CVS -depth -exec rm -rf {} \;
+  find %b -type f -name .cvsignore -depth -exec rm -f {} \;
+  install -m 755 -d  %i/share/info
+  install -m 644 doc/manual/%n.info %i/share/info
+  rm doc/manual/%n.info
   unset SBCL_HOME ; INSTALL_ROOT=%i sh install.sh
+  mv %i/bin/%n %i/lib/%n/%n.bin
+  echo '#! /bin/sh' > %i/bin/%n
+  echo 'SBCL_HOME=%p/lib/%n/ exec %p/lib/%n/%n.bin $@' >> %i/bin/%n
+  chmod 755 %i/bin/%n
 <<
 
-InfoDocs: sbcl.info
+InfoDocs: %n.info
 
 DocFiles: BUGS COPYING CREDITS NEWS README
 
-RuntimeVars: <<
-  SBCL_HOME: %p/lib/%n/
-<<
-
-PostInstScript: <<
-  echo "**"
-  echo "** IMPORTANT: the environmental variable SBCL_HOME must be set to" 
-  echo "** %p/lib/%n/ for SBCL to function correctly.  Fink will take care of" 
-  echo "** this for you in new shell sessions, but if you would like to run"
-  echo "** SBCL right now from this shell session, you need to type the" 
-  echo "** following at the shell prompt first: export SBCL_HOME=%p/lib/%n/"
-  echo "**"
-<<
-
-# Additional Data
 
 Homepage: http://www.sbcl.org/
 
@@ -73,19 +56,6 @@
 integrated high quality native compiler, interpreter, and a debugger.
 << 
 
-DescUsage: <<
-The environmental variable SBCL_HOME must be set to
-'finkroot/lib/sbcl/' where 'finkroot' is the root directory of you
-fink installation (in most cases '/sw') for SBCL to function
-correctly.  Fink should take care of this for you in terminal
-sessions, but you may also want to set this variable in your
-.MacOSX/environment.plist file, if you have one, so SBCL can be run
-from carbon Emacs and other Mac applications that may not be launched
-from the terminal.  For more information about setting up a
-~/.MacOSX/environment.plist file, see the following Apple tech note:
-http://developer.apple.com/qa/qa2001/qa1067.html
-<<
-
 DescPort: << 
 Uses a binary version of SBCL for bootstrapping.  gnupg is needed to
 validate common lisp packages downloaded with asdf-install.



-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
Fink-commits mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to