app-editors/vile: add 9.8u

Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James 2021-05-16 22:46:01 +01:00
parent f4ff7d26d8
commit fde4aae6c0
No known key found for this signature in database
GPG Key ID: F4922810EEA0483B
2 changed files with 49 additions and 0 deletions

View File

@ -1 +1,2 @@
DIST vile-9.8t.tgz 2352119 BLAKE2B fc1c75eba09e8be99945ba0d178fd150576d8108f906afb20dba265adaee9e5bea4869415d3ebceabf0b6b56c147add79e9c7e4fe34d7f4744930c3728e4a4a4 SHA512 4be4e37c7231395cae9236796073c2c3e428f1945283785a931c5d4cce94e0f970efa6634b0f9053679a00f4b4577704ea38ded2129e444b26ee9935a1c3d229
DIST vile-9.8u.tgz 2375989 BLAKE2B 86e2bb01fab7c429233484493aa33c0b807f7babedf6e69f4c526a6677471ff8e43287114073d22ebb229a801ef003779ab587c9a17474519148e1f64d58460e SHA512 fad06c8e341feec7e9aed1e53cd9a1e7fe79fdeb050aba743ac4edfb6096db88c1ef63377d6ecbeddd0eb8ad46a323bcc55d09b1ff221a75cd74a3f991e3f24d

View File

@ -0,0 +1,48 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
DESCRIPTION="VI Like Emacs -- yet another full-featured vi clone"
HOMEPAGE="https://invisible-island.net/vile/"
SRC_URI="ftp://ftp.invisible-island.net/vile/current/${P}.tgz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
IUSE="perl iconv"
RDEPEND="app-eselect/eselect-vi
>=sys-libs/ncurses-5.2:0=
iconv? ( virtual/libiconv )
perl? ( dev-lang/perl )"
DEPEND="${RDEPEND}"
BDEPEND="sys-devel/flex
virtual/pkgconfig"
src_configure() {
econf \
--disable-stripping \
--with-ncurses \
--with-pkg-config \
$(use_with iconv) \
$(use_with perl)
}
src_install() {
emake DESTDIR="${D}" install
dodoc CHANGES* README doc/*.doc
docinto html
dodoc doc/*.html
}
pkg_postinst() {
einfo "Updating ${EPREFIX}/usr/bin/vi symlink"
eselect vi update --if-unset
}
pkg_postrm() {
einfo "Updating ${EPREFIX}/usr/bin/vi symlink"
eselect vi update --if-unset
}