summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Faulhammer <opfer@gentoo.org>2007-11-20 12:59:18 +0000
committerChristian Faulhammer <opfer@gentoo.org>2007-11-20 12:59:18 +0000
commit2aec07603f5e8603f8b3f6f79e0b9632ec806e12 (patch)
tree67d5ec78131133fd23259d2c5c4b6724d272dca8 /dev-lang/ucblogo
parentclean up (diff)
downloadgentoo-2-2aec07603f5e8603f8b3f6f79e0b9632ec806e12.tar.gz
gentoo-2-2aec07603f5e8603f8b3f6f79e0b9632ec806e12.tar.bz2
gentoo-2-2aec07603f5e8603f8b3f6f79e0b9632ec806e12.zip
fix GNU Emacs support, see bug 192977
(Portage version: 2.1.3.19)
Diffstat (limited to 'dev-lang/ucblogo')
-rw-r--r--dev-lang/ucblogo/ChangeLog8
-rw-r--r--dev-lang/ucblogo/files/50ucblogo-gentoo.el12
-rw-r--r--dev-lang/ucblogo/files/digest-ucblogo-5.5-r13
-rw-r--r--dev-lang/ucblogo/ucblogo-5.5-r1.ebuild48
4 files changed, 70 insertions, 1 deletions
diff --git a/dev-lang/ucblogo/ChangeLog b/dev-lang/ucblogo/ChangeLog
index cdfccac44a4e..f4cc8902db63 100644
--- a/dev-lang/ucblogo/ChangeLog
+++ b/dev-lang/ucblogo/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-lang/ucblogo
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/ucblogo/ChangeLog,v 1.6 2007/07/22 08:37:29 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/ucblogo/ChangeLog,v 1.7 2007/11/20 12:59:17 opfer Exp $
+
+*ucblogo-5.5-r1 (20 Nov 2007)
+
+ 20 Nov 2007; Christian Faulhammer <opfer@gentoo.org>
+ +files/50ucblogo-gentoo.el, +ucblogo-5.5-r1.ebuild:
+ fix GNU Emacs support, see bug 192977
22 Jul 2007; Hans de Graaff <graaff@gentoo.org> ucblogo-5.5.ebuild:
Drop virtual/x11 references.
diff --git a/dev-lang/ucblogo/files/50ucblogo-gentoo.el b/dev-lang/ucblogo/files/50ucblogo-gentoo.el
new file mode 100644
index 000000000000..b9d2c3eba074
--- /dev/null
+++ b/dev-lang/ucblogo/files/50ucblogo-gentoo.el
@@ -0,0 +1,12 @@
+
+;;; ucblogo site-lisp configuration
+
+(add-to-list 'load-path "/usr/lib/logo/emacs")
+(autoload 'logo-mode "logo" nil t)
+(add-to-list 'auto-mode-alist '("\\.lgo?\\'" . logo-mode))
+
+(setq logo-help-path "/usr/lib/logo/helpfiles/")
+(setq logo-tutorial-path "/usr/lib/logo/emacs/")
+(setq logo-info-file "/usr/share/info/ucblogo.info")
+;; font/color defaults are intrusive, disable them
+(setq dont-mess-with-logo-colors t)
diff --git a/dev-lang/ucblogo/files/digest-ucblogo-5.5-r1 b/dev-lang/ucblogo/files/digest-ucblogo-5.5-r1
new file mode 100644
index 000000000000..05d4fe26434a
--- /dev/null
+++ b/dev-lang/ucblogo/files/digest-ucblogo-5.5-r1
@@ -0,0 +1,3 @@
+MD5 caf68577630645718492fd7d10fd4927 ucblogo-5.5.tar.gz 1290273
+RMD160 f1e3adf901c0641b12bb5905860af4d77b46eef9 ucblogo-5.5.tar.gz 1290273
+SHA256 a2922e065113274dd701ba3b03448134cceb047f3d6cadbe5322e23061e2ff9d ucblogo-5.5.tar.gz 1290273
diff --git a/dev-lang/ucblogo/ucblogo-5.5-r1.ebuild b/dev-lang/ucblogo/ucblogo-5.5-r1.ebuild
new file mode 100644
index 000000000000..8e1e6041a806
--- /dev/null
+++ b/dev-lang/ucblogo/ucblogo-5.5-r1.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/ucblogo/ucblogo-5.5-r1.ebuild,v 1.1 2007/11/20 12:59:17 opfer Exp $
+
+inherit eutils elisp-common
+
+DESCRIPTION="a reflective, functional programming language"
+HOMEPAGE="http://www.cs.berkeley.edu/~bh/logo.html"
+SRC_URI="mirror://gentoo/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="emacs X"
+
+DEPEND="emacs? ( virtual/emacs )
+ X? ( x11-libs/libICE x11-libs/libSM x11-libs/libX11 )"
+
+SITEFILE=50${PN}-gentoo.el
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-destdir.patch
+ epatch "${FILESDIR}"/${P}-fhs.patch
+ epatch "${FILESDIR}"/${P}-dont-require-tetex.patch
+ use emacs || epatch "${FILESDIR}"/${P}-no-emacs.patch
+# use emacs || echo 'all install:' > emacs/makefile
+}
+
+src_compile() {
+ econf $(use_with X x) || die
+ emake || die
+}
+
+src_install() {
+ make install DESTDIR="${D}" || die
+ use emacs && elisp-site-file-install "${FILESDIR}/${SITEFILE}"
+ dodoc README
+}
+
+pkg_postinst() {
+ use emacs && elisp-site-regen
+}
+
+pkg_postrm() {
+ use emacs && elisp-site-regen
+}