summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorminskim <minskim>2005-11-13 06:13:53 +0000
committerminskim <minskim>2005-11-13 06:13:53 +0000
commit224a0bf6320bb6999b84c2ef373bc86c8e3d030e (patch)
tree0c790a816d32fbdd5a0caf7bcaf787982f177e1c /textproc
parentcf1823175eda33c330c9da9acf1d6c5c4431868f (diff)
downloadpkgsrc-224a0bf6320bb6999b84c2ef373bc86c8e3d030e.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')
-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