summaryrefslogtreecommitdiff
blob: a5682db278a92c3aaea31b662aeefe09117a191b (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-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/srf/srf-1.0-r1.ebuild,v 1.1 2011/10/10 02:21:36 araujo Exp $

EAPI="3"

DESCRIPTION="The Simple Recursive Functions programming language"
HOMEPAGE="http://www.stratigery.com/srf.html"
SRC_URI="http://www.stratigery.com/srf.html/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~x86-linux ~ppc-macos ~amd64"
IUSE=""

DEPEND="sys-devel/flex
	|| ( sys-devel/bison dev-util/yacc dev-util/byacc )"
RDEPEND=""

src_prepare() {
	# Remove CVS directory Bug#371821
	rm -rf examples/CVS || die "removing CVS directory failed"
}

src_install() {
	dobin srf rfunc/rfunc || die "cannot instal binary"
	doman srf.1 || die "cannot install man page"
	dodoc srf.html README || die "cannot install docs"
	docinto examples
	dodoc examples/* || die "cannot install examples"
}