1 # Copyright 1999-2019 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 inherit toolchain-funcs
8 DESCRIPTION="Jonathan's Own Version of Emacs, a light emacs-like editor without LISP bindings"
9 HOMEPAGE="ftp://ftp.cs.toronto.edu/cs/ftp/pub/hugh/jove-dev/"
10 SRC_URI="ftp://ftp.cs.toronto.edu/cs/ftp/pub/hugh/jove-dev/${PN}${PV}.tgz"
14 KEYWORDS="amd64 ppc x86"
17 RDEPEND="sys-libs/ncurses:0="
19 BDEPEND="virtual/pkgconfig"
21 S="${WORKDIR}/${PN}${PV}"
24 "${FILESDIR}"/${PN}-4.16.0.70.3.1-getline.patch
25 "${FILESDIR}"/${P}-build.patch
26 "${FILESDIR}"/${P}-sendmail.patch
27 "${FILESDIR}"/${P}-doc.patch
33 emake OPTFLAGS="${CFLAGS}" \
34 SYSDEFS="-DSYSVR4 -D_XOPEN_SOURCE=500 -D_XOPEN_STREAMS=-1" \
35 TERMCAPLIB="$("$(tc-getPKG_CONFIG)" --libs ncurses)"
38 # Full manual (*not* man page)
44 emake DESTDIR="${D}" install
45 keepdir /var/lib/jove/preserve