aboutsummaryrefslogtreecommitdiff
blob: 1ea3eed164f6af2d8831ee2d53076430843fd827 (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
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI="3"

inherit base mercurial

EHG_REPO_URI="https://csg-manual.votca.googlecode.com/hg"
EHG_REVISION="default"
S="${WORKDIR}/${EHG_REPO_URI##*/}"

DESCRIPTION="Manual for votca-csg"
HOMEPAGE="http://www.votca.org"

LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-macos"
IUSE=""

DEPEND="
	|| (
		(
			=sci-chemistry/${PN%-manual}-${PV}[extras]
			=sci-chemistry/${PN%-manual}apps-${PV}
		)
		=sci-chemistry/${PN%-manual}-${PV}[-extras]
	)
	dev-texlive/texlive-latexextra
	virtual/latex-base
	dev-tex/pgf"

RDEPEND=""

src_install() {
	insinto /usr/share/doc/${PN%-manual}-${PV}
	newins manual.pdf manual-${PV}.pdf || die
}