diff options
author | Matthew Kennedy <mkennedy@gentoo.org> | 2003-11-12 05:51:00 +0000 |
---|---|---|
committer | Matthew Kennedy <mkennedy@gentoo.org> | 2003-11-12 05:51:00 +0000 |
commit | 631f06b7b69e1ae9533fb8ba7111d3a9cb2d9dfb (patch) | |
tree | 05e837ef9a34d8e79bbd7835c1f63f11a2d468f5 /app-emacs | |
parent | *** empty log message *** (diff) | |
download | gentoo-2-631f06b7b69e1ae9533fb8ba7111d3a9cb2d9dfb.tar.gz gentoo-2-631f06b7b69e1ae9533fb8ba7111d3a9cb2d9dfb.tar.bz2 gentoo-2-631f06b7b69e1ae9533fb8ba7111d3a9cb2d9dfb.zip |
hyperspec, clc improvements
Diffstat (limited to 'app-emacs')
-rw-r--r-- | app-emacs/ilisp/ChangeLog | 6 | ||||
-rw-r--r-- | app-emacs/ilisp/Manifest | 6 | ||||
-rw-r--r-- | app-emacs/ilisp/files/50ilispclc-gentoo.el | 14 | ||||
-rw-r--r-- | app-emacs/ilisp/ilisp-5.12.0-r3.ebuild | 13 |
4 files changed, 33 insertions, 6 deletions
diff --git a/app-emacs/ilisp/ChangeLog b/app-emacs/ilisp/ChangeLog index acd406377401..182c0275f65a 100644 --- a/app-emacs/ilisp/ChangeLog +++ b/app-emacs/ilisp/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for app-emacs/ilisp # Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-emacs/ilisp/ChangeLog,v 1.8 2003/10/12 21:06:17 usata Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emacs/ilisp/ChangeLog,v 1.9 2003/11/12 05:50:57 mkennedy Exp $ + + 11 Nov 2003; <mkennedy@gentoo.org> ilisp-5.12.0-r3.ebuild, + files/50ilispclc-gentoo.el: + clc fixups, hyperspec config improvements *ilisp-5.12.0-r3 (28 Aug 2003) diff --git a/app-emacs/ilisp/Manifest b/app-emacs/ilisp/Manifest index e6325022ff09..00006b1e43c8 100644 --- a/app-emacs/ilisp/Manifest +++ b/app-emacs/ilisp/Manifest @@ -1,11 +1,11 @@ -MD5 c6aba371773c2de17a081bc6ec00616d ChangeLog 1273 +MD5 b9c9c382df91fe374db595ae3dc681bf ChangeLog 1412 MD5 48f5623d6bf5b0b664a8022046c9ac32 ilisp-5.12.0-r1.ebuild 1016 MD5 921cc74bd7bdf4683ee2b9358f46d670 ilisp-5.12.0-r2.ebuild 2121 +MD5 fa039e1cb1de33e1a335df7f5deb4d68 ilisp-5.12.0-r3.ebuild 2255 MD5 2303cee5ab502586268a1f248de9b108 ilisp-5.12.0.ebuild 1000 MD5 fcd33d07e4ee719b01157946734f4fe8 metadata.xml 158 -MD5 b41b8160f604cc74ee92eaff8ae68ddc ilisp-5.12.0-r3.ebuild 2064 MD5 9b253aa445c6c9f0a5583cfae4b471de files/50ilisp-gentoo.el 4832 -MD5 e364ba1a9e3718f3ea4725ee9dca96da files/50ilispclc-gentoo.el 165 +MD5 5ca477f60456b29d61f0ed9ea0d698c1 files/50ilispclc-gentoo.el 750 MD5 dd5718993606fbd26e5e7a9d01baefcb files/digest-ilisp-5.12.0 64 MD5 dd5718993606fbd26e5e7a9d01baefcb files/digest-ilisp-5.12.0-r1 64 MD5 6c70bb0b337045f1832106bb673b135f files/digest-ilisp-5.12.0-r2 79 diff --git a/app-emacs/ilisp/files/50ilispclc-gentoo.el b/app-emacs/ilisp/files/50ilispclc-gentoo.el index 2b8882e8c658..f5e152f59e0a 100644 --- a/app-emacs/ilisp/files/50ilispclc-gentoo.el +++ b/app-emacs/ilisp/files/50ilispclc-gentoo.el @@ -4,3 +4,17 @@ (setq load-path (cons "@SITELISP@" load-path)) (setq load-path (cons "@SITELISP@/extra" load-path)) (load "/etc/ilisp/ilisp.el") + +(add-hook 'ilisp-load-hook + (function + (lambda () + ;; Set a keybinding for the COMMON-LISP-HYPERSPEC command + (defkey-ilisp [(control f1)] 'common-lisp-hyperspec) + (message "Running ilisp-load-hook") + (if (file-exists-p "/usr/share/doc/hyperspec-6.0/HyperSpec") + (progn + (setq common-lisp-hyperspec-root "file:///usr/share/doc/hyperspec-6.0/HyperSpec/") + (setq common-lisp-hyperspec-symbol-table (concat common-lisp-hyperspec-root "Data/Map_Sym.txt"))) + (setq common-lisp-hyperspec-root "http://www.lispworks.com/reference/HyperSpec/"))))) + + diff --git a/app-emacs/ilisp/ilisp-5.12.0-r3.ebuild b/app-emacs/ilisp/ilisp-5.12.0-r3.ebuild index f2da767db16a..b435994f855c 100644 --- a/app-emacs/ilisp/ilisp-5.12.0-r3.ebuild +++ b/app-emacs/ilisp/ilisp-5.12.0-r3.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-emacs/ilisp/ilisp-5.12.0-r3.ebuild,v 1.5 2003/10/12 21:06:17 usata Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emacs/ilisp/ilisp-5.12.0-r3.ebuild,v 1.6 2003/11/12 05:50:57 mkennedy Exp $ inherit elisp @@ -24,8 +24,11 @@ DEPEND="virtual/emacs virtual/tetex app-text/texi2html" + S="${WORKDIR}/${P}+${DEBCVS}" +CLPACKAGE=ilisp + src_compile() { make EMACS=emacs SHELL=/bin/sh || die cd extra && for i in *.el ; do @@ -61,6 +64,12 @@ src_install() { elisp-site-file-install ${FILESDIR}/50ilispclc-gentoo.el dodoc ACKNOWLEDGMENTS COPYING GETTING-ILISP HISTORY INSTALLATION README Welcome + + sed -i "s,@HYPERSPEC@,${P}/HyperSpec,g" ${D}/usr/share/emacs/site-lisp/50ilispclc-gentoo.el +} + +pkg_preinst() { + rm -rf /usr/lib/common-lisp/*/${CLPACKAGE} || true } pkg_postinst() { @@ -71,6 +80,6 @@ pkg_postinst() { } pkg_postrm() { - /usr/sbin/unregister-common-lisp-source ${PN} + rm -rf /usr/lib/common-lisp/*/${CLPACKAGE} || true elisp-site-regen } |