diff options
Diffstat (limited to 'app-editors/vile')
-rw-r--r-- | app-editors/vile/Manifest | 3 | ||||
-rw-r--r-- | app-editors/vile/files/vile-9.8h-flex.patch | 30 | ||||
-rw-r--r-- | app-editors/vile/metadata.xml | 5 | ||||
-rw-r--r-- | app-editors/vile/vile-9.8k.ebuild | 48 | ||||
-rw-r--r-- | app-editors/vile/vile-9.8n.ebuild | 42 | ||||
-rw-r--r-- | app-editors/vile/vile-9.8o.ebuild | 42 |
6 files changed, 170 insertions, 0 deletions
diff --git a/app-editors/vile/Manifest b/app-editors/vile/Manifest new file mode 100644 index 000000000000..4980defc1cf5 --- /dev/null +++ b/app-editors/vile/Manifest @@ -0,0 +1,3 @@ +DIST vile-9.8k.tgz 2278349 SHA256 af8386a43fdf82ba3c8e4187b8fe850543c5baac769cf26bb2b437e5b3689e24 SHA512 93dce951701f156ebe5aecd39a86556658334a2f262919974bd302238e4b78a63ea6a675fc47fd5b170055e7fba8134db27ff26076be0d1b0cf7a58d697b5836 WHIRLPOOL e75ded06e6eb5234a673a92d27ceb1632150c60e580a27e0c00267a147a3b02005afb62843e373a3112ed8a353f230d4101ad1adfa0a045cba47d21f1b301a20 +DIST vile-9.8n.tgz 2300678 SHA256 36cea866603483e43e705ba1a96d0d52dc81f9c0d97fbefe5150c50b04b258bb SHA512 c87350325f47ef9338d9e7dca1a22b0d2c23b632cc2338ab07b00a986fc911f2bfbb05c9dcb98f4b606c2f2d0294dec26bcbf45a711cb6ad25c3ecf4b84c9037 WHIRLPOOL 16be864f128b256049a6d0e7cd39a3256415eabec66bcc632db09c6e5d07ef72b775fe28c38c2cfa805e0a495d3bf83d25ac9c5c6d3decaa5c165c91ee5558b1 +DIST vile-9.8o.tgz 2304783 SHA256 45625c060cb9da3d68bba0d308fa61cb6a1cd7c7fd8b0e83aba8890632a19b24 SHA512 ddcc01b47990cc603f4af2c4738ed989d2be51018aa0bbc96079771f2809f11df160c6bc597dc50bf30f47ef5ec7c78646cbc19d7c381ef836de7bdb884bab87 WHIRLPOOL 746e2face1cbf0881cc2c10a57b5d412a30668805a62c8f5db64ffb20e9a74285ef1e5a05e6d607530705427360b13a1cb22dd62ae1dfe02ac190e1bfea518cd diff --git a/app-editors/vile/files/vile-9.8h-flex.patch b/app-editors/vile/files/vile-9.8h-flex.patch new file mode 100644 index 000000000000..bb1c1c301110 --- /dev/null +++ b/app-editors/vile/files/vile-9.8h-flex.patch @@ -0,0 +1,30 @@ +--- vile-9.8h/filters/filters.h ++++ vile-9.8h/filters/filters.h +@@ -200,27 +200,6 @@ + #endif + #endif /* __GNUC__ */ + +-/* +- * 2003/5/20 - "new" flex 2.5.31: +- * workaround for "developers" who don't use compiler-warnings... +- * perhaps by the time "new" flex merits the term "beta", they'll fix this: +- */ +-#if defined(FLEX_BETA) +-extern FILE *yyget_in (void); +-extern FILE *yyget_out (void); +-extern char *yyget_text (void); +-extern int yyget_debug (void); +-extern int yyget_leng (void); +-extern int yyget_lineno (void); +-extern int yylex_destroy (void); +-extern void yyset_debug (int bdebug); +-extern void yyset_in (FILE * in_str); +-extern void yyset_lineno (int line_number); +-extern void yyset_out (FILE * out_str); +-/* there's also warnings for unused 'yyunput()', but I don't see a fix */ +-/* flex's skeleton includes <unistd.h> - no particular reason apparent */ +-#endif +- + #define YY_NO_INPUT 1 /* get rid of 'input()' function */ + + /* diff --git a/app-editors/vile/metadata.xml b/app-editors/vile/metadata.xml new file mode 100644 index 000000000000..d221a8d4b42c --- /dev/null +++ b/app-editors/vile/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>vim</herd> +</pkgmetadata> diff --git a/app-editors/vile/vile-9.8k.ebuild b/app-editors/vile/vile-9.8k.ebuild new file mode 100644 index 000000000000..328ca7a3f0ad --- /dev/null +++ b/app-editors/vile/vile-9.8k.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +inherit eutils + +DESCRIPTION="VI Like Emacs -- yet another full-featured vi clone" +HOMEPAGE="http://invisible-island.net/vile/" +SRC_URI="ftp://invisible-island.net/vile/current/${P}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="alpha amd64 ia64 ppc sparc x86 ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" +IUSE="perl" + +RDEPEND=">=sys-libs/ncurses-5.2 + perl? ( dev-lang/perl )" +DEPEND="${RDEPEND} + sys-devel/flex + app-eselect/eselect-vi" + +src_prepare() { + epatch "${FILESDIR}"/${PN}-9.8h-flex.patch +} + +src_configure() { + econf \ + --with-ncurses \ + $(use_with perl ) +} + +src_install() { + emake DESTDIR="${D}" install + dodoc CHANGES* README doc/*.doc + dohtml 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 +} diff --git a/app-editors/vile/vile-9.8n.ebuild b/app-editors/vile/vile-9.8n.ebuild new file mode 100644 index 000000000000..393f035f1a9e --- /dev/null +++ b/app-editors/vile/vile-9.8n.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +DESCRIPTION="VI Like Emacs -- yet another full-featured vi clone" +HOMEPAGE="http://invisible-island.net/vile/" +SRC_URI="ftp://invisible-island.net/vile/current/${P}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~sparc ~x86 ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" +IUSE="perl" + +RDEPEND=">=sys-libs/ncurses-5.2 + perl? ( dev-lang/perl )" +DEPEND="${RDEPEND} + sys-devel/flex + app-eselect/eselect-vi" + +src_configure() { + econf \ + --with-ncurses \ + $(use_with perl ) +} + +src_install() { + emake DESTDIR="${D}" INSTALL_OPTS="" install + dodoc CHANGES* README doc/*.doc + dohtml 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 +} diff --git a/app-editors/vile/vile-9.8o.ebuild b/app-editors/vile/vile-9.8o.ebuild new file mode 100644 index 000000000000..4c1d4614096e --- /dev/null +++ b/app-editors/vile/vile-9.8o.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +DESCRIPTION="VI Like Emacs -- yet another full-featured vi clone" +HOMEPAGE="http://invisible-island.net/vile/" +SRC_URI="ftp://invisible-island.net/vile/current/${P}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~sparc ~x86 ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" +IUSE="perl" + +RDEPEND=">=sys-libs/ncurses-5.2 + perl? ( dev-lang/perl )" +DEPEND="${RDEPEND} + sys-devel/flex + app-eselect/eselect-vi" + +src_configure() { + econf \ + --with-ncurses \ + $(use_with perl ) +} + +src_install() { + emake DESTDIR="${D}" INSTALL_OPT_S="" install + dodoc CHANGES* README doc/*.doc + dohtml 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 +} |