From ff453c1b4caa615c823f8185c91dad3a0e5ff81d Mon Sep 17 00:00:00 2001 From: Nik Clayton Date: Tue, 4 Jun 2002 11:28:57 +0000 Subject: Add PassiveTeX. PassiveTeX is an XML Formatting Objects processor, written in TeX (!). To produce high quality PS or PDF output from XML files, you first convert them to the FO standard, and then run PassiveTeX over them. --- print/passivetex/Makefile | 47 ++++++++++++++++++++++++++++++++++++++++++++ print/passivetex/distinfo | 1 + print/passivetex/pkg-comment | 1 + print/passivetex/pkg-descr | 10 ++++++++++ print/passivetex/pkg-message | 8 ++++++++ print/passivetex/pkg-plist | 10 ++++++++++ 6 files changed, 77 insertions(+) create mode 100644 print/passivetex/Makefile create mode 100644 print/passivetex/distinfo create mode 100644 print/passivetex/pkg-comment create mode 100644 print/passivetex/pkg-descr create mode 100644 print/passivetex/pkg-message create mode 100644 print/passivetex/pkg-plist (limited to 'print/passivetex') diff --git a/print/passivetex/Makefile b/print/passivetex/Makefile new file mode 100644 index 000000000000..55fef59a4352 --- /dev/null +++ b/print/passivetex/Makefile @@ -0,0 +1,47 @@ +# New ports collection makefile for: passivetex +# Date created: 9 May 2002 +# Whom: Nik Clayton +# +# $FreeBSD$ +# + +PORTNAME= passivetex +PORTVERSION= 1.0 +CATEGORIES= print +MASTER_SITES= http://www.hcu.ox.ac.uk/TEI/Software/passivetex/ +DISTFILES= passivetex.zip + +MAINTAINER= nik@FreeBSD.org + +BUILD_DEPENDS= ${LOCALBASE}/share/texmf/web2c/xmltex.fmt:${PORTSDIR}/print/xmltex + +DIST_SUBDIR= passivetex +NO_BUILD= yes +USE_ZIP= yes + +WRKSRC= ${WRKDIR}/passivetex + +MAKE_ENV= TEXMFCNF=${FILESDIR}:${LOCALBASE}/share/texmf/web2c + +MESSAGE= ${PKGDIR}/pkg-message +PKGMESSAGE= ${WRKDIR}/pkg-message + +post-patch: patch-message + +patch-message: + @${SED} -e 's,%%LOCALBASE%%,${LOCALBASE},' ${MESSAGE} > ${PKGMESSAGE} + +do-install: + @cd ${WRKSRC}; TEXMFMAIN=$$(kpsewhich -expand-var '$$TEXMFMAIN'); \ + ${MKDIR} -m 555 $$TEXMFMAIN/tex/passivetex; \ + ${INSTALL_DATA} dummyels.sty fotex.xmt fotex.sty mlnames.sty ucharacters.sty unicode.sty $$TEXMFMAIN/tex/passivetex; + +post-install: rebuild-tex-database display-message + +rebuild-tex-database: + ${LOCALBASE}/bin/mktexlsr + +display-message: + @${CAT} ${PKGMESSAGE} + +.include diff --git a/print/passivetex/distinfo b/print/passivetex/distinfo new file mode 100644 index 000000000000..569509d19460 --- /dev/null +++ b/print/passivetex/distinfo @@ -0,0 +1 @@ +MD5 (passivetex/passivetex.zip) = a1f9667ccd3ec733193331edbf0cbbac diff --git a/print/passivetex/pkg-comment b/print/passivetex/pkg-comment new file mode 100644 index 000000000000..00a8801651c2 --- /dev/null +++ b/print/passivetex/pkg-comment @@ -0,0 +1 @@ +XSL FO processor, written in TeX diff --git a/print/passivetex/pkg-descr b/print/passivetex/pkg-descr new file mode 100644 index 000000000000..7947778672f9 --- /dev/null +++ b/print/passivetex/pkg-descr @@ -0,0 +1,10 @@ +PassiveTeX is a library of TeX macros which can be used to process +an XML document conforming to the Formatting Objects (FO) spec. +This provides a relatively easy mechanism to convert FO files to +Postscript and PDF. + +For example, to generate a PDF file from an FO file, run + + pdftex --interaction nonstopmode "&pdfxmltex" file.fo + +WWW: http://www.hcu.ox.ac.uk/TEI/Software/passivetex/ diff --git a/print/passivetex/pkg-message b/print/passivetex/pkg-message new file mode 100644 index 000000000000..409dc8e0bb19 --- /dev/null +++ b/print/passivetex/pkg-message @@ -0,0 +1,8 @@ +PassiveTeX uses quite a lot of TeX's resources. You may find it +necessary to increase the size of some of TeX's resource pools by +editing the file %%LOCALBASE%%/share/texmf/web2c/texmf.cnf with any text +editor. + +If you change %%LOCALBASE%%/share/texmf/web2c/texmf.cnf, delete the word +"original" on line 1 of the file. This will prevent future +installations of TeX from overwriting changes you've made. diff --git a/print/passivetex/pkg-plist b/print/passivetex/pkg-plist new file mode 100644 index 000000000000..d5eab1e43b0e --- /dev/null +++ b/print/passivetex/pkg-plist @@ -0,0 +1,10 @@ +@comment $FreeBSD$ +share/texmf/tex/passivetex/dummyels.sty +share/texmf/tex/passivetex/fotex.xmt +share/texmf/tex/passivetex/fotex.sty +share/texmf/tex/passivetex/mlnames.sty +share/texmf/tex/passivetex/ucharacters.sty +share/texmf/tex/passivetex/unicode.sty +@dirrm share/texmf/tex/passivetex +@exec %D/bin/mktexlsr +@unexec %D/bin/mktexlsr -- cgit v1.2.3