diff options
author | Sam James <sam@gentoo.org> | 2023-01-31 18:40:49 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-01-31 18:42:21 +0000 |
commit | 7d6862b0cd7c79d091a057f2d51ad091d34a8cf4 (patch) | |
tree | 2ca9b2476a3606433a204291a984f0b09f19b3b3 /app-editors/vile/vile-9.8y.ebuild | |
parent | app-editors/xvile: drop 9.8w-r1 (diff) | |
download | gentoo-7d6862b0cd7c79d091a057f2d51ad091d34a8cf4.tar.gz gentoo-7d6862b0cd7c79d091a057f2d51ad091d34a8cf4.tar.bz2 gentoo-7d6862b0cd7c79d091a057f2d51ad091d34a8cf4.zip |
app-editors/vile: add 9.8y
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-editors/vile/vile-9.8y.ebuild')
-rw-r--r-- | app-editors/vile/vile-9.8y.ebuild | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/app-editors/vile/vile-9.8y.ebuild b/app-editors/vile/vile-9.8y.ebuild new file mode 100644 index 000000000000..61938f85b696 --- /dev/null +++ b/app-editors/vile/vile-9.8y.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# Bump with app-editors/xvile + +VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/thomasdickey.asc +inherit verify-sig + +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" +SRC_URI+=" verify-sig? ( https://invisible-island.net/archives/vile/current/${P}.tgz.asc )" + +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=" + app-alternatives/lex + virtual/pkgconfig + verify-sig? ( sec-keys/openpgp-keys-thomasdickey ) +" +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 +} |