| 1 |
# Copyright 1999-2012 Gentoo Foundation
|
| 2 |
# Distributed under the terms of the GNU General Public License v2
|
| 3 |
# $Header: $
|
| 4 |
|
| 5 |
EAPI=4
|
| 6 |
|
| 7 |
inherit bash-completion-r1
|
| 8 |
|
| 9 |
DESCRIPTION="Perl script for automatically building LaTeX documents."
|
| 10 |
HOMEPAGE="http://www.phys.psu.edu/~collins/software/latexmk/"
|
| 11 |
SRC_URI="http://www.phys.psu.edu/~collins/software/latexmk/${P}.zip"
|
| 12 |
|
| 13 |
LICENSE="GPL-2"
|
| 14 |
SLOT="0"
|
| 15 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos"
|
| 16 |
IUSE=""
|
| 17 |
|
| 18 |
RDEPEND="virtual/latex-base
|
| 19 |
dev-lang/perl"
|
| 20 |
DEPEND="${RDEPEND}
|
| 21 |
app-arch/unzip"
|
| 22 |
|
| 23 |
S=${WORKDIR}
|
| 24 |
|
| 25 |
src_install() {
|
| 26 |
newbin latexmk.pl latexmk
|
| 27 |
doman latexmk.1
|
| 28 |
dodoc CHANGES README latexmk.pdf latexmk.ps latexmk.txt
|
| 29 |
dodoc -r example_rcfiles extra-scripts
|
| 30 |
newbashcomp "${FILESDIR}"/completion.bash-2 ${PN}
|
| 31 |
}
|