summaryrefslogtreecommitdiff
blob: f07551c95d9832d40ccb016d067fcb7a1a679a3d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

MY_P="${P/_p/-b}"

DESCRIPTION="Design system for interactive fiction"
HOMEPAGE="https://www.inform-fiction.org/"
SRC_URI="mirror://gentoo/${MY_P}.tar.gz"
S="${WORKDIR}/${MY_P}"

LICENSE="Artistic-2 Inform"
SLOT="0"
KEYWORDS="amd64 ~ppc ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos"
IUSE="emacs"

PDEPEND="emacs? ( app-emacs/inform-mode )"

src_install() {
	default

	dodoc VERSION

	docinto tutorial
	dodoc tutor/README tutor/*.inf

	mv "${ED}"/usr/share/{${PN}/manual,doc/${PF}/html} || die
	rmdir "${ED}"/usr/share/inform/{include,module} || die
	rm "${ED}"/usr/share/inform/6.33b2/include/SmartCantGo.h || die #723062
}