summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-tex/feynmf/ChangeLog11
-rw-r--r--dev-tex/feynmf/Manifest3
-rw-r--r--dev-tex/feynmf/feynmf-1.08.ebuild35
-rw-r--r--dev-tex/feynmf/files/digest-feynmf-1.081
-rw-r--r--dev-tex/feynmf/files/feynmf-1.08.patch12
-rw-r--r--dev-tex/feynmf/metadata.xml5
6 files changed, 67 insertions, 0 deletions
diff --git a/dev-tex/feynmf/ChangeLog b/dev-tex/feynmf/ChangeLog
new file mode 100644
index 000000000000..4c7ce9c28401
--- /dev/null
+++ b/dev-tex/feynmf/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for dev-tex/feynmf
+# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-tex/feynmf/ChangeLog,v 1.1 2004/10/02 09:23:56 usata Exp $
+
+*feynmf-1.08 (02 Oct 2004)
+
+ 02 Oct 2004; Mamoru KOMACHI <usata@gentoo.org> +metadata.xml,
+ +files/feynmf-1.08.patch, +feynmf-1.08.ebuild:
+ Initial import. Ebuild submitted by Ulrich Mueller <ulm@kph.uni-mainz.de>,
+ closing bug #62800.
+
diff --git a/dev-tex/feynmf/Manifest b/dev-tex/feynmf/Manifest
new file mode 100644
index 000000000000..8a1dfe19ef86
--- /dev/null
+++ b/dev-tex/feynmf/Manifest
@@ -0,0 +1,3 @@
+MD5 465810bd09c26d568ae77705954354bb feynmf-1.08.ebuild 899
+MD5 ad6433d8aff8cdf752a4b226b8aa2e29 files/digest-feynmf-1.08 63
+MD5 9b2264341880e792b2134733e4f7fd90 files/feynmf-1.08.diff 305
diff --git a/dev-tex/feynmf/feynmf-1.08.ebuild b/dev-tex/feynmf/feynmf-1.08.ebuild
new file mode 100644
index 000000000000..c223db9b92af
--- /dev/null
+++ b/dev-tex/feynmf/feynmf-1.08.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-tex/feynmf/feynmf-1.08.ebuild,v 1.1 2004/10/02 09:23:56 usata Exp $
+
+inherit eutils latex-package
+
+DESCRIPTION="Combined LaTeX/Metafont package for drawing of Feynman diagrams"
+HOMEPAGE="http://www.ctan.org/tex-archive/macros/latex/contrib/feynmf/"
+#Taken from: ftp.tug.ctan.org/tex-archive/macros/latex/contrib/${PN}.tar.gz
+SRC_URI="mirror://gentoo/${P}.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+DEPEND="virtual/tetex"
+S=${WORKDIR}/${PN}
+
+src_unpack() {
+ unpack ${A}
+ epatch ${FILESDIR}/${P}.patch
+}
+
+src_compile() {
+ addwrite /var/cache/fonts
+ emake MP=mpost all manual.ps || die "emake failed"
+}
+
+src_install() {
+ newbin feynmf.pl feynmf
+ doman feynmf.1
+ insinto ${TEXMF}/tex/latex/${PN}; doins feynmf.sty feynmp.sty
+ insinto ${TEXMF}/metafont/${PN}; doins feynmf.mf
+ insinto ${TEXMF}/metapost/${PN}; doins feynmp.mp
+ dodoc README manual.ps template.tex
+}
diff --git a/dev-tex/feynmf/files/digest-feynmf-1.08 b/dev-tex/feynmf/files/digest-feynmf-1.08
new file mode 100644
index 000000000000..1095cae553ca
--- /dev/null
+++ b/dev-tex/feynmf/files/digest-feynmf-1.08
@@ -0,0 +1 @@
+MD5 689bb25c24cd7be7d625454cc16c26ec feynmf-1.08.tar.gz 286208
diff --git a/dev-tex/feynmf/files/feynmf-1.08.patch b/dev-tex/feynmf/files/feynmf-1.08.patch
new file mode 100644
index 000000000000..9695d26c26a1
--- /dev/null
+++ b/dev-tex/feynmf/files/feynmf-1.08.patch
@@ -0,0 +1,12 @@
+diff -Nur feynmf-orig/feynmf.pl feynmf/feynmf.pl
+--- feynmf-orig/feynmf.pl 1996-12-02 01:00:00.000000000 +0100
++++ feynmf/feynmf.pl 2004-09-02 23:25:40.603910119 +0200
+@@ -373,7 +373,7 @@
+ maybe_run "$gftopk_prog $gf" if $gftopk_prog;
+ }
+ }
+- close (<LOG>);
++ close (LOG);
+ }
+ }
+ }
diff --git a/dev-tex/feynmf/metadata.xml b/dev-tex/feynmf/metadata.xml
new file mode 100644
index 000000000000..06689a1a9114
--- /dev/null
+++ b/dev-tex/feynmf/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>text-markup</herd>
+</pkgmetadata>