homebrew-core/Formula/hyperspec.rb
jathd debbba9e89 Common Lisp HyperSpec 7.0
Closes Homebrew/homebrew#17176.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-02-02 15:16:22 -08:00

28 lines
862 B
Ruby

require 'formula'
class Hyperspec < Formula
homepage 'http://www.lispworks.com/documentation/common-lisp.html'
url 'ftp://ftp.lispworks.com/pub/software_tools/reference/HyperSpec-7-0.tar.gz'
version '7.0'
sha1 '7c89db8a930b7bd1fd204a458a5dd05d7d46ab81'
def install
doc.install Dir['*']
end
def caveats; <<-EOS.undent
To use this copy of the HyperSpec with SLIME, put the following in
you .emacs intialization file:
(eval-after-load "slime"
'(progn
(setq common-lisp-hyperspec-root
"#{HOMEBREW_PREFIX}/share/doc/hyperspec/HyperSpec/")
(setq common-lisp-hyperspec-symbol-table
(concat common-lisp-hyperspec-root "Data/Map_Sym.txt"))
(setq common-lisp-hyperspec-issuex-table
(concat common-lisp-hyperspec-root "Data/Map_IssX.txt"))))
EOS
end
end