diff options
author | Patrice Clement <monsieurp@gentoo.org> | 2017-10-21 13:10:08 +0200 |
---|---|---|
committer | Patrice Clement <monsieurp@gentoo.org> | 2017-10-21 18:51:33 +0200 |
commit | e48ed28754c985523c9517d889570087fec22098 (patch) | |
tree | 44075a1906b702916d6907e898dafec1e83d4a6f /app-editors/ng | |
parent | app-editors/ng: stable for amd64+x86. (diff) | |
download | gentoo-e48ed28754c985523c9517d889570087fec22098.tar.gz gentoo-e48ed28754c985523c9517d889570087fec22098.tar.bz2 gentoo-e48ed28754c985523c9517d889570087fec22098.zip |
app-editors/ng: clean up old.
Package-Manager: Portage-2.3.8, Repoman-2.3.3
Diffstat (limited to 'app-editors/ng')
-rw-r--r-- | app-editors/ng/ng-1.5_beta1-r1.ebuild | 63 | ||||
-rw-r--r-- | app-editors/ng/ng-1.5_beta1.ebuild | 61 |
2 files changed, 0 insertions, 124 deletions
diff --git a/app-editors/ng/ng-1.5_beta1-r1.ebuild b/app-editors/ng/ng-1.5_beta1-r1.ebuild deleted file mode 100644 index 146cf88eda6b..000000000000 --- a/app-editors/ng/ng-1.5_beta1-r1.ebuild +++ /dev/null @@ -1,63 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -inherit eutils autotools - -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" - -LICENSE="Emacs" -SLOT="0" -KEYWORDS="~amd64 ~ppc ~x86" -IUSE="canna" - -RDEPEND=">=sys-libs/ncurses-5.0 - !dev-java/nailgun - canna? ( app-i18n/canna )" -DEPEND="${RDEPEND} - >=sys-apps/sed-4.0" - -S="${WORKDIR}/${MY_P}" - -src_prepare() { - epatch "${FILESDIR}/${MY_P}-ncurses.patch" - epatch "${FILESDIR}/${MY_P}-configure.patch" - sed -i -e "/NO_BACKUP/s/undef/define/" config.h || die "sed failed" - - pushd sys/unix || die - eautoconf - popd - cp sys/unix/configure . || die -} - -src_configure() { - econf $(use_enable 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 -} diff --git a/app-editors/ng/ng-1.5_beta1.ebuild b/app-editors/ng/ng-1.5_beta1.ebuild deleted file mode 100644 index d2b723965757..000000000000 --- a/app-editors/ng/ng-1.5_beta1.ebuild +++ /dev/null @@ -1,61 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -inherit eutils 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" - -LICENSE="Emacs" -SLOT="0" -KEYWORDS="~amd64 ~ppc x86" -IUSE="canna" - -RDEPEND=">=sys-libs/ncurses-5.0 - !dev-java/nailgun - canna? ( app-i18n/canna )" -DEPEND="${RDEPEND} - >=sys-apps/sed-4.0" - -S="${WORKDIR}/${MY_P}" - -src_unpack() { - unpack ${A} - cd "${S}" - epatch "${FILESDIR}/${MY_P}-ncurses.patch" -} - -src_compile() { - local myconf - - if use canna; then - myconf="--enable-canna" - fi - econf ${myconf} || die - sed -i -e "s/^#undef NO_BACKUP/#define NO_BACKUP/" config.h \ - || die "sed failed" - - emake CC=$(tc-getCC) || die -} - -src_install() { - dobin ng || die - 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 -} |