blob: 0f885ce66dc1d59bcba7d845cbce895816decccf (
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=5
inherit eutils
MY_P=ocs-${PV}
DESCRIPTION="OPAL functional programming language"
HOMEPAGE="http://uebb.cs.tu-berlin.de/~opal/"
SRC_URI="http://projects.uebb.tu-berlin.de/opal/trac/raw-attachment/wiki/OCS/${MY_P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~sparc ~x86"
IUSE="X doc +tk +tcl"
DEPEND="
>=sys-libs/ncurses-5.4-r5
>=sys-libs/readline-4.3-r5
=dev-lang/tcl-8.5*
=dev-lang/tk-8.5*
"
S="${WORKDIR}/${MY_P}"
src_configure() {
econf \
$(use_enable doc) \
$(use_enable doc dosfop) \
--enable-opalwin \
--enable-oasys \
--enable-dynamic \
--disable-absolute-pathes \
--prefix="${D}/usr"
}
src_compile() {
:
}
src_install() {
# chmod: /var <-- Prevent access violation
addpredict /var
mkdir -p "${D}/usr/" || die
emake -j1 install
# Fix man folder location
if [[ -d "${D}"/usr/man/ ]]; then
dodir /usr/share/
mv "${D}"/usr/{,share/}man/ || die
fi
}
|