diff options
author | 2004-05-15 18:19:20 +0000 | |
---|---|---|
committer | 2004-05-15 18:19:20 +0000 | |
commit | 097458a4aec5e53a2ee042ccf6bffc7afa789472 (patch) | |
tree | b5fb53be2fc526c2e5cfa108068761a11022e593 /app-editors/ng/ng-1.5_beta1.ebuild | |
parent | Ancient GNU EMACS GENERAL PUBLIC LICENSE, needed by app-editors/ng (diff) | |
download | historical-097458a4aec5e53a2ee042ccf6bffc7afa789472.tar.gz historical-097458a4aec5e53a2ee042ccf6bffc7afa789472.tar.bz2 historical-097458a4aec5e53a2ee042ccf6bffc7afa789472.zip |
Initial import. Ebuild submitted by Atsushi Kobayashi <loudear@iswebnet.com>, closing bug #50823
Diffstat (limited to 'app-editors/ng/ng-1.5_beta1.ebuild')
-rw-r--r-- | app-editors/ng/ng-1.5_beta1.ebuild | 64 |
1 files changed, 64 insertions, 0 deletions
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 +} + |