summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-lang')
-rw-r--r--dev-lang/c-intercal/ChangeLog9
-rw-r--r--dev-lang/c-intercal/c-intercal-28.0-r1.ebuild (renamed from dev-lang/c-intercal/c-intercal-28.0.ebuild)16
-rw-r--r--dev-lang/c-intercal/files/50c-intercal-gentoo.el7
3 files changed, 24 insertions, 8 deletions
diff --git a/dev-lang/c-intercal/ChangeLog b/dev-lang/c-intercal/ChangeLog
index 656b812f097a..fd639b276cfb 100644
--- a/dev-lang/c-intercal/ChangeLog
+++ b/dev-lang/c-intercal/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for dev-lang/c-intercal
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/c-intercal/ChangeLog,v 1.1 2008/10/08 00:58:26 ulm Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/c-intercal/ChangeLog,v 1.2 2008/12/15 20:57:17 ulm Exp $
+
+*c-intercal-28.0-r1 (15 Dec 2008)
+
+ 15 Dec 2008; Ulrich Mueller <ulm@gentoo.org>
+ +files/50c-intercal-gentoo.el, -c-intercal-28.0.ebuild,
+ +c-intercal-28.0-r1.ebuild:
+ Add site-init file for Emacs.
*c-intercal-28.0 (08 Oct 2008)
diff --git a/dev-lang/c-intercal/c-intercal-28.0.ebuild b/dev-lang/c-intercal/c-intercal-28.0-r1.ebuild
index 9c21e754f68b..9d356a3e80f7 100644
--- a/dev-lang/c-intercal/c-intercal-28.0.ebuild
+++ b/dev-lang/c-intercal/c-intercal-28.0-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/c-intercal/c-intercal-28.0.ebuild,v 1.1 2008/10/08 00:58:26 ulm Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/c-intercal/c-intercal-28.0-r1.ebuild,v 1.1 2008/12/15 20:57:17 ulm Exp $
inherit elisp-common eutils multilib versionator
@@ -19,14 +19,15 @@ IUSE="emacs examples"
DEPEND="emacs? ( virtual/emacs )"
RDEPEND="${DEPEND}"
-S=${WORKDIR}/ick-${MY_PV}
+S="${WORKDIR}/ick-${MY_PV}"
+SITEFILE="50${PN}-gentoo.el"
src_unpack() {
unpack ${A}
cd "${S}"
- epatch "${FILESDIR}"/${P}-fix-install-info.patch
- epatch "${FILESDIR}"/${P}-fix-64bit.patch
- epatch "${FILESDIR}"/${P}-parallel-make.patch
+ epatch "${FILESDIR}/${P}-fix-install-info.patch"
+ epatch "${FILESDIR}/${P}-fix-64bit.patch"
+ epatch "${FILESDIR}/${P}-parallel-make.patch"
# This was done for DOS compatiblity it seems. Go figure...
ln -s config.sh configure || die "ln -s failed"
@@ -37,7 +38,7 @@ src_compile() {
emake || die "emake failed"
if use emacs; then
- elisp-compile etc/intercal.el || die "elisp-compile failed"
+ elisp-compile etc/intercal.el || die
fi
}
@@ -49,7 +50,8 @@ src_install() {
dodoc BUGS.txt NEWS.txt README.txt doc/THEORY.txt
if use emacs; then
- elisp-install ${PN} etc/intercal.{el,elc} || die "elisp-install failed"
+ elisp-install ${PN} etc/intercal.{el,elc} || die
+ elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die
fi
if use examples; then
diff --git a/dev-lang/c-intercal/files/50c-intercal-gentoo.el b/dev-lang/c-intercal/files/50c-intercal-gentoo.el
new file mode 100644
index 000000000000..f44219577b56
--- /dev/null
+++ b/dev-lang/c-intercal/files/50c-intercal-gentoo.el
@@ -0,0 +1,7 @@
+
+;;; c-intercal site-lisp configuration
+
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'intercal-mode "intercal"
+ "A major editing mode for the language Intercal." t)
+;;(add-to-list 'auto-mode-alist '("\\.i\\'" . intercal-mode))