diff options
author | Hiroki Sato <hrs@FreeBSD.org> | 2011-07-16 18:08:44 +0000 |
---|---|---|
committer | Hiroki Sato <hrs@FreeBSD.org> | 2011-07-16 18:08:44 +0000 |
commit | 297e726af7577cb4e062d78a1065514af62594b5 (patch) | |
tree | 68c3618bac0797b1bbcf8a41758db144fbf10923 /print | |
parent | e207a4d215744e17c8575ff51464f1708f2cdca6 (diff) |
Notes
Diffstat (limited to 'print')
-rw-r--r-- | print/Makefile | 1 | ||||
-rw-r--r-- | print/tex-mfpic/Makefile | 63 | ||||
-rw-r--r-- | print/tex-mfpic/distinfo | 2 | ||||
-rw-r--r-- | print/tex-mfpic/pkg-descr | 3 | ||||
-rw-r--r-- | print/tex-mfpic/pkg-plist | 3 |
5 files changed, 72 insertions, 0 deletions
diff --git a/print/Makefile b/print/Makefile index 1db24aca8403..06cf48fdace1 100644 --- a/print/Makefile +++ b/print/Makefile @@ -325,6 +325,7 @@ SUBDIR += teTeX-base SUBDIR += teTeX-texmf SUBDIR += tex + SUBDIR += tex-mfpic SUBDIR += tex-omegaware-old SUBDIR += tex-texmflocal SUBDIR += texinfo diff --git a/print/tex-mfpic/Makefile b/print/tex-mfpic/Makefile new file mode 100644 index 000000000000..fa13fd26123b --- /dev/null +++ b/print/tex-mfpic/Makefile @@ -0,0 +1,63 @@ +# New ports collection makefile for: tex-mfpic +# Date created: 16 July 2011 +# Whom: hrs +# +# $FreeBSD$ + +PORTNAME= mfpic +PORTVERSION= 1.06.20110308 +CATEGORIES= print +MASTER_SITES= http://comp.uark.edu/~luecking/tex/ +PKGNAMEPREFIX= tex- +DISTNAME= ${PORTNAME}106 +DIST_SUBDIR= teTeX + +MAINTAINER= hrs@FreeBSD.org +COMMENT= A TeX package that supports drawing pictures + +BUILD_DEPENDS= mktexlsr:${PORTSDIR}/print/teTeX-base \ + ${TEXMF_LSR}:${PORTSDIR}/print/tex-texmflocal +RUN_DEPENDS= latex:${PORTSDIR}/print/teTeX-base \ + ${TEXMF_LSR}:${PORTSDIR}/print/tex-texmflocal + +USE_ZIP= yes +PLIST_SUB= MKTEXLSR=${MKTEXLSR} \ + TEXMFDIR=${TEXMFDIR} +TEXMFDIR= share/texmf +TEXMF_LSR= ${LOCALBASE}/${TEXMFDIR}/ls-R +MKTEXLSR= ${LOCALBASE}/bin/mktexlsr +TEX_BIN= ${LOCALBASE}/bin/etex +YES_CMD= /usr/bin/yes +NO_WRKSUBDIR= yes +PLIST_FILES= ${CLASS_FILES:S,^,${CLASSDIR}/,} \ + ${MP_FILES:S,^,${MPDIR}/,} \ + ${MF_FILES:S,^,${MFDIR}/,} \ + ${DOC_FILES:S,^doc/,,:S,^,${DDIR}/,} + +CLASSDIR= ${TEXMFDIR}/tex/generic/${PORTNAME} +MPDIR= ${TEXMFDIR}/metapost/${PORTNAME} +MFDIR= ${TEXMFDIR}/metafont/${PORTNAME} +DDIR= ${TEXMFDIR}/doc/generic/${PORTNAME} + +CLASS_FILES= mfpic.sty mfpic.tex dvipsnam.mp grafbase.mp +MP_FILES= dvipsnam.mp grafbase.mp +MF_FILES= grafbase.mf +DOC_FILES= README changes.txt install.txt doc/coil.mps \ + doc/lcheadings.ist doc/mfpcard.pdf doc/mfpcard.tex \ + doc/mfpdoc.sty doc/mfpguide.pdf doc/mfpguide.tex \ + doc/mfpic-doc.pdf doc/mfpic-doc.tex + +do-build: + cd ${WRKDIR} && ${YES_CMD} | ${TEX_BIN} mfpic.ins + +do-install: + cd ${WRKDIR} && \ + ${INSTALL_DATA} ${CLASS_FILES} ${PREFIX}/${CLASSDIR} && \ + ${INSTALL_DATA} ${MP_FILES} ${PREFIX}/${MPDIR} && \ + ${INSTALL_DATA} ${MF_FILES} ${PREFIX}/${MFDIR} && \ + ${INSTALL_DATA} ${DOC_FILES} ${PREFIX}/${DDIR} + +post-install: + @${MKTEXLSR} ${LOCALBASE}/${TEXMFDIR} + +.include <bsd.port.mk> diff --git a/print/tex-mfpic/distinfo b/print/tex-mfpic/distinfo new file mode 100644 index 000000000000..19396846c3a7 --- /dev/null +++ b/print/tex-mfpic/distinfo @@ -0,0 +1,2 @@ +SHA256 (teTeX/mfpic106.zip) = 7bd4d73bbefae7d858a0499794c0e0f5d2c0a2af97b328e041dbe82b8bb33c03 +SIZE (teTeX/mfpic106.zip) = 1362873 diff --git a/print/tex-mfpic/pkg-descr b/print/tex-mfpic/pkg-descr new file mode 100644 index 000000000000..20154bbae94a --- /dev/null +++ b/print/tex-mfpic/pkg-descr @@ -0,0 +1,3 @@ +Mfpic is a scheme for producing pictures from (La)TeX commands. +Commands \mfpic and \endmfpic (in LaTeX, the mfpic environment) enclose +a group in which drawing commands may be placed. diff --git a/print/tex-mfpic/pkg-plist b/print/tex-mfpic/pkg-plist new file mode 100644 index 000000000000..3d716edd0b07 --- /dev/null +++ b/print/tex-mfpic/pkg-plist @@ -0,0 +1,3 @@ +@comment $FreeBSD$ +@exec %%MKTEXLSR%% %D/%%TEXMFDIR%% +@unexec %%MKTEXLSR%% %D/%%TEXMFDIR%% |