aboutsummaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2004-01-26 13:33:37 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2004-01-26 13:33:37 +0000
commit6134cf0145fe05d1be5d8efe9facdcd99697a288 (patch)
tree0eafa83da036e86911743529e543d3bf3b02ce95 /print
parent19fbd25bdc57ee011c2d2bced043d3bf296d5900 (diff)
downloadports-6134cf0145fe05d1be5d8efe9facdcd99697a288.tar.gz
ports-6134cf0145fe05d1be5d8efe9facdcd99697a288.zip
Notes
Diffstat (limited to 'print')
-rw-r--r--print/Makefile1
-rw-r--r--print/latex-feynmf/Makefile78
-rw-r--r--print/latex-feynmf/distinfo16
-rw-r--r--print/latex-feynmf/files/patch-feynmf.pl11
-rw-r--r--print/latex-feynmf/pkg-descr5
-rw-r--r--print/latex-feynmf/pkg-plist26
6 files changed, 137 insertions, 0 deletions
diff --git a/print/Makefile b/print/Makefile
index 565f45a4c88a..64ae512c3441 100644
--- a/print/Makefile
+++ b/print/Makefile
@@ -94,6 +94,7 @@
SUBDIR += latex
SUBDIR += latex-beamer
SUBDIR += latex-caption
+ SUBDIR += latex-feynmf
SUBDIR += latex-keystroke
SUBDIR += latex-layouts
SUBDIR += latex-mathabx
diff --git a/print/latex-feynmf/Makefile b/print/latex-feynmf/Makefile
new file mode 100644
index 000000000000..b2b6a528f62e
--- /dev/null
+++ b/print/latex-feynmf/Makefile
@@ -0,0 +1,78 @@
+# New ports collection makefile for: latex-feynmf
+# Date created: 24 Jan 2004
+# Whom: hrs@FreeBSD.org
+#
+# $FreeBSD$
+
+PORTNAME= latex-feynmf
+PORTVERSION= 1.08.19961202
+CATEGORIES= print
+MASTER_SITES= ${MASTER_SITE_TEX_CTAN}
+MASTER_SITE_SUBDIR= macros/latex/contrib/feynmf
+DISTFILES= ${DOC_FILES} Makefile feynmf.pl \
+ feynmf.dtx feynmf.ins feynmf209.ins \
+ manpics.1 manpics.2 manpics.3 manpics.mp
+DIST_SUBDIR= ${PORTNAME}
+EXTRACT_ONLY= #empty
+
+MAINTAINER= hrs@FreeBSD.org
+COMMENT= A LaTeX package for drawing of Feynman diagrams
+
+BUILD_DEPENDS= mktexlsr:${PORTSDIR}/print/teTeX
+BUILD_DEPENDS+= ${TEXMFLOCAL_LSR}:${PORTSDIR}/print/tex-texmflocal
+BUILD_DEPENDS+= tex:${PORTSDIR}/print/teTeX
+RUN_DEPENDS= latex:${PORTSDIR}/print/teTeX
+
+PLIST_SUB= TEXMFLOCAL=${TEXMFLOCAL} MKTEXLSR=${MKTEXLSR}
+PLIST_SUB+= CLASSDIR=${CLASSDIR} FONTDIR=${FONTDIR} MPDIR=${MPDIR}
+
+TEXMFLOCAL= share/texmf-local
+TEXMFLOCAL_LSR= ${LOCALBASE}/${TEXMFLOCAL}/ls-R
+MKTEXLSR= ${LOCALBASE}/bin/mktexlsr
+TEX_BIN= ${LOCALBASE}/bin/tex
+CLASSDIR= ${TEXMFLOCAL}/tex/latex/${PORTNAME:S/^latex-//}
+FONTDIR= ${TEXMFLOCAL}/fonts/source/public/${PORTNAME:S/^latex-//}
+MPDIR= ${TEXMFLOCAL}/metapost/${PORTNAME:S/^latex-//}
+
+DOC_FILES= Announce
+DOC_FILES+= COPYING
+DOC_FILES+= Feynman.Diagrams
+DOC_FILES+= README
+DOC_FILES+= Tutorial
+DOC_FILES+= manual.ps.gz
+DOC_FILES+= template.tex
+
+CLASS_FILES= feynmf.dtx
+CLASS_FILES+= feynmf.ins feynmf209.ins
+CLASS_FILES+= feynmf.sty feynmp.sty
+
+SCRIPT_FILES= feynmf.pl
+
+FONT_FILES= feynmf.mf
+MP_FILES+= feynmp.mp manpics.mp manpics.1 manpics.2 manpics.3
+
+do-extract:
+ ${MKDIR} ${WRKSRC}
+ cd ${DISTDIR}/${DIST_SUBDIR} && ${CP} ${DISTFILES} ${WRKSRC}
+
+do-build:
+ cd ${WRKSRC} && ${TEX_BIN} feynmf.ins
+
+do-install:
+ ${MKDIR} ${PREFIX}/${CLASSDIR}
+ ${INSTALL_DATA} ${CLASS_FILES:S@^@${WRKSRC}/@} ${PREFIX}/${CLASSDIR}
+ ${MKDIR} ${PREFIX}/${FONTDIR}
+ ${INSTALL_DATA} ${FONT_FILES:S@^@${WRKSRC}/@} ${PREFIX}/${FONTDIR}
+ ${MKDIR} ${PREFIX}/${MPDIR}
+ ${INSTALL_DATA} ${MP_FILES:S@^@${WRKSRC}/@} ${PREFIX}/${MPDIR}
+ ${MKDIR} ${PREFIX}/bin
+ ${INSTALL_SCRIPT} ${SCRIPT_FILES:S@^@${WRKSRC}/@} ${PREFIX}/bin
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${DOC_FILES:S@^@${WRKSRC}/@} ${DOCSDIR}
+.endif
+
+post-install:
+ ${MKTEXLSR}
+
+.include <bsd.port.mk>
diff --git a/print/latex-feynmf/distinfo b/print/latex-feynmf/distinfo
new file mode 100644
index 000000000000..d36917c3ac53
--- /dev/null
+++ b/print/latex-feynmf/distinfo
@@ -0,0 +1,16 @@
+MD5 (latex-feynmf/Announce) = 252dd5fabb12b1a4259b3ed2cb300c48
+MD5 (latex-feynmf/COPYING) = 18810669f13b87348459e611d31ab760
+MD5 (latex-feynmf/Feynman.Diagrams) = e791e20f9736fd881db54258941d9236
+MD5 (latex-feynmf/README) = 8298169da9120a8f9bd296ae44b6147a
+MD5 (latex-feynmf/Tutorial) = e5cb5f45b28e50f59ffa4f98883d11e9
+MD5 (latex-feynmf/manual.ps.gz) = 779acfdf5076bbbc258daca69fad9092
+MD5 (latex-feynmf/template.tex) = 7270a56d197a5d895c2874fc4acb38fb
+MD5 (latex-feynmf/Makefile) = 89832cb951e22a0eba443e5880f34db0
+MD5 (latex-feynmf/feynmf.pl) = 7213c442ad9297dee910d8c6c8a0dd96
+MD5 (latex-feynmf/feynmf.dtx) = 216ccf3d1e30be5f4fa83cd52705d202
+MD5 (latex-feynmf/feynmf.ins) = e8117f7dd56bae45a78a01142fac29d9
+MD5 (latex-feynmf/feynmf209.ins) = 018e229c8f9a5edf889a4de83236cb45
+MD5 (latex-feynmf/manpics.1) = 93878ad8439baa25ccbc8d37f65b795f
+MD5 (latex-feynmf/manpics.2) = 02ef21fad973b0aa7b79d98775874442
+MD5 (latex-feynmf/manpics.3) = 1ddecd648df99344ac002c276a678cf3
+MD5 (latex-feynmf/manpics.mp) = 0312e5f557aa973fff7e7c405f2ee029
diff --git a/print/latex-feynmf/files/patch-feynmf.pl b/print/latex-feynmf/files/patch-feynmf.pl
new file mode 100644
index 000000000000..23905d961bec
--- /dev/null
+++ b/print/latex-feynmf/files/patch-feynmf.pl
@@ -0,0 +1,11 @@
+--- feynmf.pl Mon Jan 26 03:58:28 2004
++++ feynmf.pl Mon Jan 26 03:58:57 2004
+@@ -373,7 +373,7 @@
+ maybe_run "$gftopk_prog $gf" if $gftopk_prog;
+ }
+ }
+- close (<LOG>);
++ close (LOG);
+ }
+ }
+ }
diff --git a/print/latex-feynmf/pkg-descr b/print/latex-feynmf/pkg-descr
new file mode 100644
index 000000000000..520823b32d08
--- /dev/null
+++ b/print/latex-feynmf/pkg-descr
@@ -0,0 +1,5 @@
+This is feynmf, a combined LaTeX/Metafont package for easy drawing
+of professional quality Feynman diagrams. feynmf lays out most
+diagrams satisfactorily from the structure of the graph without
+any need for manual intervention. Nevertheless all the power of
+Metafont is available for more obscure cases.
diff --git a/print/latex-feynmf/pkg-plist b/print/latex-feynmf/pkg-plist
new file mode 100644
index 000000000000..d17c61b7a562
--- /dev/null
+++ b/print/latex-feynmf/pkg-plist
@@ -0,0 +1,26 @@
+@comment $FreeBSD$
+bin/feynmf.pl
+%%PORTDOCS%%%%DOCSDIR%%/Announce
+%%PORTDOCS%%%%DOCSDIR%%/COPYING
+%%PORTDOCS%%%%DOCSDIR%%/Feynman.Diagrams
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%%%DOCSDIR%%/Tutorial
+%%PORTDOCS%%%%DOCSDIR%%/manual.ps.gz
+%%PORTDOCS%%%%DOCSDIR%%/template.tex
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
+%%CLASSDIR%%/feynmf.dtx
+%%CLASSDIR%%/feynmf.ins
+%%CLASSDIR%%/feynmf209.ins
+%%CLASSDIR%%/feynmf.sty
+%%CLASSDIR%%/feynmp.sty
+@dirrm %%CLASSDIR%%
+%%FONTDIR%%/feynmf.mf
+@dirrm %%FONTDIR%%
+%%MPDIR%%/feynmp.mp
+%%MPDIR%%/manpics.mp
+%%MPDIR%%/manpics.1
+%%MPDIR%%/manpics.2
+%%MPDIR%%/manpics.3
+@dirrm %%MPDIR%%
+@exec %%MKTEXLSR%%
+@unexec %%MKTEXLSR%%