summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--print/Makefile1
-rw-r--r--print/latex-mathabx/Makefile136
-rw-r--r--print/latex-mathabx/distinfo2
-rw-r--r--print/latex-mathabx/pkg-descr8
-rw-r--r--print/latex-mathabx/pkg-message10
-rw-r--r--print/latex-mathabx/pkg-plist87
6 files changed, 244 insertions, 0 deletions
diff --git a/print/Makefile b/print/Makefile
index c915997b48a0..cdb802ed3694 100644
--- a/print/Makefile
+++ b/print/Makefile
@@ -94,6 +94,7 @@
SUBDIR += latex
SUBDIR += latex-beamer
SUBDIR += latex-keystroke
+ SUBDIR += latex-mathabx
SUBDIR += latex-pgf
SUBDIR += latex-xcolor
SUBDIR += latex2rtf
diff --git a/print/latex-mathabx/Makefile b/print/latex-mathabx/Makefile
new file mode 100644
index 000000000000..9d17eea162ec
--- /dev/null
+++ b/print/latex-mathabx/Makefile
@@ -0,0 +1,136 @@
+# New ports collection makefile for: latex-mathabx
+# Date created: 24 Jan 2004
+# Whom: hrs@FreeBSD.org
+#
+# $FreeBSD$
+
+PORTNAME= latex-mathabx
+PORTVERSION= 1.0.20031201
+CATEGORIES= print
+MASTER_SITES= http://auemath.aichi-edu.ac.jp/~khotta/ghost/disk1/
+DISTFILES= mathabx${EXTRACT_SUFX} abxtype1${EXTRACT_SUFX}
+
+MAINTAINER= hrs@FreeBSD.org
+COMMENT= Math series, aka mathabx MetaFont fontset for TeX/LaTeX
+
+BUILD_DEPENDS= mktexlsr:${PORTSDIR}/print/teTeX
+RUN_DEPENDS= latex:${PORTSDIR}/print/teTeX
+
+USE_ZIP= YES
+NO_BUILD= YES
+PLIST_SUB= TEXMF=${TEXMF} MKTEXLSR=${MKTEXLSR}
+PLIST_SUB+= CLASSDIR=${CLASSDIR} MFDIR=${MFDIR}
+PLIST_SUB+= TYPE1DIR=${TYPE1DIR} DVIPSDIR=${DVIPSDIR}
+
+TEXMF= share/texmf
+MKTEXLSR= ${LOCALBASE}/bin/mktexlsr
+CLASSDIR= ${TEXMF}/tex/latex/${PORTNAME:S/^latex-//}
+MFDIR= ${TEXMF}/fonts/source/public/${PORTNAME:S/^latex-//}
+TYPE1DIR= ${TEXMF}/fonts/type1/${PORTNAME:S/^latex-//}
+DVIPSDIR= ${TEXMF}/dvips/${PORTNAME:S/^latex-//}
+WRKSRC= ${WRKDIR}/${PORTNAME:S/^latex-//}
+
+CLASS_FILES= mathabx.dcl
+CLASS_FILES+= mathabx.sty
+CLASS_FILES+= mathabx.tex
+CLASS_FILES+= testmac.tex
+
+MF_FILES= matha10.mf
+MF_FILES+= matha12.mf
+MF_FILES+= matha5.mf
+MF_FILES+= matha6.mf
+MF_FILES+= matha7.mf
+MF_FILES+= matha8.mf
+MF_FILES+= matha9.mf
+MF_FILES+= mathacnt.mf
+MF_FILES+= mathadrv.mf
+MF_FILES+= matharrw.mf
+MF_FILES+= mathastr.mf
+MF_FILES+= mathasym.mf
+MF_FILES+= mathb10.mf
+MF_FILES+= mathb12.mf
+MF_FILES+= mathb5.mf
+MF_FILES+= mathb6.mf
+MF_FILES+= mathb7.mf
+MF_FILES+= mathb8.mf
+MF_FILES+= mathb9.mf
+MF_FILES+= mathbase.mf
+MF_FILES+= mathbdel.mf
+MF_FILES+= mathbdrv.mf
+MF_FILES+= mathbigs.mf
+MF_FILES+= mathbsym.mf
+MF_FILES+= mathcall.mf
+MF_FILES+= mathextr.mf
+MF_FILES+= mathfine.mf
+MF_FILES+= mathgrey.mf
+MF_FILES+= mathhbrw.mf
+MF_FILES+= mathineq.mf
+MF_FILES+= mathltlk.mf
+MF_FILES+= mathmbcb.mf
+MF_FILES+= mathprmt.mf
+MF_FILES+= mathsmsy.mf
+MF_FILES+= mathsubs.mf
+MF_FILES+= mathsymb.mf
+MF_FILES+= matht10.mf
+MF_FILES+= mathu10.mf
+MF_FILES+= mathudrv.mf
+MF_FILES+= mathusym.mf
+MF_FILES+= mathux10.mf
+MF_FILES+= mathuxdrv.mf
+MF_FILES+= mathx10.mf
+MF_FILES+= mathx12.mf
+MF_FILES+= mathx5.mf
+MF_FILES+= mathx6.mf
+MF_FILES+= mathx7.mf
+MF_FILES+= mathx8.mf
+MF_FILES+= mathx9.mf
+MF_FILES+= mathxdrv.mf
+MF_FILES+= maydigit.mf
+
+TYPE1_FILES= matha10.pfb
+TYPE1_FILES+= matha12.pfb
+TYPE1_FILES+= matha5.pfb
+TYPE1_FILES+= matha6.pfb
+TYPE1_FILES+= matha7.pfb
+TYPE1_FILES+= matha8.pfb
+TYPE1_FILES+= matha9.pfb
+TYPE1_FILES+= mathb10.pfb
+TYPE1_FILES+= mathb12.pfb
+TYPE1_FILES+= mathb5.pfb
+TYPE1_FILES+= mathb6.pfb
+TYPE1_FILES+= mathb7.pfb
+TYPE1_FILES+= mathb8.pfb
+TYPE1_FILES+= mathb9.pfb
+TYPE1_FILES+= mathu10.pfb
+TYPE1_FILES+= mathux10.pfb
+TYPE1_FILES+= mathx10.pfb
+TYPE1_FILES+= mathx12.pfb
+TYPE1_FILES+= mathx5.pfb
+TYPE1_FILES+= mathx6.pfb
+TYPE1_FILES+= mathx7.pfb
+TYPE1_FILES+= mathx8.pfb
+TYPE1_FILES+= mathx9.pfb
+
+DVIPS_FILES= mathabx.map
+
+do-install:
+ ${MKDIR} ${PREFIX}/${CLASSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/mathtest.tex\
+ ${CLASS_FILES:S@^@${WRKSRC}/texinputs/@}\
+ ${PREFIX}/${CLASSDIR}
+ ${MKDIR} ${PREFIX}/${MFDIR}
+ ${INSTALL_DATA} ${MF_FILES:S@^@${WRKSRC}/source/@}\
+ ${PREFIX}/${MFDIR}
+ ${MKDIR} ${PREFIX}/${TYPE1DIR}
+ ${INSTALL_DATA} ${TYPE1_FILES:S@^@${WRKDIR}/abxtype1/pfb/@}\
+ ${PREFIX}/${TYPE1DIR}
+ ${MKDIR} ${PREFIX}/${DVIPSDIR}
+ ${INSTALL_DATA} ${DVIPS_FILES:S@^@${WRKDIR}/abxtype1/map/@}\
+ ${PREFIX}/${DVIPSDIR}
+
+post-install:
+ ${MKTEXLSR}
+ @${SED} -e 's,%%PREFIX%%,${PREFIX},;s,%%TEXMF%%,${TEXMF},'\
+ ${PKGMESSAGE}
+
+.include <bsd.port.mk>
diff --git a/print/latex-mathabx/distinfo b/print/latex-mathabx/distinfo
new file mode 100644
index 000000000000..46117eff36d9
--- /dev/null
+++ b/print/latex-mathabx/distinfo
@@ -0,0 +1,2 @@
+MD5 (mathabx.zip) = 5cf5061985b5adf0562f119cb6b6db5a
+MD5 (abxtype1.zip) = efcefb7dd3d73fd445d6212a06729da9
diff --git a/print/latex-mathabx/pkg-descr b/print/latex-mathabx/pkg-descr
new file mode 100644
index 000000000000..0c9f9c080084
--- /dev/null
+++ b/print/latex-mathabx/pkg-descr
@@ -0,0 +1,8 @@
+Math series, aka mathabx:
+
+This includes the largest set of mathematical symbols ever programmed
+in MetaFont. These fonts are very high quality fonts even if some
+symbols may have to be designed anew. Encoding is not quite stable
+but input packages free people of this matter.
+
+WWW: http://www-math.univ-poitiers.fr/~phan/metafont.html#math
diff --git a/print/latex-mathabx/pkg-message b/print/latex-mathabx/pkg-message
new file mode 100644
index 000000000000..01fef1f03808
--- /dev/null
+++ b/print/latex-mathabx/pkg-message
@@ -0,0 +1,10 @@
+
+----------------------
+How To Use Math series
+----------------------
+
+dvips:
+ Add a line "p +mathabx.map" into
+ %%PREFIX%%/%%TEXMF%%/dvips/config/config.ps.
+
+(NOTE: This instruction depends on the directory layout of teTeX distribution.)
diff --git a/print/latex-mathabx/pkg-plist b/print/latex-mathabx/pkg-plist
new file mode 100644
index 000000000000..a8636ead4fb4
--- /dev/null
+++ b/print/latex-mathabx/pkg-plist
@@ -0,0 +1,87 @@
+@comment $FreeBSD$
+%%CLASSDIR%%/mathabx.dcl
+%%CLASSDIR%%/mathabx.sty
+%%CLASSDIR%%/mathabx.tex
+%%CLASSDIR%%/testmac.tex
+%%CLASSDIR%%/mathtest.tex
+@dirrm %%CLASSDIR%%
+%%MFDIR%%/matha10.mf
+%%MFDIR%%/matha12.mf
+%%MFDIR%%/matha5.mf
+%%MFDIR%%/matha6.mf
+%%MFDIR%%/matha7.mf
+%%MFDIR%%/matha8.mf
+%%MFDIR%%/matha9.mf
+%%MFDIR%%/mathacnt.mf
+%%MFDIR%%/mathadrv.mf
+%%MFDIR%%/matharrw.mf
+%%MFDIR%%/mathastr.mf
+%%MFDIR%%/mathasym.mf
+%%MFDIR%%/mathb10.mf
+%%MFDIR%%/mathb12.mf
+%%MFDIR%%/mathb5.mf
+%%MFDIR%%/mathb6.mf
+%%MFDIR%%/mathb7.mf
+%%MFDIR%%/mathb8.mf
+%%MFDIR%%/mathb9.mf
+%%MFDIR%%/mathbase.mf
+%%MFDIR%%/mathbdel.mf
+%%MFDIR%%/mathbdrv.mf
+%%MFDIR%%/mathbigs.mf
+%%MFDIR%%/mathbsym.mf
+%%MFDIR%%/mathcall.mf
+%%MFDIR%%/mathextr.mf
+%%MFDIR%%/mathfine.mf
+%%MFDIR%%/mathgrey.mf
+%%MFDIR%%/mathhbrw.mf
+%%MFDIR%%/mathineq.mf
+%%MFDIR%%/mathltlk.mf
+%%MFDIR%%/mathmbcb.mf
+%%MFDIR%%/mathprmt.mf
+%%MFDIR%%/mathsmsy.mf
+%%MFDIR%%/mathsubs.mf
+%%MFDIR%%/mathsymb.mf
+%%MFDIR%%/matht10.mf
+%%MFDIR%%/mathu10.mf
+%%MFDIR%%/mathudrv.mf
+%%MFDIR%%/mathusym.mf
+%%MFDIR%%/mathux10.mf
+%%MFDIR%%/mathuxdrv.mf
+%%MFDIR%%/mathx10.mf
+%%MFDIR%%/mathx12.mf
+%%MFDIR%%/mathx5.mf
+%%MFDIR%%/mathx6.mf
+%%MFDIR%%/mathx7.mf
+%%MFDIR%%/mathx8.mf
+%%MFDIR%%/mathx9.mf
+%%MFDIR%%/mathxdrv.mf
+%%MFDIR%%/maydigit.mf
+@dirrm %%MFDIR%%
+%%TYPE1DIR%%/matha10.pfb
+%%TYPE1DIR%%/matha12.pfb
+%%TYPE1DIR%%/matha5.pfb
+%%TYPE1DIR%%/matha6.pfb
+%%TYPE1DIR%%/matha7.pfb
+%%TYPE1DIR%%/matha8.pfb
+%%TYPE1DIR%%/matha9.pfb
+%%TYPE1DIR%%/mathb10.pfb
+%%TYPE1DIR%%/mathb12.pfb
+%%TYPE1DIR%%/mathb5.pfb
+%%TYPE1DIR%%/mathb6.pfb
+%%TYPE1DIR%%/mathb7.pfb
+%%TYPE1DIR%%/mathb8.pfb
+%%TYPE1DIR%%/mathb9.pfb
+%%TYPE1DIR%%/mathu10.pfb
+%%TYPE1DIR%%/mathux10.pfb
+%%TYPE1DIR%%/mathx10.pfb
+%%TYPE1DIR%%/mathx12.pfb
+%%TYPE1DIR%%/mathx5.pfb
+%%TYPE1DIR%%/mathx6.pfb
+%%TYPE1DIR%%/mathx7.pfb
+%%TYPE1DIR%%/mathx8.pfb
+%%TYPE1DIR%%/mathx9.pfb
+@dirrm %%TYPE1DIR%%
+%%DVIPSDIR%%/mathabx.map
+@dirrm %%DVIPSDIR%%
+@exec %%MKTEXLSR%%
+@unexec %%MKTEXLSR%%