summaryrefslogtreecommitdiff
path: root/print/passivetex
diff options
context:
space:
mode:
authorNik Clayton <nik@FreeBSD.org>2002-06-04 11:28:57 +0000
committerNik Clayton <nik@FreeBSD.org>2002-06-04 11:28:57 +0000
commitff453c1b4caa615c823f8185c91dad3a0e5ff81d (patch)
treead860abf90e61e0b2656d4f18bdfbd2f3c0524a1 /print/passivetex
parentUpdate to 0.10.0. (diff)
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.
Notes
Notes: svn path=/head/; revision=60588
Diffstat (limited to 'print/passivetex')
-rw-r--r--print/passivetex/Makefile47
-rw-r--r--print/passivetex/distinfo1
-rw-r--r--print/passivetex/pkg-comment1
-rw-r--r--print/passivetex/pkg-descr10
-rw-r--r--print/passivetex/pkg-message8
-rw-r--r--print/passivetex/pkg-plist10
6 files changed, 77 insertions, 0 deletions
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 <nik@FreeBSD.org>
+#
+# $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 <bsd.port.mk>
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