summaryrefslogtreecommitdiff
path: root/dev-tex/revtex
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2019-02-16 12:59:29 +0000
committerV3n3RiX <venerix@redcorelinux.org>2019-02-16 12:59:29 +0000
commit79599515788b85b18aa655e7b7f8cc05c1bbddd8 (patch)
treeade7cb031f363fad64c77139dea7aa3d81908537 /dev-tex/revtex
parent6bc2e4d7c5906e46a8f275a876ead6ec41aca5bb (diff)
gentoo resync : 16.02.1018
Diffstat (limited to 'dev-tex/revtex')
-rw-r--r--dev-tex/revtex/Manifest3
-rw-r--r--dev-tex/revtex/metadata.xml13
-rw-r--r--dev-tex/revtex/revtex-4.2c.ebuild62
3 files changed, 78 insertions, 0 deletions
diff --git a/dev-tex/revtex/Manifest b/dev-tex/revtex/Manifest
new file mode 100644
index 000000000000..2acd67111852
--- /dev/null
+++ b/dev-tex/revtex/Manifest
@@ -0,0 +1,3 @@
+DIST revtex-4.2c.zip 3258548 BLAKE2B 8a457594c22dfee9becd18d2c26c0182d8eee51d549a85c5bc4ddaf122a1a06b835ca1f31a61de1bf194e4aeac7dafd25f9bf120c786356b773130f036de67e7 SHA512 9cb8287de61a49a35b18f6873ac3007eea3373c4836edd696d04d49ece297727d9aae614a6ba0f2aa03d5cf2430a2f02f674d342a092f1acb862b8ffdbf5cea9
+EBUILD revtex-4.2c.ebuild 1231 BLAKE2B 3d6d6875d77d5ee51d7c5ad8c4cff5a8213ed4e2fc6dd1452458484d55d4b83b2a6cf870f6f6b83e9b5cb75af43a07171b6cb4ff5796a0c141ad91317663675d SHA512 8d40a0f9cdfb7792c5ab10d49b3df650160da15588f36614fee0759da21a07623819b0f6a6f99b5838d8ce69240a6548d0213013ed5bf42dcfe1c04af4c9c27c
+MISC metadata.xml 426 BLAKE2B b7bbaadff70097886d660994d254a869b6f1ee8e8f331234e7756986c17e3f9e0c7392f0d99974ee75a483d5e1bb803ea8537843b0f68fb5852fdf86e46c76e1 SHA512 7e262c95822febb3edbcbeae5789302be3119ae7d216a539546abf8c36041f38ddf6bb0540df51ef12aa9b1604fe996e9a9d7ecd0414e1944739acc1d777872f
diff --git a/dev-tex/revtex/metadata.xml b/dev-tex/revtex/metadata.xml
new file mode 100644
index 000000000000..7a7c477125c3
--- /dev/null
+++ b/dev-tex/revtex/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="person"><email>dilfridge@gentoo.org</email></maintainer>
+<maintainer type="project">
+<email>tex@gentoo.org</email>
+<name>Gentoo TeX Project</name>
+</maintainer>
+<maintainer type="project">
+<email>sci@gentoo.org</email>
+<name>Gentoo Science Project</name>
+</maintainer>
+</pkgmetadata>
diff --git a/dev-tex/revtex/revtex-4.2c.ebuild b/dev-tex/revtex/revtex-4.2c.ebuild
new file mode 100644
index 000000000000..5d279a81d34f
--- /dev/null
+++ b/dev-tex/revtex/revtex-4.2c.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit latex-package
+
+DESCRIPTION="LaTeX2e macros to prepare manuscripts for the journals of the APS and AIP"
+HOMEPAGE="https://journals.aps.org/revtex"
+SRC_URI="http://mirrors.ctan.org/macros/latex/contrib/revtex.zip -> ${P}.zip"
+
+LICENSE="LPPL-1.3c"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND=">=dev-texlive/texlive-latex-2012"
+DEPEND="${RDEPEND}
+ app-arch/unzip
+"
+
+IUSE="doc"
+
+S="${WORKDIR}/${PN}"
+
+TEXMF=/usr/share/texmf-site
+
+src_prepare(){
+ default
+ find "${S}" -name '*4-1*' -delete || die
+ find "${S}" -name reftest4-2.tex -delete || die
+}
+
+src_compile(){
+ cd "${S}/source" || die
+
+ for name in *.dtx; do
+ tex $name || die
+ done
+ latex-package_src_compile
+
+ cd "${S}/bibtex" || die
+ latex-package_src_compile
+}
+
+src_install() {
+ cd "${S}/source"
+
+ use doc && rm -f aip.dtx # fails to build docs
+
+ 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
+ done
+
+ cd "${S}/bibtex" || die
+ latex-package_src_install
+
+ find "${D}" -name aip4-1.rtx -delete || die
+}