summaryrefslogtreecommitdiff
blob: f67ab7683f598db2bf6abc8e12c20c36e1a7248f (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
43
44
45
46
47
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI=2

inherit latex-package

MY_P="FrutigerNext-PostScriptType1"

DESCRIPTION="LaTeX2e macros for the Uni Regensburg Corporate Design"
HOMEPAGE="http://www.physik.uni-regensburg.de/service/"

SRC_URI="http://www.uni-regensburg.de/verwaltung/medien/corporate-design/frutiger-la-tex.zip"

LICENSE="internal-use-only"
SLOT="0"
KEYWORDS="amd64 x86"

RDEPEND=""
DEPEND="app-arch/unzip"
IUSE=""

S="${WORKDIR}/${MY_P}"

RESTRICT="bindist mirror primaryuri"

src_unpack() {
	default
	cd "${S}" || die

	# flatten the directory structure
	mv -v afm/* . || die
	rmdir afm || die
	mv -v pfb/* . || die
	rmdir pfb || die

	unzip -o -j lf9.zip || die
	rm -f "UR_Anleitung zur Installation der Hausschrift unter LaTeX.pdf"
}

src_install() {
	latex-package_src_install

	rm -f manual/lf9.zip
	dohtml -r manual/*
}