diff options
author | nik <nik@FreeBSD.org> | 2002-05-29 02:11:09 +0800 |
---|---|---|
committer | nik <nik@FreeBSD.org> | 2002-05-29 02:11:09 +0800 |
commit | 6db0f0fbcad151a110dfb4b7f0a680f47aa0c276 (patch) | |
tree | 94d44a458e6a0664ad628c8655ca3b969f15f70e | |
parent | 105aa12b32dca9b3038aa5065d0c4d1fc0485c05 (diff) | |
download | freebsd-ports-gnome-6db0f0fbcad151a110dfb4b7f0a680f47aa0c276.tar.gz freebsd-ports-gnome-6db0f0fbcad151a110dfb4b7f0a680f47aa0c276.tar.zst freebsd-ports-gnome-6db0f0fbcad151a110dfb4b7f0a680f47aa0c276.zip |
xmltex is an XML parser and formatting system written in TeX.
-rw-r--r-- | print/Makefile | 1 | ||||
-rw-r--r-- | print/xmltex/Makefile | 54 | ||||
-rw-r--r-- | print/xmltex/distinfo | 30 | ||||
-rw-r--r-- | print/xmltex/files/Makefile | 9 | ||||
-rw-r--r-- | print/xmltex/files/texmf.cnf | 4 | ||||
-rw-r--r-- | print/xmltex/pkg-comment | 1 | ||||
-rw-r--r-- | print/xmltex/pkg-descr | 17 | ||||
-rw-r--r-- | print/xmltex/pkg-plist | 5 |
8 files changed, 121 insertions, 0 deletions
diff --git a/print/Makefile b/print/Makefile index 331fd1a0eb2d..3c82dedd1ee2 100644 --- a/print/Makefile +++ b/print/Makefile @@ -175,6 +175,7 @@ SUBDIR += xdvi SUBDIR += xdvik SUBDIR += xmbibtex + SUBDIR += xmltex SUBDIR += xpp SUBDIR += xtem SUBDIR += xtexsh diff --git a/print/xmltex/Makefile b/print/xmltex/Makefile new file mode 100644 index 000000000000..382fc3c68511 --- /dev/null +++ b/print/xmltex/Makefile @@ -0,0 +1,54 @@ +# New ports collection makefile for: xmltex +# Date created: 9 May 2002 +# Whom: Nik Clayton <nik@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= xmltex +PORTVERSION= 0.8 +CATEGORIES= print +MASTER_SITES= ${MASTER_SITE_TEX_CTAN} \ + http://www.hcu.ox.ac.uk/TEI/Software/passivetex/:xmltex +MASTER_SITE_SUBDIR= macros/xmltex/base +DISTFILES= englishutf16.xml englishutf8.xml iso-8859-1.xmt \ + iso-8859-2.xmt koi8-r.xmt langtest.tex langtest.xml \ + langtest.xmt manual.html manual.tex manual.xml \ + manual.xsl mathml2.xmt pdfxmltex.ini \ + portugeselatin1.xml readme.txt russiankoi8.xml \ + russianutf8.xml sec.xmt tei.xmt testascii.cfg \ + testascii.tex testascii.xml testsec.tex testsec.xml \ + utf-16.xmt windows-1250.xmt xmltex.cfg xmltex.ini \ + xmltex.tex:xmltex +DIST_SUBDIR= xmltex +EXTRACT_ONLY= + +MAINTAINER= nik@FreeBSD.org + +BUILD_DEPENDS= hugelatex:${PORTSDIR}/print/hugelatex +LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png +RUN_DEPENDS= tex:${PORTSDIR}/print/teTeX + +WRKSRC= ${WRKDIR}/base +USE_ZIP= yes +MAKE_ENV= TEXMFCNF=${FILESDIR}:${LOCALBASE}/share/texmf/web2c + +post-extract: + @${MKDIR} ${WRKSRC} + @${CP} ${DISTDIR}/${DIST_SUBDIR}/* ${WRKSRC} + +post-patch: patch-message copy-makefile + +copy-makefile: + @${CP} ${FILESDIR}/Makefile ${WRKSRC} + +do-install: + @cd ${WRKSRC}; TEXMFMAIN=$$(kpsewhich -expand-var '$$TEXMFMAIN'); \ + ${INSTALL_DATA} xmltex.fmt pdfxmltex.fmt $$TEXMFMAIN/web2c; + +post-install: rebuild-tex-database + +rebuild-tex-database: + ${LOCALBASE}/bin/mktexlsr + +.include <bsd.port.mk> diff --git a/print/xmltex/distinfo b/print/xmltex/distinfo new file mode 100644 index 000000000000..f949c2542bcf --- /dev/null +++ b/print/xmltex/distinfo @@ -0,0 +1,30 @@ +MD5 (xmltex/englishutf16.xml) = 357795f8cb1ff1715582c7748fe0736e +MD5 (xmltex/englishutf8.xml) = 2507cf52b50e27c433cfc4c0237da316 +MD5 (xmltex/iso-8859-1.xmt) = d36edf9b6763ef9e971edc6f604ea413 +MD5 (xmltex/iso-8859-2.xmt) = e53891dde29991d387ae470a214e31be +MD5 (xmltex/koi8-r.xmt) = 8e380e2db9a818c4780cbdfea4dc922b +MD5 (xmltex/langtest.tex) = 54b01ccfd2c55d87172f5e306cbd0cfc +MD5 (xmltex/langtest.xml) = 0d922e94fda17eaf507ba0bd98f527d8 +MD5 (xmltex/langtest.xmt) = f6233b02391a6878eb1f4df2a1f92125 +MD5 (xmltex/manual.html) = bbc075921cacc1a83bfb988c17e4f966 +MD5 (xmltex/manual.tex) = 71d5e16046f38ce195b3750beee9a182 +MD5 (xmltex/manual.xml) = 3a548670c06a7682f454dbeb34e559ad +MD5 (xmltex/manual.xsl) = 4ceef2b2892d2fbffc4f6a31309eedd3 +MD5 (xmltex/mathml2.xmt) = 82b80695db15d666c3b5282b847debbe +MD5 (xmltex/pdfxmltex.ini) = c11c90324ad092d62980536912cb96f1 +MD5 (xmltex/portugeselatin1.xml) = 5e460e705c2dced98591a52b79299ad7 +MD5 (xmltex/readme.txt) = 406e5d358a8242c5f0e3c90bd34b1e25 +MD5 (xmltex/russiankoi8.xml) = e9b8a405c3399c6645aee3d09f002313 +MD5 (xmltex/russianutf8.xml) = 53bd7cf77f5855f7fd44f9d077926d59 +MD5 (xmltex/sec.xmt) = 499d247bb2937c2299116fecb6b56e9d +MD5 (xmltex/tei.xmt) = f4e6ecb3c0918b3b86c40e78f798e44c +MD5 (xmltex/testascii.cfg) = 13941e6694234c364a14e8bad5e84df4 +MD5 (xmltex/testascii.tex) = 63ecb718683cf36ad455c5a69b7fdf91 +MD5 (xmltex/testascii.xml) = 2ac13b0521afd2787873a64449ec5036 +MD5 (xmltex/testsec.tex) = d4404ae03425922c6293e8529d79d772 +MD5 (xmltex/testsec.xml) = a5363dbdb1bfbdcfb41cef4309cf3819 +MD5 (xmltex/utf-16.xmt) = 2c132dacd60811e981face710f8da42f +MD5 (xmltex/windows-1250.xmt) = b968201e4a4369ff6f0181e7cb9d98dd +MD5 (xmltex/xmltex.cfg) = 09ce15b436ee3e52544b0a12456eb45b +MD5 (xmltex/xmltex.ini) = c3cfed8cd4214dff82c58e1706787900 +MD5 (xmltex/xmltex.tex) = d438d94124523fccb706df7b645e4549 diff --git a/print/xmltex/files/Makefile b/print/xmltex/files/Makefile new file mode 100644 index 000000000000..4712b2824fed --- /dev/null +++ b/print/xmltex/files/Makefile @@ -0,0 +1,9 @@ +# $FreeBSD$ + +all: xmltex.fmt pdfxmltex.fmt + +xmltex.fmt: + tex -ini -progname=xmltex "&latex" xmltex.ini + +pdfxmltex.fmt: + pdftex -ini -progname=pdfxmltex "&pdflatex" pdfxmltex.ini diff --git a/print/xmltex/files/texmf.cnf b/print/xmltex/files/texmf.cnf new file mode 100644 index 000000000000..b23d29d33824 --- /dev/null +++ b/print/xmltex/files/texmf.cnf @@ -0,0 +1,4 @@ + hash_extra = 60000 + pool_size = 1000000 + max_strings = 70000 + save_size = 10000 diff --git a/print/xmltex/pkg-comment b/print/xmltex/pkg-comment new file mode 100644 index 000000000000..970170d20325 --- /dev/null +++ b/print/xmltex/pkg-comment @@ -0,0 +1 @@ +A non-validating XML parser, written in TeX diff --git a/print/xmltex/pkg-descr b/print/xmltex/pkg-descr new file mode 100644 index 000000000000..ff23380a3d16 --- /dev/null +++ b/print/xmltex/pkg-descr @@ -0,0 +1,17 @@ +[ From the Introduction in the manual ] + +xmltex implements a non validating parser for documents matching +the W3C XML Namespaces Recommendation. The system may just be used +to parse the file (expanding entity references and normalising +namespace declarations) in which case it records a trace of the +parse on the terminal. Normally however the information from the +parse is used to trigger TeX typesetting code. Declarations (in +TeX syntax) are provided as part of xmltex to associate TeX code +with the start and end of each XML element, attributes, processing +instructions, and with unicode character data. + +[ From Nik ] + +In otherwords, this is a system for formatting XML data using +formatting instructions written in TeX, rather than DSSSL, or +XSLT, or other stylesheet language. diff --git a/print/xmltex/pkg-plist b/print/xmltex/pkg-plist new file mode 100644 index 000000000000..0c2953f63392 --- /dev/null +++ b/print/xmltex/pkg-plist @@ -0,0 +1,5 @@ +@comment $FreeBSD: /tmp/pcvs/ports/print/xmltex/pkg-plist,v 1.1 2002-05-28 18:11:03 nik Exp $ +share/texmf/web2c/xmltex.fmt +share/texmf/web2c/pdfxmltex.fmt +@exec %D/bin/mktexlsr +@unexec %D/bin/mktexlsr |