summaryrefslogtreecommitdiff
blob: 1528d7f92073fd4edacdafe3108672bd0040968e (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
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

EAPI="2"

inherit eutils

DESCRIPTION="Programmable troff translator"

HOMEPAGE="http://www-rn.informatik.uni-bremen.de/software/unroff/"
SRC_URI="http://www-rn.informatik.uni-bremen.de/software/unroff/dist/${P}.tar.gz"

LICENSE="unroff"
SLOT="0"
KEYWORDS=""
IUSE=""

RDEPEND="dev-scheme/elk"
DEPEND="${RDEPEND}"

S="${WORKDIR}/${P}/src"

src_prepare() {
	epatch "${FILESDIR}"/${PN}-1.0-compile.patch
}

src_install() {
	cd "${WORKDIR}"/${P}

	insinto /usr/share/${PN}/
	doins -r scm || die 'doins failed'

	doman doc/*.1 || die 'doman failed'

	dobin src/${PN} || die 'dobin failed'
}