public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/emacs:master commit in: app-editors/mg/
@ 2013-10-03 17:49 Ulrich Müller
  0 siblings, 0 replies; 3+ messages in thread
From: Ulrich Müller @ 2013-10-03 17:49 UTC (permalink / raw
  To: gentoo-commits

commit:     cb70b253de2f22bedee0b6dcbd6ddd58ce2bdf85
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Thu Oct  3 17:47:40 2013 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Thu Oct  3 17:47:40 2013 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/emacs.git;a=commit;h=cb70b253

Copied from Portage tree. Version bump.

Package-Manager: portage-2.2.7

---
 app-editors/mg/ChangeLog          | 10 ++++++++
 app-editors/mg/Manifest           |  1 +
 app-editors/mg/metadata.xml       |  9 +++++++
 app-editors/mg/mg-20130922.ebuild | 49 +++++++++++++++++++++++++++++++++++++++
 4 files changed, 69 insertions(+)

diff --git a/app-editors/mg/ChangeLog b/app-editors/mg/ChangeLog
new file mode 100644
index 0000000..727dca2
--- /dev/null
+++ b/app-editors/mg/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for app-editors/mg
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+*mg-20130922 (03 Oct 2013)
+
+  03 Oct 2013; Ulrich Müller <ulm@gentoo.org> +mg-20130922.ebuild,
+  +metadata.xml:
+  Copied from Portage tree. Version bump.
+

diff --git a/app-editors/mg/Manifest b/app-editors/mg/Manifest
new file mode 100644
index 0000000..7f76d50
--- /dev/null
+++ b/app-editors/mg/Manifest
@@ -0,0 +1 @@
+DIST mg-20130922.tar.gz 142886 SHA256 323c21489416e256d036e8d58b6b72f96e7dee393fa8e38709f5fa226c8e7dd3 SHA512 79bf02ff3d30f41c234310b33c98f9a0f9c8a1197fe12c02e108071f6bc80f0d37003076cc1a2eb1c9a88c668eeab30e8a2d0c86af13ef57dd562dc077bb229b WHIRLPOOL c358095bf8fc686a5ebbe327ac35f5812164623307e77b1cc8293f28a65893dfd1826b4412ce0800cb5b77394b2eaeaff261149f25cd075651a7783c64248ff8

diff --git a/app-editors/mg/metadata.xml b/app-editors/mg/metadata.xml
new file mode 100644
index 0000000..41e5f9b
--- /dev/null
+++ b/app-editors/mg/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+<longdescription>
+  mg is Micro GNU/emacs, this is a portable version of the mg maintained by
+  the OpenBSD team.
+</longdescription>
+</pkgmetadata>

diff --git a/app-editors/mg/mg-20130922.ebuild b/app-editors/mg/mg-20130922.ebuild
new file mode 100644
index 0000000..92e7e3d
--- /dev/null
+++ b/app-editors/mg/mg-20130922.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-editors/mg/mg-20110905-r1.ebuild,v 1.7 2013/05/25 14:24:04 ago Exp $
+
+EAPI=5
+
+inherit toolchain-funcs
+
+DESCRIPTION="MicroGnuEmacs, a port from the BSDs"
+HOMEPAGE="http://homepage.boetes.org/software/mg/"
+SRC_URI="http://homepage.boetes.org/software/mg/${P}.tar.gz"
+
+LICENSE="public-domain BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="livecd"
+
+RDEPEND="sys-libs/ncurses"
+DEPEND="${RDEPEND}
+	virtual/pkgconfig
+	dev-libs/clens"
+
+src_prepare() {
+	# create our own Makefile to avoid BSD make
+	echo -e 'SRCS =' *.c '\nmg: $(SRCS:.c=.o)' \
+		'\n\t$(CC) $(LDFLAGS) $^ -o $@ $(LDLIBS)' >Makefile || die
+
+	# remove OpenBSD specific easter egg
+	sed -i -e 's/theo\.c//' Makefile || die
+	sed -i -e '/theo_init/d' main.c || die
+}
+
+src_compile() {
+	emake CC="$(tc-getCC)" \
+		CFLAGS="${CFLAGS} -DFKEYS -DREGEX -DXKEYS -I/usr/include/clens" \
+		LDLIBS="-lclens $("$(tc-getPKG_CONFIG)" --libs ncurses)"
+}
+
+src_install()  {
+	dobin mg
+	doman mg.1
+	dodoc README tutorial
+}
+
+pkg_postinst() {
+	if use livecd; then
+		[[ -e ${EROOT}/usr/bin/emacs ]] || ln -s mg "${EROOT}"/usr/bin/emacs
+	fi
+}


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [gentoo-commits] proj/emacs:master commit in: app-editors/mg/
@ 2013-10-03 22:53 Ulrich Müller
  0 siblings, 0 replies; 3+ messages in thread
From: Ulrich Müller @ 2013-10-03 22:53 UTC (permalink / raw
  To: gentoo-commits

commit:     5830d9ae65a687d1059d71b6d53d03ee080641f5
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Thu Oct  3 22:53:21 2013 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Thu Oct  3 22:53:21 2013 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/emacs.git;a=commit;h=5830d9ae

Fix LICENSE.

Package-Manager: portage-2.2.7

---
 app-editors/mg/mg-20130922.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-editors/mg/mg-20130922.ebuild b/app-editors/mg/mg-20130922.ebuild
index 92e7e3d..801b5fe 100644
--- a/app-editors/mg/mg-20130922.ebuild
+++ b/app-editors/mg/mg-20130922.ebuild
@@ -10,7 +10,7 @@ DESCRIPTION="MicroGnuEmacs, a port from the BSDs"
 HOMEPAGE="http://homepage.boetes.org/software/mg/"
 SRC_URI="http://homepage.boetes.org/software/mg/${P}.tar.gz"
 
-LICENSE="public-domain BSD"
+LICENSE="public-domain"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
 IUSE="livecd"


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [gentoo-commits] proj/emacs:master commit in: app-editors/mg/
@ 2013-10-04 17:22 Ulrich Müller
  0 siblings, 0 replies; 3+ messages in thread
From: Ulrich Müller @ 2013-10-04 17:22 UTC (permalink / raw
  To: gentoo-commits

commit:     d474ea318cae1a39488e61e8324f2db6223f2a15
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Fri Oct  4 17:22:06 2013 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Fri Oct  4 17:22:06 2013 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/emacs.git;a=commit;h=d474ea31

Small format changes in Makefile.

Package-Manager: portage-2.2.7

---
 app-editors/mg/mg-20130922.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/app-editors/mg/mg-20130922.ebuild b/app-editors/mg/mg-20130922.ebuild
index 801b5fe..27ae464 100644
--- a/app-editors/mg/mg-20130922.ebuild
+++ b/app-editors/mg/mg-20130922.ebuild
@@ -22,8 +22,8 @@ DEPEND="${RDEPEND}
 
 src_prepare() {
 	# create our own Makefile to avoid BSD make
-	echo -e 'SRCS =' *.c '\nmg: $(SRCS:.c=.o)' \
-		'\n\t$(CC) $(LDFLAGS) $^ -o $@ $(LDLIBS)' >Makefile || die
+	echo -e 'SRCS =' *.c '\n\nmg: $(SRCS:.c=.o)' \
+		'\n\t$(CC) $(LDFLAGS) -o $@ $^ $(LDLIBS)' >Makefile || die
 
 	# remove OpenBSD specific easter egg
 	sed -i -e 's/theo\.c//' Makefile || die


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-10-04 17:22 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-03 17:49 [gentoo-commits] proj/emacs:master commit in: app-editors/mg/ Ulrich Müller
  -- strict thread matches above, loose matches on Subject: below --
2013-10-03 22:53 Ulrich Müller
2013-10-04 17:22 Ulrich Müller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox