Diff inform-6.33.1_p2 with a inform-6.35_p4

/usr/portage/dev-lang/inform/inform-6.35_p4.ebuild 2023-10-09 14:52:29.460368349 +0300
1
# Copyright 1999-2021 Gentoo Authors
1
# Copyright 1999-2023 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4 4
EAPI=8
5 5

  
6
MY_P="${P/_p/-b}"
6
inherit toolchain-funcs
7

  
8
MY_P="${P/_p/-r}"
7 9

  
8 10
DESCRIPTION="Design system for interactive fiction"
9 11
HOMEPAGE="https://www.inform-fiction.org/"
10
SRC_URI="mirror://gentoo/${MY_P}.tar.gz"
12
SRC_URI="https://ifarchive.org/if-archive/infocom/compilers/inform6/source/${MY_P}.tar.gz"
11 13
S="${WORKDIR}/${MY_P}"
12 14

  
13 15
LICENSE="Artistic-2 Inform"
14 16
SLOT="0"
15 17
KEYWORDS="amd64 ~ppc ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos"
16
IUSE="emacs"
17

  
18
IUSE="emacs tools"
19
# non-interactive tests use ruby, seem broken, and return true even on failure
20
RESTRICT="test"
21

  
22
RDEPEND="
23
	tools? (
24
		dev-lang/perl
25
		dev-perl/DateTime
26
	)"
18 27
PDEPEND="emacs? ( app-emacs/inform-mode )"
19 28

  
29
src_compile() {
30
	tc-export CC
31

  
32
	emake PREFIX="${EPREFIX}"/usr OPTS="${CFLAGS} ${CPPFLAGS}"
33
}
34

  
20 35
src_install() {
21
	default
36
	local emakeargs=(
37
		PREFIX="${ED}"/usr
38
		REAL_PREFIX="${EPREFIX}"/usr
39
		MANDIR="${ED}"/usr/share/man/man1
40
		PUNYDOCS="${ED}"/usr/share/doc/${PF}/punyinform
41
		PUNYTESTS="${T}" # don't install tests
42
	)
43

  
44
	emake -j1 "${emakeargs[@]}" install
22 45

  
23
	dodoc VERSION
46
	dodoc AUTHORS NEWS README.md VERSION docs/README*
24 47

  
25
	docinto tutorial
26
	dodoc tutor/README tutor/*.inf
48
	use tools || rm "${ED}"/usr/bin/*blorb* || die
27 49

  
28
	mv "${ED}"/usr/share/{${PN}/manual,doc/${PF}/html} || die
29
	rmdir "${ED}"/usr/share/inform/{include,module} || die
30
	rm "${ED}"/usr/share/inform/6.33b2/include/SmartCantGo.h || die #723062
50
	find "${ED}"/usr/share/doc \( -name Makefile -o -name 'custom.*' \) -delete || die
31 51
}
Thank you!