diff options
author | Andreas K. Hüttel <dilfridge@gentoo.org> | 2010-10-02 17:37:33 +0000 |
---|---|---|
committer | Andreas K. Hüttel <dilfridge@gentoo.org> | 2010-10-02 17:37:33 +0000 |
commit | 4d07f1000c31b1c8faa277eabbe566094b617cce (patch) | |
tree | 134a980c2a64d0911132d31c7359cb480815fb07 /dev-tex/revtex | |
parent | alpha/arm/ia64/m68k/s390/sh/sparc stable wrt #336693 (diff) | |
download | gentoo-2-4d07f1000c31b1c8faa277eabbe566094b617cce.tar.gz gentoo-2-4d07f1000c31b1c8faa277eabbe566094b617cce.tar.bz2 gentoo-2-4d07f1000c31b1c8faa277eabbe566094b617cce.zip |
New package for up-to-date revtex4
(Portage version: 2.1.9.13/cvs/Linux x86_64)
Diffstat (limited to 'dev-tex/revtex')
-rw-r--r-- | dev-tex/revtex/ChangeLog | 10 | ||||
-rw-r--r-- | dev-tex/revtex/metadata.xml | 7 | ||||
-rw-r--r-- | dev-tex/revtex/revtex-4.1_p2-r1.ebuild | 43 |
3 files changed, 60 insertions, 0 deletions
diff --git a/dev-tex/revtex/ChangeLog b/dev-tex/revtex/ChangeLog new file mode 100644 index 000000000000..efaafa79ed94 --- /dev/null +++ b/dev-tex/revtex/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for dev-tex/revtex +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-tex/revtex/ChangeLog,v 1.1 2010/10/02 17:37:33 dilfridge Exp $ + +*revtex-4.1_p2-r1 (02 Oct 2010) + + 02 Oct 2010; Andreas K. Huettel <dilfridge@gentoo.org> + +revtex-4.1_p2-r1.ebuild, +metadata.xml: + New package for up-to-date revtex4 + diff --git a/dev-tex/revtex/metadata.xml b/dev-tex/revtex/metadata.xml new file mode 100644 index 000000000000..64ebb139fe48 --- /dev/null +++ b/dev-tex/revtex/metadata.xml @@ -0,0 +1,7 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>tex</herd> +<herd>sci</herd> +<maintainer><email>dilfridge@gentoo.org</email></maintainer> +</pkgmetadata> 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..edf617ae0517 --- /dev/null +++ b/dev-tex/revtex/revtex-4.1_p2-r1.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-tex/revtex/revtex-4.1_p2-r1.ebuild,v 1.1 2010/10/02 17:37:33 dilfridge Exp $ + +EAPI=2 + +inherit versionator latex-package + +MY_P="${PN}$(version_format_string '$1-$2')" + +DESCRIPTION="LaTeX2e macros for journals of the American Physical Society and the American Institute of Physics" +HOMEPAGE="http://authors.aps.org/revtex4/" + +SRC_URI="http://authors.aps.org/revtex4/${MY_P}.zip -> ${P}.zip" + +LICENSE="LPPL-1.3c" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=">=dev-tex/natbib-8.31a" +DEPEND="app-arch/unzip" + +IUSE="" + +S="${WORKDIR}/${MY_P}" + +TEXMF=/usr/share/texmf-site + +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 +} |