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 | |
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')
-rw-r--r-- | app-editors/vile/Manifest | 1 | ||||
-rw-r--r-- | app-editors/vile/vile-9.8u.ebuild | 48 |
2 files changed, 49 insertions, 0 deletions
diff --git a/app-editors/vile/Manifest b/app-editors/vile/Manifest index 2d066198a07c..16b6f6700ba0 100644 --- a/app-editors/vile/Manifest +++ b/app-editors/vile/Manifest @@ -1 +1,2 @@ DIST vile-9.8t.tgz 2352119 BLAKE2B fc1c75eba09e8be99945ba0d178fd150576d8108f906afb20dba265adaee9e5bea4869415d3ebceabf0b6b56c147add79e9c7e4fe34d7f4744930c3728e4a4a4 SHA512 4be4e37c7231395cae9236796073c2c3e428f1945283785a931c5d4cce94e0f970efa6634b0f9053679a00f4b4577704ea38ded2129e444b26ee9935a1c3d229 +DIST vile-9.8u.tgz 2375989 BLAKE2B 86e2bb01fab7c429233484493aa33c0b807f7babedf6e69f4c526a6677471ff8e43287114073d22ebb229a801ef003779ab587c9a17474519148e1f64d58460e SHA512 fad06c8e341feec7e9aed1e53cd9a1e7fe79fdeb050aba743ac4edfb6096db88c1ef63377d6ecbeddd0eb8ad46a323bcc55d09b1ff221a75cd74a3f991e3f24d 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 +} |