From 976d1ca7374f4dac118b23f08c8948638e19a133 Mon Sep 17 00:00:00 2001 From: krion Date: Mon, 26 Jan 2004 13:33:37 +0000 Subject: Add latex-feynmf 1.08.19961202, feynmf is 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. PR: ports/61921 Submitted by: hrs@FreeBSD.org --- print/Makefile | 1 + print/latex-feynmf/Makefile | 78 ++++++++++++++++++++++++++++++++ print/latex-feynmf/distinfo | 16 +++++++ print/latex-feynmf/files/patch-feynmf.pl | 11 +++++ print/latex-feynmf/pkg-descr | 5 ++ print/latex-feynmf/pkg-plist | 26 +++++++++++ 6 files changed, 137 insertions(+) create mode 100644 print/latex-feynmf/Makefile create mode 100644 print/latex-feynmf/distinfo create mode 100644 print/latex-feynmf/files/patch-feynmf.pl create mode 100644 print/latex-feynmf/pkg-descr create mode 100644 print/latex-feynmf/pkg-plist (limited to 'print') diff --git a/print/Makefile b/print/Makefile index 565f45a4c88..64ae512c344 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 00000000000..b2b6a528f62 --- /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 diff --git a/print/latex-feynmf/distinfo b/print/latex-feynmf/distinfo new file mode 100644 index 00000000000..d36917c3ac5 --- /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 00000000000..23905d961be --- /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 (); ++ close (LOG); + } + } + } diff --git a/print/latex-feynmf/pkg-descr b/print/latex-feynmf/pkg-descr new file mode 100644 index 00000000000..520823b32d0 --- /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 00000000000..d17c61b7a56 --- /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%% -- cgit