summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2008-10-08 00:58:26 +0000
committerUlrich Müller <ulm@gentoo.org>2008-10-08 00:58:26 +0000
commit5070f73a2ef70a790c4c720e866706c6475b8b4a (patch)
tree798cc951c9e0c30e57df62b2179cef7df0cfe6dd /dev-lang/c-intercal
parentVersion bump (diff)
downloadgentoo-2-5070f73a2ef70a790c4c720e866706c6475b8b4a.tar.gz
gentoo-2-5070f73a2ef70a790c4c720e866706c6475b8b4a.tar.bz2
gentoo-2-5070f73a2ef70a790c4c720e866706c6475b8b4a.zip
Initial import, bug 228563.
(Portage version: 2.2_rc11/cvs/Linux 2.6.26-gentoo-r1 i686)
Diffstat (limited to 'dev-lang/c-intercal')
-rw-r--r--dev-lang/c-intercal/ChangeLog14
-rw-r--r--dev-lang/c-intercal/Manifest7
-rw-r--r--dev-lang/c-intercal/c-intercal-28.0.ebuild59
-rw-r--r--dev-lang/c-intercal/files/c-intercal-28.0-fix-64bit.patch12
-rw-r--r--dev-lang/c-intercal/files/c-intercal-28.0-fix-install-info.patch31
-rw-r--r--dev-lang/c-intercal/files/c-intercal-28.0-parallel-make.patch27
-rw-r--r--dev-lang/c-intercal/metadata.xml18
7 files changed, 168 insertions, 0 deletions
diff --git a/dev-lang/c-intercal/ChangeLog b/dev-lang/c-intercal/ChangeLog
new file mode 100644
index 000000000000..656b812f097a
--- /dev/null
+++ b/dev-lang/c-intercal/ChangeLog
@@ -0,0 +1,14 @@
+# 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 $
+
+*c-intercal-28.0 (08 Oct 2008)
+
+ 08 Oct 2008; Ulrich Mueller <ulm@gentoo.org>
+ +files/c-intercal-28.0-fix-64bit.patch,
+ +files/c-intercal-28.0-fix-install-info.patch,
+ +files/c-intercal-28.0-parallel-make.patch, +metadata.xml,
+ +c-intercal-28.0.ebuild:
+ Initial import, ebuild contributed by Arvid Norlander <anmaster@tele2.se>
+ in bug 228563. Fixed parallel make; added emacs and examples USE flags.
+
diff --git a/dev-lang/c-intercal/Manifest b/dev-lang/c-intercal/Manifest
new file mode 100644
index 000000000000..27e9842b3554
--- /dev/null
+++ b/dev-lang/c-intercal/Manifest
@@ -0,0 +1,7 @@
+AUX c-intercal-28.0-fix-64bit.patch 350 RMD160 df6a3b2455041d2459bf4eb9255f329d51e22c9e SHA1 c064a7c773f4aa8c4d58c0995941f4f4e601265f SHA256 53eec25722ebf47d2c8573474283f39b79516b15feb06e613640fa79ca2a6660
+AUX c-intercal-28.0-fix-install-info.patch 1700 RMD160 6412ecf3e4601bd3461b398ca86fd438a8231f8c SHA1 1f4d66cf4b45c76fc65b23bad51439fe9ab96abf SHA256 54724f06d3f99fe65ef359e6c4e511221b054d33f851e087f8680b32a44d1bef
+AUX c-intercal-28.0-parallel-make.patch 1026 RMD160 f91d80d5b3ca89c53e0df45dba3dbf249037a16e SHA1 9d47cef97403b48d153874eee83219a83eb0f68d SHA256 ddffdfdcc18baeaf4173a36cebab84f9d3b7d4ff36e835065ccf36840433a153
+DIST ick-0-28.tgz 728987 RMD160 46a21d02f0de1ca3d274f23ce1b11a7569af7643 SHA1 591d31b27297da73b873fd9572d037880ad2ee6a SHA256 3d1bcba9b822679f984482b46c08b7596363e472c383d5994b28f2ac2603c17f
+EBUILD c-intercal-28.0.ebuild 1519 RMD160 3b8b244a889950903f36046c64dcf7af909f437a SHA1 0e8d9c05b209ed0c764bd3d459e96879bd6cebc9 SHA256 6ddd3cbcfdbad5b168e1d465a5bf781064ded2f3cb44e7421b43b9bf214f8d43
+MISC ChangeLog 529 RMD160 9157a7282e92226e7c36c9b6e5d698c2d9855b69 SHA1 303ef556438476022284525a26fd1b234ec2c8bf SHA256 a64b26d7a15b172735fe2c92f1a23046bfad135c18e00772b554dc943afe90a2
+MISC metadata.xml 662 RMD160 c5d77119669860d4b5a4807dbb479c32d16a5dd2 SHA1 1517163d115fbef3bca6caa0797c30725389b580 SHA256 dbd0547291dc5f3c678f047975a7f990d137728f3d7bfe89d9f5cffc1b577c73
diff --git a/dev-lang/c-intercal/c-intercal-28.0.ebuild b/dev-lang/c-intercal/c-intercal-28.0.ebuild
new file mode 100644
index 000000000000..9c21e754f68b
--- /dev/null
+++ b/dev-lang/c-intercal/c-intercal-28.0.ebuild
@@ -0,0 +1,59 @@
+# 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 $
+
+inherit elisp-common eutils multilib versionator
+
+# Yes, C-INTERCAL uses minor-major...
+MY_PV=$(get_version_component_range 2).$(get_version_component_range 1)
+
+DESCRIPTION="C-INTERCAL - INTERCAL to binary (via C) compiler"
+HOMEPAGE="http://intercal.freeshell.org"
+SRC_URI="http://intercal.freeshell.org/download/ick-${MY_PV/./-}.tgz"
+
+LICENSE="GPL-2 FDL-1.2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="emacs examples"
+
+DEPEND="emacs? ( virtual/emacs )"
+RDEPEND="${DEPEND}"
+
+S=${WORKDIR}/ick-${MY_PV}
+
+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
+
+ # This was done for DOS compatiblity it seems. Go figure...
+ ln -s config.sh configure || die "ln -s failed"
+}
+
+src_compile() {
+ econf || die "econf failed"
+ emake || die "emake failed"
+
+ if use emacs; then
+ elisp-compile etc/intercal.el || die "elisp-compile failed"
+ fi
+}
+
+src_install() {
+ # Thinks the directories exist, won't as this is done to a DESTDIR...
+ dodir /usr/bin
+ dodir /usr/$(get_libdir)
+ emake DESTDIR="${D}" install || die "emake install failed"
+ 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"
+ fi
+
+ if use examples; then
+ insinto /usr/share/doc/${PF}
+ doins -r pit || die "doins -r pit failed"
+ fi
+}
diff --git a/dev-lang/c-intercal/files/c-intercal-28.0-fix-64bit.patch b/dev-lang/c-intercal/files/c-intercal-28.0-fix-64bit.patch
new file mode 100644
index 000000000000..8a91d378bd54
--- /dev/null
+++ b/dev-lang/c-intercal/files/c-intercal-28.0-fix-64bit.patch
@@ -0,0 +1,12 @@
+diff -Naur ick-0.28.orig/src/ick-wrap.c ick-0.28/src/ick-wrap.c
+--- ick-0.28.orig/src/ick-wrap.c 2008-03-31 11:32:06.000000000 +0200
++++ ick-0.28/src/ick-wrap.c 2008-06-20 01:49:36.000000000 +0200
+@@ -86,7 +86,7 @@
+ /* degenerated code */
+ ick_restart:
+ top:
+- switch(ick_skipto)
++ switch((int)ick_skipto)
+ {
+ case 0:
+ $G
diff --git a/dev-lang/c-intercal/files/c-intercal-28.0-fix-install-info.patch b/dev-lang/c-intercal/files/c-intercal-28.0-fix-install-info.patch
new file mode 100644
index 000000000000..71e5c174a35a
--- /dev/null
+++ b/dev-lang/c-intercal/files/c-intercal-28.0-fix-install-info.patch
@@ -0,0 +1,31 @@
+diff -Naur ick-0.28.orig/Makefile.in ick-0.28/Makefile.in
+--- ick-0.28.orig/Makefile.in 2008-06-20 01:22:30.000000000 +0200
++++ ick-0.28/Makefile.in 2008-06-20 01:26:01.000000000 +0200
+@@ -261,15 +261,13 @@
+ -gzip -9 -f $(DESTDIR)$(infodir)/ick.in*
+ -gzip -9 -f $(DESTDIR)$(mandir)/man1/ick.1
+ -gzip -9 -f $(DESTDIR)$(mandir)/man1/convickt.1
+- sh -c "@MANDB@ -q"
+- sh -c "(test -f $(DESTDIR)$(infodir)/ick.info.gz && @INSTALLINFO@ --quiet --dir-file=$(infodirfile) $(DESTDIR)$(infodir)/ick.info.gz) || true"
+- sh -c "(test -f $(DESTDIR)$(infodir)/ick.igz && @INSTALLINFO@ --quiet --dir-file=$(infodirfile) $(DESTDIR)$(infodir)/ick.igz) || true"
++ sh -c "(test -f $(DESTDIR)$(infodir)/ick.info.gz && @INSTALLINFO@ --quiet $(DESTDIR)$(infodir)/ick.info.gz) || true"
++ sh -c "(test -f $(DESTDIR)$(infodir)/ick.igz && @INSTALLINFO@ --quiet $(DESTDIR)$(infodir)/ick.igz) || true"
+
+ # install without gzipping the docs
+ install-nozip: install-common
+- sh -c "@MANDB@ -q"
+- sh -c "(test -f $(DESTDIR)$(infodir)/ick.info && @INSTALLINFO@ --quiet --dir-file=$(infodirfile) $(DESTDIR)$(infodir)/ick.info) || true"
+- sh -c "(test -f $(DESTDIR)$(infodir)/ick.inf && @INSTALLINFO@ --quiet --dir-file=$(infodirfile) $(DESTDIR)$(infodir)/ick.inf) || true"
++ sh -c "(test -f $(DESTDIR)$(infodir)/ick.info && @INSTALLINFO@ --quiet $(DESTDIR)$(infodir)/ick.info) || true"
++ sh -c "(test -f $(DESTDIR)$(infodir)/ick.inf && @INSTALLINFO@ --quiet $(DESTDIR)$(infodir)/ick.inf) || true"
+
+
+ uninstall:
+@@ -281,7 +279,6 @@
+ rm -f $(DESTDIR)$(mandir)/man1/ick.1*
+ rm -f $(DESTDIR)$(mandir)/man1/convickt.1*
+ rm -fr $(DESTDIR)$(incdir) $(DESTDIR)$(datadir)
+- sh -c "@MANDB@ -q"
+
+ TAGS: $(SOURCES)
+ etags $(SOURCES)
diff --git a/dev-lang/c-intercal/files/c-intercal-28.0-parallel-make.patch b/dev-lang/c-intercal/files/c-intercal-28.0-parallel-make.patch
new file mode 100644
index 000000000000..115f80d670a4
--- /dev/null
+++ b/dev-lang/c-intercal/files/c-intercal-28.0-parallel-make.patch
@@ -0,0 +1,27 @@
+--- ick-0.28-orig/Makefile.in 2008-10-08 02:00:04.000000000 +0200
++++ ick-0.28/Makefile.in 2008-10-08 02:02:52.000000000 +0200
+@@ -114,16 +114,18 @@
+ $(CC) temp/convickt.@OBJEXT@ temp/clc-cset.@OBJEXT@ temp/uncommon.@OBJEXT@ $(LDFLAGS) -o bin/convickt@EXEEXT@
+
+ temp/oil.c: src/oil.y temp/config.h
+- $(YACC) $(YACCFLAGS) src/oil.y
++ $(YACC) -b oil $(YACCFLAGS) src/oil.y
+ -rm -f temp/oil.c
+- mv y.tab.c temp/oil.c
++ mv oil.tab.c temp/oil.c
+
+-temp/parser.h temp/parser.c: src/parser.y src/ick.h src/sizes.h src/feh.h src/ick_lose.h temp/config.h
+- $(YACC) -d $(YACCFLAGS) src/parser.y
++temp/parser.c: src/parser.y src/ick.h src/sizes.h src/feh.h src/ick_lose.h temp/config.h
++ $(YACC) -b parser -d $(YACCFLAGS) src/parser.y
+ -rm -f temp/parser.c
+- mv y.tab.c temp/parser.c
++ mv parser.tab.c temp/parser.c
+ -rm -f temp/parser.h
+- mv y.tab.h temp/parser.h
++ mv parser.tab.h temp/parser.h
++
++temp/parser.h: temp/parser.c ;
+
+ temp/lexer.c: src/lexer.l src/ick.h src/ick_lose.h temp/config.h
+ $(LEX) $(LEXFLAGS) src/lexer.l
diff --git a/dev-lang/c-intercal/metadata.xml b/dev-lang/c-intercal/metadata.xml
new file mode 100644
index 000000000000..2192a6d447ae
--- /dev/null
+++ b/dev-lang/c-intercal/metadata.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>no-herd</herd>
+<maintainer>
+ <email>ulm@gentoo.org</email>
+</maintainer>
+<maintainer>
+ <email>pchrist@gentoo.org</email>
+</maintainer>
+<longdescription>
+ An implementation of the language INTERCAL, legendary for its perversity
+ and horribleness (this version adds COME FROM for extra flavor). Comes with
+ language manual and examples including possibly the entire extant body of
+ INTERCAL code. Now supports i18n and l14n (to Ancient Roman locale only).
+ Now with fix patch by Donald Knuth.
+</longdescription>
+</pkgmetadata>