summaryrefslogtreecommitdiff
path: root/dev-lang/bas/bas-2.6-r1.ebuild
blob: c2350ef50fd4e72f56d7ea1ce9e196673ffd8a03 (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
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit autotools toolchain-funcs

DESCRIPTION="An interpreter for the classic dialect of the programming language BASIC"
HOMEPAGE="http://www.moria.de/~michael/bas/"
SRC_URI="http://www.moria.de/~michael/bas/${P}.tar.gz"

LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc64 ~riscv ~x86"

RDEPEND="
	sys-libs/ncurses:=
	virtual/libintl
"
DEPEND="
	${RDEPEND}
"
BDEPEND="
	app-alternatives/lex
	sys-devel/gettext
"

PATCHES=( "${FILESDIR}/${PN}-2.1-makefile.patch" )

src_prepare() {
	default

	eautoconf
}

src_configure() {
	tc-export AR

	econf
}

src_install() {
	default

	docinto pdf
	dodoc ./bas.pdf
}