1 |
commit: fde4aae6c0957cbf81a470c3c04e347e8fc2aec0 |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun May 16 21:46:01 2021 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon May 17 22:34:23 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fde4aae6 |
7 |
|
8 |
app-editors/vile: add 9.8u |
9 |
|
10 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
11 |
|
12 |
app-editors/vile/Manifest | 1 + |
13 |
app-editors/vile/vile-9.8u.ebuild | 48 +++++++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 49 insertions(+) |
15 |
|
16 |
diff --git a/app-editors/vile/Manifest b/app-editors/vile/Manifest |
17 |
index 2d066198a07..16b6f6700ba 100644 |
18 |
--- a/app-editors/vile/Manifest |
19 |
+++ b/app-editors/vile/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST vile-9.8t.tgz 2352119 BLAKE2B fc1c75eba09e8be99945ba0d178fd150576d8108f906afb20dba265adaee9e5bea4869415d3ebceabf0b6b56c147add79e9c7e4fe34d7f4744930c3728e4a4a4 SHA512 4be4e37c7231395cae9236796073c2c3e428f1945283785a931c5d4cce94e0f970efa6634b0f9053679a00f4b4577704ea38ded2129e444b26ee9935a1c3d229 |
22 |
+DIST vile-9.8u.tgz 2375989 BLAKE2B 86e2bb01fab7c429233484493aa33c0b807f7babedf6e69f4c526a6677471ff8e43287114073d22ebb229a801ef003779ab587c9a17474519148e1f64d58460e SHA512 fad06c8e341feec7e9aed1e53cd9a1e7fe79fdeb050aba743ac4edfb6096db88c1ef63377d6ecbeddd0eb8ad46a323bcc55d09b1ff221a75cd74a3f991e3f24d |
23 |
|
24 |
diff --git a/app-editors/vile/vile-9.8u.ebuild b/app-editors/vile/vile-9.8u.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..290ed240c5f |
27 |
--- /dev/null |
28 |
+++ b/app-editors/vile/vile-9.8u.ebuild |
29 |
@@ -0,0 +1,48 @@ |
30 |
+# Copyright 1999-2021 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=7 |
34 |
+ |
35 |
+DESCRIPTION="VI Like Emacs -- yet another full-featured vi clone" |
36 |
+HOMEPAGE="https://invisible-island.net/vile/" |
37 |
+SRC_URI="ftp://ftp.invisible-island.net/vile/current/${P}.tgz" |
38 |
+ |
39 |
+LICENSE="GPL-2" |
40 |
+SLOT="0" |
41 |
+KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos" |
42 |
+IUSE="perl iconv" |
43 |
+ |
44 |
+RDEPEND="app-eselect/eselect-vi |
45 |
+ >=sys-libs/ncurses-5.2:0= |
46 |
+ iconv? ( virtual/libiconv ) |
47 |
+ perl? ( dev-lang/perl )" |
48 |
+DEPEND="${RDEPEND}" |
49 |
+BDEPEND="sys-devel/flex |
50 |
+ virtual/pkgconfig" |
51 |
+ |
52 |
+src_configure() { |
53 |
+ econf \ |
54 |
+ --disable-stripping \ |
55 |
+ --with-ncurses \ |
56 |
+ --with-pkg-config \ |
57 |
+ $(use_with iconv) \ |
58 |
+ $(use_with perl) |
59 |
+} |
60 |
+ |
61 |
+src_install() { |
62 |
+ emake DESTDIR="${D}" install |
63 |
+ |
64 |
+ dodoc CHANGES* README doc/*.doc |
65 |
+ docinto html |
66 |
+ dodoc doc/*.html |
67 |
+} |
68 |
+ |
69 |
+pkg_postinst() { |
70 |
+ einfo "Updating ${EPREFIX}/usr/bin/vi symlink" |
71 |
+ eselect vi update --if-unset |
72 |
+} |
73 |
+ |
74 |
+pkg_postrm() { |
75 |
+ einfo "Updating ${EPREFIX}/usr/bin/vi symlink" |
76 |
+ eselect vi update --if-unset |
77 |
+} |