Gentoo Archives: gentoo-commits

From: "Ulrich Mueller (ulm)" <ulm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-tex/feynmf: ChangeLog feynmf-1.08-r3.ebuild
Date: Mon, 01 Sep 2008 08:31:59
Message-Id: E1Ka4pI-0006XO-Na@stork.gentoo.org
1 ulm 08/09/01 08:31:56
2
3 Modified: ChangeLog
4 Added: feynmf-1.08-r3.ebuild
5 Log:
6 Redefine VARTEXFONTS instead of using addwrite for font cache, bug 221921. Change installation dir from texmf to texmf-site.
7 (Portage version: 2.2_rc8/cvs/Linux 2.6.26-gentoo-r1 i686)
8
9 Revision Changes Path
10 1.25 dev-tex/feynmf/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-tex/feynmf/ChangeLog?rev=1.25&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-tex/feynmf/ChangeLog?rev=1.25&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-tex/feynmf/ChangeLog?r1=1.24&r2=1.25
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-tex/feynmf/ChangeLog,v
19 retrieving revision 1.24
20 retrieving revision 1.25
21 diff -u -r1.24 -r1.25
22 --- ChangeLog 12 May 2008 20:21:12 -0000 1.24
23 +++ ChangeLog 1 Sep 2008 08:31:56 -0000 1.25
24 @@ -1,6 +1,12 @@
25 # ChangeLog for dev-tex/feynmf
26 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-tex/feynmf/ChangeLog,v 1.24 2008/05/12 20:21:12 nixnut Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-tex/feynmf/ChangeLog,v 1.25 2008/09/01 08:31:56 ulm Exp $
29 +
30 +*feynmf-1.08-r3 (01 Sep 2008)
31 +
32 + 01 Sep 2008; Ulrich Mueller <ulm@g.o> +feynmf-1.08-r3.ebuild:
33 + Redefine VARTEXFONTS instead of using addwrite for font cache, bug 221921.
34 + Change installation dir from texmf to texmf-site.
35
36 12 May 2008; nixnut <nixnut@g.o> feynmf-1.08-r2.ebuild:
37 Stable on ppc wrt bug 220651
38
39
40
41 1.1 dev-tex/feynmf/feynmf-1.08-r3.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-tex/feynmf/feynmf-1.08-r3.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-tex/feynmf/feynmf-1.08-r3.ebuild?rev=1.1&content-type=text/plain
45
46 Index: feynmf-1.08-r3.ebuild
47 ===================================================================
48 # Copyright 1999-2008 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/dev-tex/feynmf/feynmf-1.08-r3.ebuild,v 1.1 2008/09/01 08:31:56 ulm Exp $
51
52 inherit eutils latex-package
53
54 DESCRIPTION="Combined LaTeX/Metafont package for drawing of Feynman diagrams"
55 HOMEPAGE="http://www.ctan.org/tex-archive/macros/latex/contrib/feynmf/"
56 #Taken from: ftp.tug.ctan.org/tex-archive/macros/latex/contrib/${PN}.tar.gz
57 SRC_URI="mirror://gentoo/${P}.tar.gz
58 doc? ( mirror://gentoo/${PN}-cnl.tar.gz )"
59
60 LICENSE="GPL-2"
61 SLOT="0"
62 KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
63 IUSE="doc"
64
65 DEPEND="|| ( dev-texlive/texlive-metapost virtual/tetex )"
66 RDEPEND="${DEPEND}"
67
68 S="${WORKDIR}/${PN}"
69 TEXMF="/usr/share/texmf-site"
70
71 src_unpack() {
72 unpack ${A}
73 epatch "${FILESDIR}/${P}.patch"
74 epatch "${FILESDIR}/${P}-tempfile.patch"
75 }
76
77 src_compile() {
78 export VARTEXFONTS="${T}"/fonts
79 emake MP=mpost all manual.ps || die "emake failed"
80 if use doc; then
81 emake -f Makefile.cnl ps || die "emake fmfcnl failed"
82 fi
83 }
84
85 src_install() {
86 newbin feynmf.pl feynmf
87 doman feynmf.1
88 insinto ${TEXMF}/tex/latex/${PN}; doins feynmf.sty feynmp.sty
89 insinto ${TEXMF}/metafont/${PN}; doins feynmf.mf
90 insinto ${TEXMF}/metapost/${PN}; doins feynmp.mp
91 dodoc README manual.ps template.tex
92 use doc && dodoc fmfcnl*.ps
93 }