summaryrefslogtreecommitdiff
blob: ac7b5147b86196d9750088c8f7cbde4017bef850 (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
39
40
41
42
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit latex-package


DESCRIPTION="This package enables to generate multilingual bibliographies in cooperation with babel."
HOMEPAGE="http://tug.ctan.org/tex-archive/biblio/bibtex/contrib/babelbib/"
#As it seems that CTAN has no versioned packages I mirrored it on my private webspace
SRC_URI="http://www.rennings.net/gentoo/distfiles/${P}.zip"

LICENSE="LPPL-1.3b"
SLOT="0"
KEYWORDS="~x86"
IUSE=""

S=${WORKDIR}/${PN}


src_compile() {

	emake || die "emake failed"
}

src_install() {

	latex-package_src_doinstall sty
	latex-package_src_doinstall bst
	latex-package_src_doinstall bdf

	insinto ${TEXMF}/tex/latex/${PN}
	for i in $(find . -maxdepth 1 -type f -name "*.bdf")
	do
		doins $i || die "doins $i failed"
	done

	dodoc README ChangeLog babelbibtest.tex babelbibtest.bib

	insinto /usr/share/doc/${PF}
		doins *.pdf
}