Diff jove-4.16.0.73-r1 with a jove-4.17.3.7

/usr/portage/app-editors/jove/jove-4.17.3.7.ebuild 2023-10-09 14:52:28.280368320 +0300
1
# Copyright 1999-2019 Gentoo Authors
1
# Copyright 1999-2022 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4
EAPI=7
4
EAPI=8
5 5

  
6 6
inherit toolchain-funcs
7 7

  
8 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"
9
HOMEPAGE="https://github.com/jonmacs/jove"
10
SRC_URI="https://github.com/jonmacs/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
11 11

  
12 12
LICENSE="JOVE"
13 13
SLOT="0"
14
KEYWORDS="amd64 ppc x86"
14
KEYWORDS="~amd64 ~ppc ~x86"
15 15
IUSE="doc"
16 16

  
17 17
RDEPEND="sys-libs/ncurses:0="
18 18
DEPEND="${RDEPEND}"
19 19
BDEPEND="virtual/pkgconfig"
20 20

  
21
S="${WORKDIR}/${PN}${PV}"
22

  
23
PATCHES=(
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
28
)
29

  
30 21
src_compile() {
31 22
	tc-export CC
32 23

  
33
	emake OPTFLAGS="${CFLAGS}" \
34
		SYSDEFS="-DSYSVR4 -D_XOPEN_SOURCE=500 -D_XOPEN_STREAMS=-1" \
24
	emake \
25
		JOVEHOME="${EPREFIX}/usr" \
26
		JMANDIR="${EPREFIX}/usr/share/man/man1" \
27
		OPTFLAGS="${CFLAGS}" \
28
		LDFLAGS="${LDFLAGS}" \
29
		SYSDEFS="-DLinux" \
35 30
		TERMCAPLIB="$("$(tc-getPKG_CONFIG)" --libs ncurses)"
36 31

  
37 32
	if use doc; then
......
41 36
}
42 37

  
43 38
src_install() {
44
	emake DESTDIR="${D}" install
39
	emake \
40
		JOVEHOME="${EPREFIX}/usr" \
41
		JMANDIR="${EPREFIX}/usr/share/man/man1" \
42
		DESTDIR="${D}" \
43
		install
45 44
	keepdir /var/lib/jove/preserve
46 45

  
47 46
	dodoc README
Thank you!