diff options
Diffstat (limited to 'dev-tex/revtex/revtex-4.1_p2-r1.ebuild')
-rw-r--r-- | dev-tex/revtex/revtex-4.1_p2-r1.ebuild | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/dev-tex/revtex/revtex-4.1_p2-r1.ebuild b/dev-tex/revtex/revtex-4.1_p2-r1.ebuild new file mode 100644 index 000000000000..7c1b8b11ebb7 --- /dev/null +++ b/dev-tex/revtex/revtex-4.1_p2-r1.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=2 + +inherit versionator latex-package + +MY_P="${PN}$(version_format_string '$1-$2')" + +DESCRIPTION="LaTeX2e macros to prepare manuscripts for the journals of the APS and AIP" +HOMEPAGE="https://journals.aps.org/revtex" +SRC_URI="http://authors.aps.org/revtex4/${MY_P}.zip -> ${P}.zip" + +LICENSE="LPPL-1.3c" +SLOT="0" +KEYWORDS="amd64 x86" + +RDEPEND=">=dev-texlive/texlive-latex-2012" +DEPEND="app-arch/unzip" + +IUSE="doc" + +S="${WORKDIR}/${MY_P}" + +TEXMF=/usr/share/texmf-site +# Bug #574350 +LATEX_PACKAGE_SKIP="reftest4-1.tex 00readme.tex aip.dtx ltxgrid.dtx ltxdocext.dtx" + +src_unpack() { + default + cd "${S}" + unzip -o -j "${S}/${MY_P}-tds.zip" +} + +src_install() { + latex-package_src_install + + # we need the revtex-specific rtx files in the same dir as the class files + insinto ${TEXMF}/tex/latex/${PN} + for i in `find . -maxdepth 1 -type f -name "*.rtx"` ; do + doins $i || die "doins $i failed" + done +} |