diff options
author | Mamoru Komachi <usata@gentoo.org> | 2004-05-15 18:19:20 +0000 |
---|---|---|
committer | Mamoru Komachi <usata@gentoo.org> | 2004-05-15 18:19:20 +0000 |
commit | e71bc54f2fd5003239eb1bdfb452d967a4195a3c (patch) | |
tree | 7ab121de68a5a25fc8e13b017177a6066e39dd29 /app-editors/ng | |
parent | Ancient GNU EMACS GENERAL PUBLIC LICENSE, needed by app-editors/ng (diff) | |
download | gentoo-2-e71bc54f2fd5003239eb1bdfb452d967a4195a3c.tar.gz gentoo-2-e71bc54f2fd5003239eb1bdfb452d967a4195a3c.tar.bz2 gentoo-2-e71bc54f2fd5003239eb1bdfb452d967a4195a3c.zip |
Initial import. Ebuild submitted by Atsushi Kobayashi <loudear@iswebnet.com>, closing bug #50823
Diffstat (limited to 'app-editors/ng')
-rw-r--r-- | app-editors/ng/ChangeLog | 11 | ||||
-rw-r--r-- | app-editors/ng/Manifest | 3 | ||||
-rw-r--r-- | app-editors/ng/files/digest-ng-1.5_beta1 | 1 | ||||
-rw-r--r-- | app-editors/ng/files/ng-1.5beta1-ncurses.patch | 12 | ||||
-rw-r--r-- | app-editors/ng/metadata.xml | 5 | ||||
-rw-r--r-- | app-editors/ng/ng-1.5_beta1.ebuild | 64 |
6 files changed, 96 insertions, 0 deletions
diff --git a/app-editors/ng/ChangeLog b/app-editors/ng/ChangeLog new file mode 100644 index 000000000000..adc990a01f7c --- /dev/null +++ b/app-editors/ng/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for app-editors/ng +# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-editors/ng/ChangeLog,v 1.1 2004/05/15 18:19:20 usata Exp $ + +*ng-1.5_beta1 (16 May 2004) + + 16 May 2004; Mamoru KOMACHI <usata@gentoo.org> ng-1.5_beta1.ebuild, + files/ng-1.5beta1-ncurses.patch: + Initial import. Ebuild submitted by Atsushi Kobayashi <loudear@iswebnet.com>, + closing bug #50823 + diff --git a/app-editors/ng/Manifest b/app-editors/ng/Manifest new file mode 100644 index 000000000000..1366777aae97 --- /dev/null +++ b/app-editors/ng/Manifest @@ -0,0 +1,3 @@ +MD5 0f153d14c9aa1203b858a88d190953a9 ng-1.5_beta1.ebuild 1138 +MD5 de7ba3b0eb90a24a2060c4357ad7ee4f files/ng-1.5beta1-ncurses.patch 553 +MD5 80ffe9161a8636f97e8bdc57ce15b31a files/digest-ng-1.5_beta1 63 diff --git a/app-editors/ng/files/digest-ng-1.5_beta1 b/app-editors/ng/files/digest-ng-1.5_beta1 new file mode 100644 index 000000000000..55ddab787108 --- /dev/null +++ b/app-editors/ng/files/digest-ng-1.5_beta1 @@ -0,0 +1 @@ +MD5 70aa4906154e7884fb1305e90bdac887 ng-1.5beta1.tar.gz 662557 diff --git a/app-editors/ng/files/ng-1.5beta1-ncurses.patch b/app-editors/ng/files/ng-1.5beta1-ncurses.patch new file mode 100644 index 000000000000..5395ba94ea78 --- /dev/null +++ b/app-editors/ng/files/ng-1.5beta1-ncurses.patch @@ -0,0 +1,12 @@ +--- configure.orig 2004-05-12 09:26:44.000000000 +0900 ++++ configure 2004-05-12 09:27:06.000000000 +0900 +@@ -1077,3 +1077,3 @@ + rm -f conftest* +-test "$ac_cv_search_tgetstr" = "no" && for i in curses ncurses termlib; do ++test "$ac_cv_search_tgetstr" = "no" && for i in ncurses termlib; do + LIBS="-l$i $ac_func_search_save_LIBS" +@@ -1140,3 +1140,3 @@ + rm -f conftest* +-test "$ac_cv_search_tgetstr" = "no" && for i in termcap curses ncurses; do ++test "$ac_cv_search_tgetstr" = "no" && for i in termcap ncurses; do + LIBS="-l$i $ac_func_search_save_LIBS" diff --git a/app-editors/ng/metadata.xml b/app-editors/ng/metadata.xml new file mode 100644 index 000000000000..2d5852c16c60 --- /dev/null +++ b/app-editors/ng/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>cjk</herd> +</pkgmetadata> diff --git a/app-editors/ng/ng-1.5_beta1.ebuild b/app-editors/ng/ng-1.5_beta1.ebuild new file mode 100644 index 000000000000..b6efa7893a52 --- /dev/null +++ b/app-editors/ng/ng-1.5_beta1.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Id: ng-1.5_beta1.ebuild,v 1.1 2004/05/15 18:19:20 usata Exp $ + +IUSE="canna" + +MY_P=${P/_beta/beta} + +DESCRIPTION="Emacs like micro editor Ng -- based on mg2a" +SRC_URI="http://tt.sakura.ne.jp/~amura/archives/ng/${MY_P}.tar.gz" + +HOMEPAGE="http://tt.sakura.ne.jp/~amura/ng/" + +SLOT="0" +LICENSE="Emacs" +KEYWORDS="~x86" + +PROVIDE="virtual/editor" +RDEPEND="virtual/glibc + >=sys-libs/ncurses-5.0 + canna? ( app-i18n/canna )" +DEPEND="${RDEPEND} + >=sys-apps/sed-4.0" + +S="${WORKDIR}/${MY_P}" + +src_unpack() { + unpack ${MY_P}.tar.gz + cd ${S} + epatch "${FILESDIR}/${MY_P}-ncurses.patch" +} + +src_compile() { + + local myconf + + myconf="`use_enable canna`" + econf ${myconf} || die + sed -i -e "s/^#undef NO_BACKUP/#define NO_BACKUP/" config.h \ + || die "sed failed" + + emake || die +} + +src_install() { + + dobin ng + dodoc docs/* COPYING LICENSE MANIFEST dot.ng + + insinto /usr/share/ng + doins bin/* + + insinto /etc/skel + newins dot.ng .ng +} + +pkg_postinst() { + einfo + einfo "If you want to use user Config" + einfo "cp /etc/skel/.ng ~/.ng" + einfo "and edit your .ng configuration file." + einfo +} + |