diff options
author | David Seifert <soap@gentoo.org> | 2021-07-17 13:25:13 +0200 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2021-07-17 13:25:13 +0200 |
commit | b4a092ae93c77cbc3aaa6071a326092abdab9a0e (patch) | |
tree | 93a0624eb881d9738d8d44f0577e97e5d4a15b02 /app-editors/ng/ng-1.5_beta1-r3.ebuild | |
parent | x11-terms/mlterm: Remove app-i18n/canna (diff) | |
download | gentoo-b4a092ae93c77cbc3aaa6071a326092abdab9a0e.tar.gz gentoo-b4a092ae93c77cbc3aaa6071a326092abdab9a0e.tar.bz2 gentoo-b4a092ae93c77cbc3aaa6071a326092abdab9a0e.zip |
app-editors/ng: Remove app-i18n/canna
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'app-editors/ng/ng-1.5_beta1-r3.ebuild')
-rw-r--r-- | app-editors/ng/ng-1.5_beta1-r3.ebuild | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/app-editors/ng/ng-1.5_beta1-r3.ebuild b/app-editors/ng/ng-1.5_beta1-r3.ebuild new file mode 100644 index 000000000000..428dbda5a7d9 --- /dev/null +++ b/app-editors/ng/ng-1.5_beta1-r3.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit autotools toolchain-funcs + +MY_P="${P/_beta/beta}" + +DESCRIPTION="Emacs like micro editor Ng -- based on mg2a" +HOMEPAGE="http://tt.sakura.ne.jp/~amura/ng/" +SRC_URI="http://tt.sakura.ne.jp/~amura/archives/ng/${MY_P}.tar.gz" +S="${WORKDIR}/${MY_P}" + +LICENSE="Emacs" +SLOT="0" +KEYWORDS="amd64 ppc x86" + +RDEPEND=" + sys-libs/ncurses:0= + !dev-java/nailgun" +DEPEND="${RDEPEND}" + +PATCHES=( + "${FILESDIR}/${MY_P}-ncurses.patch" + "${FILESDIR}/${MY_P}-configure.patch" +) + +src_prepare() { + default + + sed -i -e "/NO_BACKUP/s/undef/define/" config.h || die "sed failed" + pushd sys/unix > /dev/null || die + eautoconf + popd > /dev/null || die + cp sys/unix/configure . || die +} + +src_configure() { + econf --disable-canna +} + +src_compile() { + emake CC="$(tc-getCC)" +} + +src_install() { + dobin ng + dodoc docs/* MANIFEST dot.ng + + insinto /usr/share/ng + doins bin/* + + insinto /etc/skel + newins dot.ng .ng +} + +pkg_postinst() { + elog + elog "If you want to use user Config" + elog "cp /etc/skel/.ng ~/.ng" + elog "and edit your .ng configuration file." + elog +} |