diff options
Diffstat (limited to 'app-editors/jove/jove-4.16.0.73.ebuild')
-rw-r--r-- | app-editors/jove/jove-4.16.0.73.ebuild | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/app-editors/jove/jove-4.16.0.73.ebuild b/app-editors/jove/jove-4.16.0.73.ebuild new file mode 100644 index 000000000000..d3d1fcbad232 --- /dev/null +++ b/app-editors/jove/jove-4.16.0.73.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 + +inherit eutils toolchain-funcs + +DESCRIPTION="Jonathan's Own Version of Emacs - a light emacs-like editor without LISP bindings" +HOMEPAGE="ftp://ftp.cs.toronto.edu/cs/ftp/pub/hugh/jove-dev/" +SRC_URI="ftp://ftp.cs.toronto.edu/cs/ftp/pub/hugh/jove-dev/${PN}${PV}.tgz" + +LICENSE="JOVE" +SLOT="0" +KEYWORDS="amd64 ppc x86" +IUSE="doc" + +RDEPEND="sys-libs/ncurses" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +S="${WORKDIR}/${PN}${PV}" + +src_prepare() { + epatch "${FILESDIR}/${PN}-4.16.0.70.3.1-getline.patch" + epatch "${FILESDIR}/${P}-build.patch" + epatch "${FILESDIR}/${P}-sendmail.patch" + epatch "${FILESDIR}/${P}-doc.patch" +} + +src_compile() { + tc-export CC + + emake OPTFLAGS="${CFLAGS}" \ + SYSDEFS="-DSYSVR4 -D_XOPEN_SOURCE=500" \ + TERMCAPLIB="$("$(tc-getPKG_CONFIG)" --libs ncurses)" + + if use doc; then + # Full manual (*not* man page) + emake doc/jove.man + fi +} + +src_install() { + emake DESTDIR="${D}" install + keepdir /var/lib/jove/preserve + + dodoc README + if use doc; then + dodoc doc/jove.man + fi +} |