summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2007-06-15 08:53:21 +0000
committerUlrich Müller <ulm@gentoo.org>2007-06-15 08:53:21 +0000
commit0f2de0baea9287f946829c05877c894a512e68ea (patch)
treeb27b6afbf1d5c73955f442d2f1b37f20e1ca4dc2 /app-editors/ersatz-emacs
parentInitial import sci-chemistry/jmol. (diff)
downloadhistorical-0f2de0baea9287f946829c05877c894a512e68ea.tar.gz
historical-0f2de0baea9287f946829c05877c894a512e68ea.tar.bz2
historical-0f2de0baea9287f946829c05877c894a512e68ea.zip
Initial import.
Package-Manager: portage-2.1.2.9
Diffstat (limited to 'app-editors/ersatz-emacs')
-rw-r--r--app-editors/ersatz-emacs/ChangeLog11
-rw-r--r--app-editors/ersatz-emacs/Manifest30
-rw-r--r--app-editors/ersatz-emacs/ersatz-emacs-20060515.ebuild41
-rw-r--r--app-editors/ersatz-emacs/files/digest-ersatz-emacs-200605153
-rw-r--r--app-editors/ersatz-emacs/files/ersatz-emacs-20060515-gentoo.patch57
-rw-r--r--app-editors/ersatz-emacs/metadata.xml5
6 files changed, 147 insertions, 0 deletions
diff --git a/app-editors/ersatz-emacs/ChangeLog b/app-editors/ersatz-emacs/ChangeLog
new file mode 100644
index 000000000000..8b9ac1ec527b
--- /dev/null
+++ b/app-editors/ersatz-emacs/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for app-editors/ersatz-emacs
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-editors/ersatz-emacs/ChangeLog,v 1.1 2007/06/15 08:53:21 ulm Exp $
+
+*ersatz-emacs-20060515 (15 Jun 2007)
+
+ 15 Jun 2007; Ulrich Mueller <ulm@gentoo.org>
+ +files/ersatz-emacs-20060515-gentoo.patch, +metadata.xml,
+ +ersatz-emacs-20060515.ebuild:
+ Initial import.
+
diff --git a/app-editors/ersatz-emacs/Manifest b/app-editors/ersatz-emacs/Manifest
new file mode 100644
index 000000000000..9126cb8bf8b6
--- /dev/null
+++ b/app-editors/ersatz-emacs/Manifest
@@ -0,0 +1,30 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+AUX ersatz-emacs-20060515-gentoo.patch 1299 RMD160 a714b7f23112aef640648bd335b2d897159a9455 SHA1 72a237d89055b4c60d9c7d29eb1df844d501e39a SHA256 4f4d862c0d0b9abe62ebc7baa805b4ebfc0c1697e4d84c7100027b1939ebbe43
+MD5 aa067ddebfee90d573a36b99c0ab0eec files/ersatz-emacs-20060515-gentoo.patch 1299
+RMD160 a714b7f23112aef640648bd335b2d897159a9455 files/ersatz-emacs-20060515-gentoo.patch 1299
+SHA256 4f4d862c0d0b9abe62ebc7baa805b4ebfc0c1697e4d84c7100027b1939ebbe43 files/ersatz-emacs-20060515-gentoo.patch 1299
+DIST ersatz-emacs-20060515.tar.gz 45581 RMD160 6e6bd58ee94fbe79577d51f0eb343c849722ffde SHA1 bc22e03b7637a9c4696b217320ff7d1d886be291 SHA256 7585aaa0aba1232204332ecf91906e0d74da9cb33dfa2889e45bcf0f251f99a5
+EBUILD ersatz-emacs-20060515.ebuild 1015 RMD160 478b07c2c3467ced30f26cd423979548e76aee20 SHA1 6840eb13b5c82932ada9affd340fafd531136f88 SHA256 2e1b7afe694b619f933e249ae2c01604b4abd73523c1060feefc46662b0570dc
+MD5 9542df688ac084899815ed9f61609191 ersatz-emacs-20060515.ebuild 1015
+RMD160 478b07c2c3467ced30f26cd423979548e76aee20 ersatz-emacs-20060515.ebuild 1015
+SHA256 2e1b7afe694b619f933e249ae2c01604b4abd73523c1060feefc46662b0570dc ersatz-emacs-20060515.ebuild 1015
+MISC ChangeLog 415 RMD160 db90830c9202134015d82c32e94853e20e2d5827 SHA1 373b8ff8b0f4ca5da314f208e47c8df505995b10 SHA256 b9339f742277fe048a3680d8a0d8f7c2c605d8cbca2e16877038cfa056abfeb2
+MD5 1d8d5f9c08f3fe8cbee3ccfbc3785ba3 ChangeLog 415
+RMD160 db90830c9202134015d82c32e94853e20e2d5827 ChangeLog 415
+SHA256 b9339f742277fe048a3680d8a0d8f7c2c605d8cbca2e16877038cfa056abfeb2 ChangeLog 415
+MISC metadata.xml 158 RMD160 415d172437ca754d24fc5ab186ba8e77934d96e4 SHA1 61f6eff9729cd87a725c2a70c81aca4270a17fc4 SHA256 1393bdef3a74343fdb40a112c7096a1af16f67e7a43413250de28dfe73810eab
+MD5 fcd33d07e4ee719b01157946734f4fe8 metadata.xml 158
+RMD160 415d172437ca754d24fc5ab186ba8e77934d96e4 metadata.xml 158
+SHA256 1393bdef3a74343fdb40a112c7096a1af16f67e7a43413250de28dfe73810eab metadata.xml 158
+MD5 15f5632c0bab097c293d255d274ceee9 files/digest-ersatz-emacs-20060515 262
+RMD160 4f9a107f466685554df0cf45853eff4a58f6e414 files/digest-ersatz-emacs-20060515 262
+SHA256 ebbf370668744b80e1295e639f4e599de2be774490e72a63ae8d13ca0d96bbf7 files/digest-ersatz-emacs-20060515 262
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.7 (GNU/Linux)
+
+iD8DBQFGclOGOeoy/oIi7uwRAqKrAKCz/ffS7IlvyAYSNzZUZKH2xGaHTACghELO
+xvTrs/sfosMAK0SV7jEbp3o=
+=YmPi
+-----END PGP SIGNATURE-----
diff --git a/app-editors/ersatz-emacs/ersatz-emacs-20060515.ebuild b/app-editors/ersatz-emacs/ersatz-emacs-20060515.ebuild
new file mode 100644
index 000000000000..e216dd2aaae3
--- /dev/null
+++ b/app-editors/ersatz-emacs/ersatz-emacs-20060515.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-editors/ersatz-emacs/ersatz-emacs-20060515.ebuild,v 1.1 2007/06/15 08:53:21 ulm Exp $
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="A very minimal imitation of the famous GNU Emacs editor"
+HOMEPAGE="http://hunter.apana.org.au/~cjb/Code/"
+# taken from http://hunter.apana.org.au/~cjb/Code/ersatz.tar.gz
+SRC_URI="mirror://gentoo/${P}.tar.gz"
+
+LICENSE="public-domain"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+
+DEPEND="sys-libs/ncurses"
+RDEPEND="${DEPEND}"
+PROVIDE="virtual/editor"
+
+S="${WORKDIR}"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-gentoo.patch
+ sed -i -e "s%/usr/local/share/%/usr/share/doc/${PF}/%" ee.1 \
+ || die "sed failed"
+}
+
+src_compile() {
+ emake CC="$(tc-getCC)" \
+ CFLAGS="-Wall ${CFLAGS}" \
+ LFLAGS="-lncurses" || die "emake failed"
+}
+
+src_install() {
+ dobin ee
+ doman ee.1
+ dodoc ChangeLog ERSATZ.keys README || die "dodoc failed"
+}
diff --git a/app-editors/ersatz-emacs/files/digest-ersatz-emacs-20060515 b/app-editors/ersatz-emacs/files/digest-ersatz-emacs-20060515
new file mode 100644
index 000000000000..1a619f879534
--- /dev/null
+++ b/app-editors/ersatz-emacs/files/digest-ersatz-emacs-20060515
@@ -0,0 +1,3 @@
+MD5 7bb9928f514ec0bf1b2cf394c84dc7ce ersatz-emacs-20060515.tar.gz 45581
+RMD160 6e6bd58ee94fbe79577d51f0eb343c849722ffde ersatz-emacs-20060515.tar.gz 45581
+SHA256 7585aaa0aba1232204332ecf91906e0d74da9cb33dfa2889e45bcf0f251f99a5 ersatz-emacs-20060515.tar.gz 45581
diff --git a/app-editors/ersatz-emacs/files/ersatz-emacs-20060515-gentoo.patch b/app-editors/ersatz-emacs/files/ersatz-emacs-20060515-gentoo.patch
new file mode 100644
index 000000000000..cfba1d074a3a
--- /dev/null
+++ b/app-editors/ersatz-emacs/files/ersatz-emacs-20060515-gentoo.patch
@@ -0,0 +1,57 @@
+--- ../orig/display.c 2007-06-11 23:53:25.000000000 +0200
++++ ./display.c 2007-06-11 23:33:48.153146590 +0200
+@@ -5,6 +5,7 @@
+ * hints that are left in the windows by the commands
+ */
+
++#include <stdlib.h>
+ #include <string.h>
+ #include "estruct.h"
+ #include "edef.h"
+@@ -100,7 +101,6 @@
+ void vtinit ()
+ {
+ VIDEO *vp;
+- char *malloc ();
+ int i;
+
+ (*term.t_open) ();
+--- ../orig/line.c 2007-06-11 23:53:25.000000000 +0200
++++ ./line.c 2007-06-11 23:34:05.491501515 +0200
+@@ -47,7 +47,6 @@
+ {
+ LINE *lp;
+ int size;
+- char *malloc ();
+
+ size = (used + NBLOCK - 1) & ~(NBLOCK - 1);
+ if (size == 0) /* Assume that an empty */
+@@ -469,8 +468,6 @@
+ */
+ int kinsert (int c)
+ {
+- char *realloc ();
+- char *malloc ();
+ char *nbufp;
+
+ if (kused == ksize)
+--- ../orig/tcap.c 2007-06-11 23:53:25.000000000 +0200
++++ ./tcap.c 2007-06-11 23:34:32.617363295 +0200
+@@ -2,6 +2,7 @@
+
+ #define termdef 1 /* don't define "term" external */
+
++#include <stdlib.h>
+ #include <stdio.h> /* puts(3), snprintf(3) */
+ #include "estruct.h"
+ #include "edef.h"
+--- ../orig/termio.c 2007-06-11 23:53:25.000000000 +0200
++++ ./termio.c 2007-06-11 23:41:19.979217690 +0200
+@@ -5,6 +5,7 @@
+ */
+
+ #undef CTRL
++#include <stdlib.h>
+ #include <termios.h>
+ #include <unistd.h>
+ #include <signal.h>
diff --git a/app-editors/ersatz-emacs/metadata.xml b/app-editors/ersatz-emacs/metadata.xml
new file mode 100644
index 000000000000..bc306fe58224
--- /dev/null
+++ b/app-editors/ersatz-emacs/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+</pkgmetadata>