summaryrefslogtreecommitdiff
path: root/textproc/tex-xmltex
diff options
context:
space:
mode:
authorminskim <minskim>2005-11-13 06:13:53 +0000
committerminskim <minskim>2005-11-13 06:13:53 +0000
commit1f03aed9642c4bf930e87bf476309b5fb90663fd (patch)
tree0c790a816d32fbdd5a0caf7bcaf787982f177e1c /textproc/tex-xmltex
parent2b197c4c4ab08be43646407a7c8cd74d0f62bd26 (diff)
downloadpkgsrc-1f03aed9642c4bf930e87bf476309b5fb90663fd.tar.gz
Import tex-xmltex from pkgsrc-wip.
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.
Diffstat (limited to 'textproc/tex-xmltex')
-rw-r--r--textproc/tex-xmltex/DESCR9
-rw-r--r--textproc/tex-xmltex/Makefile29
-rw-r--r--textproc/tex-xmltex/PLIST3
-rw-r--r--textproc/tex-xmltex/distinfo5
4 files changed, 46 insertions, 0 deletions
diff --git a/textproc/tex-xmltex/DESCR b/textproc/tex-xmltex/DESCR
new file mode 100644
index 00000000000..211d6b8718a
--- /dev/null
+++ b/textproc/tex-xmltex/DESCR
@@ -0,0 +1,9 @@
+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.
diff --git a/textproc/tex-xmltex/Makefile b/textproc/tex-xmltex/Makefile
new file mode 100644
index 00000000000..3723f44ea50
--- /dev/null
+++ b/textproc/tex-xmltex/Makefile
@@ -0,0 +1,29 @@
+# $NetBSD: Makefile,v 1.1.1.1 2005/11/13 06:13:53 minskim Exp $
+
+DISTNAME= base
+PKGNAME= tex-xmltex-1.9
+WRKSRC= ${WRKDIR}/base
+CATEGORIES= textproc
+MASTER_SITES= ${MASTER_SITE_TEX_CTAN:=macros/xmltex/}
+EXTRACT_SUFX= .zip
+
+MAINTAINER= minskim@NetBSD.org
+HOMEPAGE= http://www.dcarlisle.demon.co.uk/xmltex/manual.html
+COMMENT= Non-validating XML parser implemented in TeX
+
+DIST_SUBDIR= ${PKGNAME_NOREV}
+NO_CONFIGURE= yes
+TEX_ACCEPTED= teTeX3
+
+.include "../../print/teTeX/module.mk"
+
+do-build:
+ cd ${WRKSRC}; \
+ pdfetex -ini -progname=xmltex "&latex" xmltex.ini; \
+ pdfetex -ini -progname=pdfxmltex "&pdflatex" pdfxmltex.ini
+
+do-install:
+ @cd ${WRKSRC}; \
+ ${INSTALL_DATA} xmltex.fmt pdfxmltex.fmt ${PKG_TEXMFPREFIX}/web2c;
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/tex-xmltex/PLIST b/textproc/tex-xmltex/PLIST
new file mode 100644
index 00000000000..e8779b2025a
--- /dev/null
+++ b/textproc/tex-xmltex/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2005/11/13 06:13:53 minskim Exp $
+${PKG_TEXMFPREFIX}/web2c/xmltex.fmt
+${PKG_TEXMFPREFIX}/web2c/pdfxmltex.fmt
diff --git a/textproc/tex-xmltex/distinfo b/textproc/tex-xmltex/distinfo
new file mode 100644
index 00000000000..07c8ea15220
--- /dev/null
+++ b/textproc/tex-xmltex/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2005/11/13 06:13:53 minskim Exp $
+
+SHA1 (tex-xmltex-1.9/base.zip) = d5f72c6d47d35006cbfbd72e501238404770e103
+RMD160 (tex-xmltex-1.9/base.zip) = 49415d9ad1c19b14ffd9901a00da236368e6a2d9
+Size (tex-xmltex-1.9/base.zip) = 51836 bytes