You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/app-text/robodoc/robodoc-4.99.36.ebuild

38 lines
824 B

# 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
}