summaryrefslogtreecommitdiff
blob: 1eae4565472291a78e8080c974cc25fc01b5e3f5 (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
32
33
34
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/inform/inform-6.30.2.ebuild,v 1.3 2008/01/29 21:20:41 grobian Exp $

inherit versionator

DESCRIPTION="design system for interactive fiction"
HOMEPAGE="http://www.inform-fiction.org/"
SRC_URI="http://mirror.ifarchive.org/if-archive/infocom/compilers/inform6/source/${P}.tar.gz"

LICENSE="Inform"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
IUSE=""

DEPEND=""

src_install() {
	make DESTDIR="${D}" install || die "Install failed!"

	dodoc AUTHORS NEWS README VERSION

	docinto tutorial
	dodoc tutor/README tutor/*.txt tutor/*.inf

	# correct the placement of a few things
	mv ${D}/usr/share/${PN}/manual ${D}/usr/share/doc/${PF}/html

	# fix the symlink foo
	dosym /usr/bin/inform-$(get_version_component_range 1-2) /usr/bin/inform

	# symlinks for libraries
	rmdir ${D}/usr/share/inform/{include,module}
}