aboutsummaryrefslogtreecommitdiff
blob: 77738a4f9958c7571450c5349274f0831ee0c61f (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-2011 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="~x86 ~amd64"
IUSE=""

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

RDEPEND=""

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