diff options
author | Ulrich Müller <ulm@gentoo.org> | 2007-06-15 08:53:21 +0000 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2007-06-15 08:53:21 +0000 |
commit | f45e7987a0ea3553ec8c279c73e0f31df3e59f1a (patch) | |
tree | c7459765fd0b37f80e9ab297dbcd3aba24e8c984 /app-editors/ersatz-emacs | |
parent | Initial import sci-chemistry/jmol. (diff) | |
download | gentoo-2-f45e7987a0ea3553ec8c279c73e0f31df3e59f1a.tar.gz gentoo-2-f45e7987a0ea3553ec8c279c73e0f31df3e59f1a.tar.bz2 gentoo-2-f45e7987a0ea3553ec8c279c73e0f31df3e59f1a.zip |
Initial import.
(Portage version: 2.1.2.9)
Diffstat (limited to 'app-editors/ersatz-emacs')
-rw-r--r-- | app-editors/ersatz-emacs/ChangeLog | 11 | ||||
-rw-r--r-- | app-editors/ersatz-emacs/Manifest | 20 | ||||
-rw-r--r-- | app-editors/ersatz-emacs/ersatz-emacs-20060515.ebuild | 41 | ||||
-rw-r--r-- | app-editors/ersatz-emacs/files/digest-ersatz-emacs-20060515 | 3 | ||||
-rw-r--r-- | app-editors/ersatz-emacs/files/ersatz-emacs-20060515-gentoo.patch | 57 | ||||
-rw-r--r-- | app-editors/ersatz-emacs/metadata.xml | 5 |
6 files changed, 137 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..1fe7a0c5bf8d --- /dev/null +++ b/app-editors/ersatz-emacs/Manifest @@ -0,0 +1,20 @@ +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 903 RMD160 e5a83565cab9456840c9b880ffcd9dfd7e6358ae SHA1 b44bb554d1860f7df5a4ada93ab17b867ea7611c SHA256 c25dc6a11689625367f7aab70896b5b946ad666e446399c148be1f786013d04e +MD5 6e99254e80761d3f65a139e550b89fc1 ersatz-emacs-20060515.ebuild 903 +RMD160 e5a83565cab9456840c9b880ffcd9dfd7e6358ae ersatz-emacs-20060515.ebuild 903 +SHA256 c25dc6a11689625367f7aab70896b5b946ad666e446399c148be1f786013d04e ersatz-emacs-20060515.ebuild 903 +MISC ChangeLog 322 RMD160 63bb132210fc112740a7603bc9c041dcd09642dc SHA1 acfb98f2a88708a8b93b9f5eb5cfa97420085f83 SHA256 98864c0aeced1a61fa09372fa3581b8ef78124dde7ed5c43b889cdc2d45ae863 +MD5 9d263de78646e6a0b756faba3998aa3e ChangeLog 322 +RMD160 63bb132210fc112740a7603bc9c041dcd09642dc ChangeLog 322 +SHA256 98864c0aeced1a61fa09372fa3581b8ef78124dde7ed5c43b889cdc2d45ae863 ChangeLog 322 +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 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> |