diff options
author | Sam James <sam@gentoo.org> | 2021-05-16 22:46:01 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-05-17 22:34:23 +0000 |
commit | fde4aae6c0957cbf81a470c3c04e347e8fc2aec0 (patch) | |
tree | 8116020041562de870461c97df8733211f17eb38 /app-editors/vile/vile-9.8u.ebuild | |
parent | dev-util/dialog: add 1.3.20210509 (diff) | |
download | gentoo-fde4aae6c0957cbf81a470c3c04e347e8fc2aec0.tar.gz gentoo-fde4aae6c0957cbf81a470c3c04e347e8fc2aec0.tar.bz2 gentoo-fde4aae6c0957cbf81a470c3c04e347e8fc2aec0.zip |
app-editors/vile: add 9.8u
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-editors/vile/vile-9.8u.ebuild')
-rw-r--r-- | app-editors/vile/vile-9.8u.ebuild | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/app-editors/vile/vile-9.8u.ebuild b/app-editors/vile/vile-9.8u.ebuild new file mode 100644 index 000000000000..290ed240c5f7 --- /dev/null +++ b/app-editors/vile/vile-9.8u.ebuild @@ -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 +} |