blob: 61697c29edee2440516916a8348ee9968af751a7 (
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-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
DESCRIPTION="Automating Software Documentation"
HOMEPAGE="http://www.xs4all.nl/~rfsber/Robo/robodoc.html"
SRC_URI="http://www.xs4all.nl/~rfsber/Robo/DistSource/${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="examples"
RDEPEND=">=dev-util/ctags-5.3.1"
DEPEND="${RDEPEND}"
src_configure() {
econf \
--docdir=/usr/share/doc/${PF} \
--disable-dependency-tracking
}
src_install() {
emake DESTDIR="${D}" install || die "emake install failed"
insinto /usr/share/${PN}
doins Contributions/* || die "doins failed"
rm -f "${D}"/usr/share/doc/${PF}/{COPYING,INSTALL}
if use examples; then
insinto /usr/share/${PN}
doins -r Examples/PerlExample || die "doins failed"
fi
}
|