summaryrefslogtreecommitdiff
path: root/app-editors/ersatz-emacs
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /app-editors/ersatz-emacs
reinit the tree, so we can have metadata
Diffstat (limited to 'app-editors/ersatz-emacs')
-rw-r--r--app-editors/ersatz-emacs/Manifest6
-rw-r--r--app-editors/ersatz-emacs/ersatz-emacs-20060515.ebuild42
-rw-r--r--app-editors/ersatz-emacs/files/ersatz-emacs-20060515-gentoo.patch57
-rw-r--r--app-editors/ersatz-emacs/metadata.xml15
4 files changed, 120 insertions, 0 deletions
diff --git a/app-editors/ersatz-emacs/Manifest b/app-editors/ersatz-emacs/Manifest
new file mode 100644
index 000000000000..777db428c38a
--- /dev/null
+++ b/app-editors/ersatz-emacs/Manifest
@@ -0,0 +1,6 @@
+AUX ersatz-emacs-20060515-gentoo.patch 971 SHA256 d946cebfc361584c8caed7f2ee9622df0d6f64d6a51b513f9c55c6c4e837c2f4 SHA512 dd9264a80f80eeb06a1c194d9f9df02c2b53fc143ec676e9c9489b57d337fe2b42240029026acc932f05b11ca78464033a5571990dca1cae716932d3c9a300fe WHIRLPOOL 32c8996e85afd3015da8f4ea673fa8d0b973f79fd9f842cf0b07822ea3e3136ac759021951991521cc6c2c74379d9d3042fe1703089782854bc8ff5d541862b4
+DIST ersatz-emacs-20060515.tar.gz 45581 SHA256 7585aaa0aba1232204332ecf91906e0d74da9cb33dfa2889e45bcf0f251f99a5 SHA512 c30ede63ebb44076762aa430a73c73d3fa3bcd0e3d0016162aab31347257124479f464a1003012f7418e807abfd3c613c81f5196ccf65b0cb3f939b7ad5c989d WHIRLPOOL 0c19be0c1b891abf4e09d641e56008743da7297a5d6b3fa48de14b75e5a5d1bc2e9caf53d96d995a0807e47618d091bbb1348ee781bc980f2a1a79d0f582b71d
+EBUILD ersatz-emacs-20060515.ebuild 998 SHA256 efae28df4c14621885c9b78f6fe8448aed3f068ccc4cdd3585d8853b7897685a SHA512 fb40ee9f53105526538b353bcbffa9f3c8b361f9da27289f127b6eff53f78f860577f633172e975338df6d781d85d6b629a4051cc2328bd0ba1a6f7e28099406 WHIRLPOOL 217a07c92fe4d38a539031e29668ec62953b6f8a1c6c4c976c1d8d84dbb269561f50c10dea72d78e6fbedfc326aed3e8d63392cfe3b5e8ea078c155deba3f59d
+MISC ChangeLog 2383 SHA256 de25753f9f04f22a897abdf76f567648b41f3bdea98447c55ae3dc1785b0be40 SHA512 e6865af1ac82aef87b1b4f59dfb1fad99d57282c9628922fcb9dc3d096aa12e95df2ce9ae6c175e475d1b511295201674688853ad098d8c08f1bfcb126ba7eea WHIRLPOOL 7d0bdcda388f304b420f1013329d899ee8f8476afcea2df4408af00a6059cc2738a0923c991204821e97fc0c9ab112fae8bc0560a3b5eea39f112a934d700489
+MISC ChangeLog-2015 1623 SHA256 bdb49ea90a82716372ab433376e27689d504cc6dbccd20dcbabaf8d4b9fe713d SHA512 0b6bc54a49c263a1d21858b6a34f9468f25accfabfa539b277687abf54562ad8b420e0c7290bb3aaedce6ddce038f356654ea637598a2f279a51be4127ea10b4 WHIRLPOOL ced005d0e9e0a6fc968269103c930f85def85cba3388f07807e8b70d86789caff70b61c2a07752ba3ea5bee6e4e3b599f9ad981a3ebd68f328f721e64be2e1e3
+MISC metadata.xml 610 SHA256 536c3ee412b85b8f2c8b7541de947a84b03d210eb3d012347f8e2148a3ac7c73 SHA512 a48b4e5215cdd4a33802ef3fcf3324f43bd3c8ec8d70ba6be8e295c8dda35c4e4df400a04afbf4193c595c7dd4d23aeee38cb80585e498b1b77907aaedb56926 WHIRLPOOL 67d70e42ab9893936fa99455446c9d719dcb338baee17002303cfa2b44e1e5054379065a004fb0270ae11f8a28d9a5a5b562d6f2b5d421fc1ae60652ab8cacf4
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..2b147efbad2e
--- /dev/null
+++ b/app-editors/ersatz-emacs/ersatz-emacs-20060515.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=4
+
+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="amd64 x86"
+
+RDEPEND="!app-editors/ee
+ sys-libs/ncurses"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+S="${WORKDIR}"
+
+src_prepare() {
+ 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="${CFLAGS} -Wall" \
+ LFLAGS="${LDFLAGS} $("$(tc-getPKG_CONFIG)" --libs ncurses)"
+}
+
+src_install() {
+ # Note: /usr/bin/ee is "easy edit" on FreeBSD, so if this
+ # is ever keyworded *-fbsd the binary has to be renamed.
+ dobin ee
+ doman ee.1
+ dodoc ChangeLog ERSATZ.keys README
+}
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..67c40e789241
--- /dev/null
+++ b/app-editors/ersatz-emacs/files/ersatz-emacs-20060515-gentoo.patch
@@ -0,0 +1,57 @@
+--- display.c
++++ display.c
+@@ -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) ();
+--- line.c
++++ line.c
+@@ -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)
+--- tcap.c
++++ tcap.c
+@@ -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"
+--- termio.c
++++ termio.c
+@@ -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..047063ba435e
--- /dev/null
+++ b/app-editors/ersatz-emacs/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>emacs@gentoo.org</email>
+ <name>Gentoo Emacs project</name>
+</maintainer>
+<longdescription>
+ Ersatz Emacs is a very minimal imitation of the famous GNU Emacs editor.
+ Unlike most popular Emacs derivatives, Ersatz strives to use as little
+ system resources as possible and be simple enough for the casual programmer
+ to understand, yet still include all the functionality required for most
+ text editing jobs.
+</longdescription>
+</pkgmetadata>