diff options
author | 2022-08-24 01:45:37 +0100 | |
---|---|---|
committer | 2022-08-24 01:45:37 +0100 | |
commit | 7de3b1f1dd4d3809c68f4d93576cca7e2b60829a (patch) | |
tree | a699379ce8279f9096f37bc751a1bd0e0f382134 /app-editors/vile/vile-9.8w.ebuild | |
parent | dev-python/yara-python: update Manifest (diff) | |
download | gentoo-7de3b1f1dd4d3809c68f4d93576cca7e2b60829a.tar.gz gentoo-7de3b1f1dd4d3809c68f4d93576cca7e2b60829a.tar.bz2 gentoo-7de3b1f1dd4d3809c68f4d93576cca7e2b60829a.zip |
app-editors/vile: add 9.8w
Closes: https://bugs.gentoo.org/848957
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-editors/vile/vile-9.8w.ebuild')
-rw-r--r-- | app-editors/vile/vile-9.8w.ebuild | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/app-editors/vile/vile-9.8w.ebuild b/app-editors/vile/vile-9.8w.ebuild new file mode 100644 index 000000000000..60b94f7129b1 --- /dev/null +++ b/app-editors/vile/vile-9.8w.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# Bump with app-editors/xvile + +DESCRIPTION="VI Like Emacs -- yet another full-featured vi clone" +HOMEPAGE="https://invisible-island.net/vile/" +SRC_URI="https://invisible-island.net/archives/vile/current/${P}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos" +IUSE="perl iconv" + +RDEPEND=">=sys-libs/ncurses-5.2:= + virtual/libcrypt:= + iconv? ( virtual/libiconv ) + perl? ( dev-lang/perl:= )" +DEPEND="${RDEPEND}" +BDEPEND="sys-devel/flex + virtual/pkgconfig" +IDEPEND="app-eselect/eselect-vi" + +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 +} |