aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authortabthorpe <tabthorpe@FreeBSD.org>2007-10-04 11:02:59 +0800
committertabthorpe <tabthorpe@FreeBSD.org>2007-10-04 11:02:59 +0800
commit4ef05e1468a4053809a16b3cdbc5ee3b0d1d3a31 (patch)
treeb7c210af76699cc8eb70774c7efa76884bc8ebf4 /textproc
parenteb4ac0e7bde38ee2469beb11e00594cbdca77358 (diff)
downloadfreebsd-ports-gnome-4ef05e1468a4053809a16b3cdbc5ee3b0d1d3a31.tar.gz
freebsd-ports-gnome-4ef05e1468a4053809a16b3cdbc5ee3b0d1d3a31.tar.zst
freebsd-ports-gnome-4ef05e1468a4053809a16b3cdbc5ee3b0d1d3a31.zip
fxp is a validating XML parser written completely in the functional
programming language SML. fxp can validate both XML 1.0 and XML 1.1 documents. It has a programming interface allowing for production of XML applications based on fxp. It is installed with four example applications. WWW: http://www2.informatik.tu-muenchen.de/~berlea/Fxp PR: ports/116572 Submitted by: Timothy Bourke <timbob at bigpond.com>
Diffstat (limited to 'textproc')
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/sml-fxp/Makefile132
-rw-r--r--textproc/sml-fxp/distinfo3
-rw-r--r--textproc/sml-fxp/files/patch-Makefile173
-rw-r--r--textproc/sml-fxp/files/patch-doc-features.html96
-rw-r--r--textproc/sml-fxp/files/patch-doc-fxcanon.html23
-rw-r--r--textproc/sml-fxp/files/patch-doc-fxcopy.html82
-rw-r--r--textproc/sml-fxp/files/patch-doc-fxesis.html98
-rw-r--r--textproc/sml-fxp/files/patch-doc-fxp.html108
-rw-r--r--textproc/sml-fxp/files/patch-doc-fxviz.html111
-rw-r--r--textproc/sml-fxp/files/patch-doc-index.html144
-rw-r--r--textproc/sml-fxp/files/patch-fxp.sh.in19
-rw-r--r--textproc/sml-fxp/files/patch-src-Apps-Canon-canon.cm9
-rw-r--r--textproc/sml-fxp/files/patch-src-Apps-Copy-copy.cm13
-rw-r--r--textproc/sml-fxp/files/patch-src-Apps-Copy-copyEncode.sml12
-rw-r--r--textproc/sml-fxp/files/patch-src-Apps-Esis-esis.cm9
-rw-r--r--textproc/sml-fxp/files/patch-src-Apps-Null-null.cm9
-rw-r--r--textproc/sml-fxp/files/patch-src-Apps-Viz-viz.cm9
-rw-r--r--textproc/sml-fxp/files/patch-src-Parser-Dfa-dfaPassTwo.sml11
-rw-r--r--textproc/sml-fxp/files/patch-src-Parser-Dfa-dfaString.sml17
-rw-r--r--textproc/sml-fxp/files/patch-src-Parser-Dfa-dfaUtil.sml12
-rw-r--r--textproc/sml-fxp/files/patch-src-Parser-Dtd-dtdAttributes.sml12
-rw-r--r--textproc/sml-fxp/files/patch-src-Parser-Params-dtd.sml18
-rw-r--r--textproc/sml-fxp/files/patch-src-Parser-Parse-parseContent.sml14
-rw-r--r--textproc/sml-fxp/files/patch-src-Unicode-Chars-charClasses.sml12
-rw-r--r--textproc/sml-fxp/files/patch-src-Unicode-Chars-uniChar.sml22
-rw-r--r--textproc/sml-fxp/files/patch-src-Unicode-Uri-uri.sml36
-rw-r--r--textproc/sml-fxp/files/patch-src-Unicode-Uri-uriEncode.sml21
-rw-r--r--textproc/sml-fxp/files/patch-src-Util-SymDict-dict.sml23
-rw-r--r--textproc/sml-fxp/files/patch-src-Util-SymDict-symbolTable.sml31
-rw-r--r--textproc/sml-fxp/files/patch-src-Util-intSets.sml32
-rw-r--r--textproc/sml-fxp/files/patch-src-Util-utilString.sml14
-rw-r--r--textproc/sml-fxp/files/patch-src-Util-utilTime.sml13
-rw-r--r--textproc/sml-fxp/files/patch-src-config.sml9
-rw-r--r--textproc/sml-fxp/files/patch-src-fxlib.cm163
-rw-r--r--textproc/sml-fxp/files/sml-nj-devel-plist3
-rw-r--r--textproc/sml-fxp/files/sml-nj-plist262
-rw-r--r--textproc/sml-fxp/files/src-Apps-Canon-canon.mlb16
-rw-r--r--textproc/sml-fxp/files/src-Apps-Canon-runcanon.sml2
-rw-r--r--textproc/sml-fxp/files/src-Apps-Copy-copy.mlb16
-rw-r--r--textproc/sml-fxp/files/src-Apps-Copy-runcopy.sml2
-rw-r--r--textproc/sml-fxp/files/src-Apps-Esis-esis.mlb16
-rw-r--r--textproc/sml-fxp/files/src-Apps-Esis-runesis.sml2
-rw-r--r--textproc/sml-fxp/files/src-Apps-Null-null.mlb15
-rw-r--r--textproc/sml-fxp/files/src-Apps-Null-runnull.sml2
-rw-r--r--textproc/sml-fxp/files/src-Apps-Viz-runviz.sml2
-rw-r--r--textproc/sml-fxp/files/src-Apps-Viz-viz.mlb14
-rw-r--r--textproc/sml-fxp/files/src-Catalog-catalog.cm28
-rw-r--r--textproc/sml-fxp/files/src-Parser-Base-base.cm16
-rw-r--r--textproc/sml-fxp/files/src-Parser-Dfa-dfa.cm31
-rw-r--r--textproc/sml-fxp/files/src-Parser-Dtd-dtd.cm20
-rw-r--r--textproc/sml-fxp/files/src-Parser-Error-error.cm17
-rw-r--r--textproc/sml-fxp/files/src-Parser-Params-params.cm32
-rw-r--r--textproc/sml-fxp/files/src-Parser-Parse-parse.cm30
-rw-r--r--textproc/sml-fxp/files/src-Parser-entities.cm15
-rw-r--r--textproc/sml-fxp/files/src-Parser-parser.cm32
-rw-r--r--textproc/sml-fxp/files/src-Unicode-Chars-chars.cm25
-rw-r--r--textproc/sml-fxp/files/src-Unicode-Decode-decode.cm26
-rw-r--r--textproc/sml-fxp/files/src-Unicode-Encode-encode.cm17
-rw-r--r--textproc/sml-fxp/files/src-Unicode-Uri-uri.cm22
-rw-r--r--textproc/sml-fxp/files/src-Unicode-encoding.cm8
-rw-r--r--textproc/sml-fxp/files/src-Unicode-unicode.cm25
-rw-r--r--textproc/sml-fxp/files/src-Util-SymDict-symdict.cm30
-rw-r--r--textproc/sml-fxp/files/src-Util-util.cm38
-rw-r--r--textproc/sml-fxp/files/src-config.cm5
-rw-r--r--textproc/sml-fxp/files/src-fxlib.mlb104
-rw-r--r--textproc/sml-fxp/pkg-descr6
-rw-r--r--textproc/sml-fxp/pkg-plist461
68 files changed, 2851 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index 6bbbd21593db..d64ca7ec22f3 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -923,6 +923,7 @@
SUBDIR += slides
SUBDIR += smartdoc
SUBDIR += smartdoc-devel
+ SUBDIR += sml-fxp
SUBDIR += soothsayer
SUBDIR += source-highlight
SUBDIR += sowing
diff --git a/textproc/sml-fxp/Makefile b/textproc/sml-fxp/Makefile
new file mode 100644
index 000000000000..31d48e1cba88
--- /dev/null
+++ b/textproc/sml-fxp/Makefile
@@ -0,0 +1,132 @@
+# New ports collection makefile for: sml-fxp
+# Date created: 16 Sep 2007
+# Whom: Timothy Bourke <timbob@bigpond.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= sml-fxp
+PORTVERSION= 2.0
+CATEGORIES= textproc
+MASTER_SITES= http://www2.informatik.tu-muenchen.de/~berlea/Fxp/ \
+ http://www.cse.unsw.edu.au/~tbourke/distfiles/
+DISTNAME= fxp-${PORTVERSION}
+
+MAINTAINER= timbob@bigpond.com
+COMMENT= Validating XML parser with Standard ML interface
+
+# DEVEL MLTON STABILIZATION Result
+# Off Off Off build apps with sml-nj (no stabilization)
+# On Off Off build apps with sml-nj-devel (no stabilization)
+# Off On Off build apps with mlton (no stabilization)
+# On On Off as above
+# Off Off On build apps and stabilize with sml-nj
+# On Off On build apps and stabilize with sml-nj-devel
+# Off On On apps with mlton, stabilize for sml-nj
+# On On On apps with mlton, stabilize for sml-nj-devel
+OPTIONS= X11 "Build with X11 support" on \
+ STABILIZATION "Stabilize the libraries for SML/NJ." on \
+ DEVEL "Prefer the devel version of SML/NJ." on \
+ MLTON "Build executables with mlton." off
+
+.include <bsd.port.pre.mk>
+
+.if !defined(WITHOUT_X11)
+RUN_DEPENDS+= xvcg:${PORTSDIR}/graphics/vcg
+.endif
+
+.if defined(WITH_STABILIZATION) || defined(WITHOUT_MLTON)
+.if defined(WITH_DEVEL)
+BUILD_DEPENDS+= smlnj-devel>=110.65:${PORTSDIR}/lang/sml-nj-devel
+
+MAKE_ENV+= SMLNJ_DEVEL=yes
+.else
+BUILD_DEPENDS+= smlnj>=0:${PORTSDIR}/lang/sml-nj
+RUN_DEPENDS+= smlnj>=0:${PORTSDIR}/lang/sml-nj
+
+MAKE_ENV+= SMLNJ=yes
+.endif
+.endif
+
+.if defined(WITH_MLTON)
+PLIST_SUB+= SML_EXEC="@comment " SML_EXEC_DEVEL="@comment "
+.else
+.if defined(WITH_DEVEL)
+PLIST_SUB+= SML_EXEC="@comment " SML_EXEC_DEVEL=""
+.else
+PLIST_SUB+= SML_EXEC="" SML_EXEC_DEVEL="@comment "
+.endif
+.endif
+
+.if defined(WITH_STABILIZATION)
+MAKE_ENV+= STABILIZE=yes
+
+.if defined(WITH_DEVEL)
+PLIST_SUB+= STABLE="@comment " STABLE_DEVEL=""
+.else
+PLIST_SUB+= STABLE="" STABLE_DEVEL="@comment "
+.endif
+
+.else
+PLIST_SUB+= STABLE="@comment " STABLE_DEVEL="@comment "
+.endif
+
+.if defined(WITH_STABILIZATION) && defined(WITH_DEVEL)
+RUN_DEPENDS+= smlnj-devel>=110.65:${PORTSDIR}/lang/sml-nj-devel
+.endif
+
+.if defined(WITH_MLTON)
+BUILD_DEPENDS+= mlton:${PORTSDIR}/lang/mlton
+MAKE_ENV+= MLTON_BUILD=yes
+.endif
+
+.if defined(WITHOUT_MLTON) && defined(WITHOUT_DEVEL)
+MAKE_ENV+= NO_HEAP2EXEC=yes
+PLIST_SUB+= SML_EXEC=""
+.else
+PLIST_SUB+= SML_EXEC="@comment "
+.endif
+
+.if !defined(NOPORTDOCS)
+INSTALL_TARGET=install install-doc
+.endif
+
+#
+# Installation rationale and compromises
+#
+# * fxp applications are installed
+# sml-nj: script + heap file, sml-nj-devel/mlton: binary
+#
+# * fxp source code is installed
+# Making this optional would further complicate the port.
+# The porter currently believes that fxp is of primary interest to sml
+# developers. He is willing to consider otherwise.
+#
+# * source code for Apps is not installed
+# The Apps do not belong to the library proper (but they are useful as
+# examples).
+#
+# * a single cm library file is installed (if stabilization occurs)
+# for efficient operation of library consumers written in SML/NJ.
+# The other .cm file and directories would make recompilation faster,
+# but are otherwise unnecessary.
+#
+# Note: reinstallation of SML/NJ seems to require restabilisation of
+# libraries.
+#
+
+post-extract:
+ @for f in $$(${LS} ${FILESDIR}/src-*); do \
+ e=$$(${ECHO} $$f|${SED} 's|^${FILESDIR}/\(.*\)|\1|; \
+ s|-|/|g'); \
+ ${CP} $$f ${WRKSRC}/$$e; \
+ done
+
+post-patch:
+ @for f in $$(${LS} ${FILESDIR}/patch-*.sml); do \
+ e=$$(${ECHO} $$f|${SED} 's|^${FILESDIR}/patch-\(.*\).sml|\1|; \
+ s|-|/|g'); \
+ ${MV} ${WRKSRC}/$$e.sml.orig ${WRKSRC}/$$e.orig.sml; \
+ done
+
+.include <bsd.port.post.mk>
diff --git a/textproc/sml-fxp/distinfo b/textproc/sml-fxp/distinfo
new file mode 100644
index 000000000000..c7585cfbd763
--- /dev/null
+++ b/textproc/sml-fxp/distinfo
@@ -0,0 +1,3 @@
+MD5 (fxp-2.0.tar.gz) = 162d7ae0bbf212853dc98972d9a415d4
+SHA256 (fxp-2.0.tar.gz) = 3e439a695beb7a4248bf111ba3932755456a2d1790111b18021b5376f43ff203
+SIZE (fxp-2.0.tar.gz) = 307829
diff --git a/textproc/sml-fxp/files/patch-Makefile b/textproc/sml-fxp/files/patch-Makefile
new file mode 100644
index 000000000000..d9bc838fb734
--- /dev/null
+++ b/textproc/sml-fxp/files/patch-Makefile
@@ -0,0 +1,173 @@
+--- Makefile.orig Sat Jun 26 02:43:06 2004
++++ Makefile Sun Sep 16 17:09:45 2007
+@@ -6,25 +6,33 @@
+ ##############################################################################
+ # These are the locations for executables, heap images and library files
+ ##############################################################################
+-PREFIX = /home/berlea/xmlsoft
+ FXP_BINDIR = ${PREFIX}/bin
+-FXP_LIBDIR = ${PREFIX}/fxp
++FXP_LIBDIR = ${PREFIX}/lib/sml-fxp
++FXP_DOCDIR = ${PREFIX}/share/doc/fxp
+
+ ##############################################################################
+ # The path where the SML-NJ binaries are located, and the name of the
+ # SML-NJ executable with the Compilation manager built-in. If sml is in
+ # your PATH at execution time, you fon't need the full path here.
+ ##############################################################################
+-SML_BINDIR = /usr/share/smlnj/bin
++SML_BINDIR = ${PREFIX}/bin
+ SML_EXEC = ${SML_BINDIR}/sml
+ ##############################################################################
+ # No need to change this for SML-NJ 110.0.6. For earlier or working versions
+ # 110.19 you might have to use the second or third line. This is the
+ # compilation manager function for making with a named description file.
+ ##############################################################################
+-SML_MAKEDEF= val make = CM.make'
+-#SML_MAKEDEF= val make = CM.make
+-#SML_MAKEDEF= fun make x = CM.make'{force_relink=true, group=x}
++.if defined(SMLNJ_DEVEL) && ${SMLNJ_DEVEL} == "yes"
++SML_MAKEDEF = val make = CM.make
++SML_STABILIZEDEF = val stabilize = CM.stabilize true
++.else
++SML_MAKEDEF = val make = CM.make'
++SML_STABILIZEDEF = val stabilize = (fn n=> CM.stabilize' (n, true))
++.endif
++
++MLTON=${PREFIX}/bin/mlton
++HEAP2EXEC=${PREFIX}/bin/heap2exec
++HEAP_SUFFIX=x86-bsd
+
+ ##############################################################################
+ # These should be fine on most unix machines
+@@ -38,37 +46,48 @@
+ #buggy in cygwin
+ #MKDIRHIER = mkdirhier
+ MKDIRHIER = mkdir -p
++MV = mv
+
+ ##############################################################################
+ # nothing to change below this line
+ ##############################################################################
+ SRC = src
+ DOC = doc
+-FXLIB_PRUNE = \( -name CM -o -name CVS -o -name Apps \)
++FXLIB_PRUNE = \( -name CM -o -name .cm -o -name CVS -o -name Apps \)
+
+-all: fxp.sh images
++all: fxp.sh images stabilize
+
+ arch.os:
+- if test -s ${SML_BINDIR}/.arch-n-opsys; then\
+- ${SML_BINDIR}/.arch-n-opsys | \
+- ${SED} -e 's/^.*HEAP_SUFFIX=\(.*\)$$/\1/' > .arch-opsys;\
+- else \
+- echo "ARCH=x86; OPSYS=win32; HEAP_SUFFIX=x86-win32" | \
+- ${SED} -e 's/^.*HEAP_SUFFIX=\(.*\)$$/\1/' > .arch-opsys;\
+- fi
++ echo ${HEAP_SUFFIX} > .arch-opsys
+
+ fxp.sh: Makefile arch.os
+- ${RM} fxp.sh
+- echo "#!/bin/sh -f" > fxp.sh
+- echo >> fxp.sh
+- echo "SML_BINDIR=${SML_BINDIR}" >> fxp.sh
+- echo "FXP_LIBDIR=${FXP_LIBDIR}" >> fxp.sh
+- cat fxp.sh.in >> fxp.sh
+-
+-image.prog:
++ @${RM} fxp.sh
++ @echo "#!/bin/sh -f" > fxp.sh
++ @echo >> fxp.sh
++ @echo "SML_BINDIR=${SML_BINDIR}" >> fxp.sh
++ @echo "FXP_LIBDIR=${FXP_LIBDIR}" >> fxp.sh
++ @cat fxp.sh.in >> fxp.sh
++
++stabilize:
++ #see inst.fxlib for old sml-nj
++.if defined(STABILIZE) && defined(SMLNJ_DEVEL) && ${SMLNJ_DEVEL} == "yes"
++ @echo "Stabilizing the library..."
++ echo "${SML_STABILIZEDEF}; stabilize \"src/fxlib.cm\"; \
++ OS.Process.exit OS.Process.success;" | ${SML_EXEC}
++.endif
++
++image.prog: fxp.sh
++.if defined(MLTON_BUILD)
++ @echo "Building the ${PROG_NAME} binary..."
++ ${MLTON} -output ${SRC}/${PROG_NAME} ${SRC}/${PROG_CM:S/cm$/mlb/}
++.else
+ @echo "Creating the ${PROG_NAME} heap image..."
+ echo "${SML_MAKEDEF}; make \"${SRC}/${PROG_CM}\"; \
+ SMLofNJ.exportFn(\"${SRC}/_${PROG_NAME}\",${PROG_FUN})" | ${SML_EXEC}
++.if defined(SMLNJ_DEVEL) && ${SMLNJ_DEVEL} == "yes"
++ ${HEAP2EXEC} ${SRC}/_${PROG_NAME}.${HEAP_SUFFIX} ${SRC}/${PROG_NAME}
++.endif
++.endif
+
+ image.fxlib:
+ image.fxp:
+@@ -92,13 +111,15 @@
+ test -d ${FXP_LIBDIR} || ${MKDIRHIER} ${FXP_LIBDIR}
+
+ inst.prog: inst.dirs fxp.sh arch.os
++.if defined(NO_HEAP2EXEC)
+ ${RM} ${FXP_BINDIR}/${PROG_NAME} ${FXP_BINDIR}/fxp.sh \
+ ${FXP_LIBDIR}/_${PROG_NAME}.`cat .arch-opsys`
+- ${COPY} fxp.sh ${FXP_BINDIR}
+- ${CHMOD} 755 ${FXP_BINDIR}/fxp.sh
++ ${BSD_INSTALL_SCRIPT} fxp.sh ${FXP_BINDIR}/
+ ln -s fxp.sh ${FXP_BINDIR}/${PROG_NAME}
+- ${COPY} ${SRC}/_${PROG_NAME}.`cat .arch-opsys` ${FXP_LIBDIR}
+- ${CHMOD} 644 ${FXP_LIBDIR}/_${PROG_NAME}.`cat .arch-opsys`
++ ${BSD_INSTALL_DATA} ${SRC}/_${PROG_NAME}.${HEAP_SUFFIX} ${FXP_LIBDIR}/
++.else
++ ${BSD_INSTALL_PROGRAM} ${SRC}/${PROG_NAME} ${FXP_BINDIR}/
++.endif
+
+ inst.fxp:
+ @make inst.prog PROG_NAME=fxp PROG_CM=Apps/Null/null.cm PROG_FUN=Null.null
+@@ -116,13 +137,38 @@
+ ${MKDIRHIER} ${FXP_LIBDIR}/$${dir}; \
+ done
+ for file in `${FIND} ${SRC} ${FXLIB_PRUNE} -prune -o -name '*.sml' -print`; do \
+- ${COPY} $${file} ${FXP_LIBDIR}/$${file}; \
++ ${BSD_INSTALL_DATA} $${file} ${FXP_LIBDIR}/$${file}; \
++ done
++ for file in `${FIND} ${SRC} ${FXLIB_PRUNE} -prune -o -type f -name '*.cm' -print`; do \
++ ${BSD_INSTALL_DATA} $${file} ${FXP_LIBDIR}/$${file}; \
++ done
++ ${BSD_INSTALL_DATA} ${SRC}/fxlib.cm ${FXP_LIBDIR}/${SRC}/
++.if defined(STABILIZE)
++.if defined(SMLNJ) && ${SMLNJ} == "yes"
++ # Stabilizing in place seems to be the only reliable way for old sml-nj
++ echo "${SML_STABILIZEDEF}; stabilize \"${FXP_LIBDIR}/src/fxlib.cm\"; \
++ OS.Process.exit OS.Process.success;" | ${SML_EXEC}
++.else
++ ${MKDIRHIER} ${FXP_LIBDIR}/src/.cm/x86-unix
++ ${BSD_INSTALL_DATA} ${SRC}/.cm/x86-unix/fxlib.cm ${FXP_LIBDIR}/src/.cm/x86-unix/
++.endif
++.endif
++
++install-doc:
++ for file in ball-shadow.jpg fxp-shadow.jpg shadow.jpg \
++ exa-vcg-1.gif exa-vcg-2.gif exa-vcg-3.gif \
++ exa-vcg-4.gif exa-vcg-5.gif exa-vcg-6.gif ; do \
++ rm ${DOC}/$${file} || true; \
++ done
++ rm ${DOC}/Images/index.html || true
++ for dir in `${FIND} ${DOC}/* -type d -print`; do \
++ d=`expr "$${dir}" : "[^/]*/\(.*\)"`; \
++ ${MKDIRHIER} ${FXP_DOCDIR}/$${d}; \
++ done
++ for file in `${FIND} ${DOC}/* -type f \! -regex '.*\.orig$$' -print`; do \
++ f=`expr "$${file}" : "[^/]*/\(.*\)"`; \
++ ${BSD_INSTALL_MAN} $${file} ${FXP_DOCDIR}/$${f}; \
+ done
+- ${COPY} ${SRC}/fxlib.cm ${FXP_LIBDIR}/${SRC}/fxlib.cm
+- rm -f ${FXP_LIBDIR}/fxlib.cm
+- echo Group is > ${FXP_LIBDIR}/fxlib.cm
+- echo " "${SRC}/fxlib.cm >> ${FXP_LIBDIR}/fxlib.cm
+- ${COPY} -r ${DOC} ${FXP_LIBDIR}
+
+ install:
+ for prog in ${INSTALL_PROGS}; do \
diff --git a/textproc/sml-fxp/files/patch-doc-features.html b/textproc/sml-fxp/files/patch-doc-features.html
new file mode 100644
index 000000000000..0bd1e4605c14
--- /dev/null
+++ b/textproc/sml-fxp/files/patch-doc-features.html
@@ -0,0 +1,96 @@
+--- doc/features.html.orig Thu May 31 10:32:04 2007
++++ doc/features.html Thu May 31 10:33:22 2007
+@@ -9,24 +9,24 @@
+ <body bgcolor="#FFFFFF">
+
+ <h1>
+-<a href="index.html"><img SRC="fxp-shadow.jpg" ALT="fxp" BORDER=0 align=CENTER></a>
++<a href="index.html"><img SRC="Images/fxp-shadow.jpg" ALT="fxp" BORDER=0 align=CENTER></a>
+ Features</h1>
+-<img SRC="shadow.jpg" ALT="----------------" >
++<img SRC="Images/shadow.jpg" ALT="----------------" >
+ <table CELLSPACING=0 CELLPADDING=0 >
+ <tr>
+-<td><img SRC="ball-shadow.jpg" ALT="o" ></td>
++<td><img SRC="Images/ball-shadow.jpg" ALT="o" ></td>
+
+ <td><a href="#UNI">Unicode Support</a></td>
+ </tr>
+
+ <tr>
+-<td><img SRC="ball-shadow.jpg" ALT="o" ></td>
++<td><img SRC="Images/ball-shadow.jpg" ALT="o" ></td>
+
+ <td><a href="#CAT">Catalog Support</a></td>
+ </tr>
+ </table>
+
+-<p><img SRC="shadow.jpg" ALT="----------------" >
++<p><img SRC="Images/shadow.jpg" ALT="----------------" >
+ <h1>
+ <a NAME="UNI"></a>Unicode Support</h1>
+ <i>fxp</i> has full support for Unicode and auto-detection of encoding
+@@ -79,31 +79,31 @@
+ </tr>
+ </table>
+
+-<p><img SRC="shadow.jpg" ALT="----------------" >
++<p><img SRC="Images/shadow.jpg" ALT="----------------" >
+ <h1>
+ <a NAME="CAT"></a>Catalog Support</h1>
+
+ <table CELLSPACING=0 CELLPADDING=0 >
+ <tr>
+-<td><img SRC="ball-shadow.jpg" ALT="o" ></td>
++<td><img SRC="Images/ball-shadow.jpg" ALT="o" ></td>
+
+ <td><a href="#CAT-OVER">Catalogs</a></td>
+ </tr>
+
+ <tr>
+-<td><img SRC="ball-shadow.jpg" ALT="o" ></td>
++<td><img SRC="Images/ball-shadow.jpg" ALT="o" ></td>
+
+ <td><a href="#CAT-EXA">Options by Example</a></td>
+ </tr>
+
+ <tr>
+-<td><img SRC="ball-shadow.jpg" ALT="o" ></td>
++<td><img SRC="Images/ball-shadow.jpg" ALT="o" ></td>
+
+ <td><a href="#CAT-OPT">Summary of Options</a></td>
+ </tr>
+ </table>
+
+-<p><img SRC="shadow.jpg" ALT="----------------" >
++<p><img SRC="Images/shadow.jpg" ALT="----------------" >
+ <h2>
+ <a NAME="CAT-OVER"></a>Catalogs</h2>
+ <i>fxp</i> supports the Socat syntax of <a href="http://www.ccil.org/~cowan/XML/XCatalog.html">XML
+@@ -221,7 +221,7 @@
+ public identifier <tt>"ISO 8879:1986//ENTITIES Added Latin 1//EN"</tt>
+ is mapped to <tt>/pub/iso/lat1.ent</tt> even if the catalog <tt>/pub/entities/ent.soc</tt>
+ contains a matching entry for it.
+-<p><img SRC="shadow.jpg" ALT="----------------" >
++<p><img SRC="Images/shadow.jpg" ALT="----------------" >
+ <h2>
+ <a NAME="CAT-EXA"></a>Catalog Options by Example</h2>
+
+@@ -334,7 +334,7 @@
+ use Socat syntax, whereas for suffixes <tt>.xml</tt> and <tt>.XML</tt>
+ the XML syntax is chosen. For files having none of these suffices, <i>fxp</i>
+ assumes XML syntax. This can be changed with <tt>--catalog-syntax=soc</tt>.
+-<p><img SRC="shadow.jpg" ALT="----------------" >
++<p><img SRC="Images/shadow.jpg" ALT="----------------" >
+ <h2>
+ <a NAME="CAT-OPT"></a>Summary of Catalog Options</h2>
+
+@@ -379,7 +379,7 @@
+ the system identifier comes first; <tt>sys</tt> means that the catalog
+ is used only if no system identifier is present. Defaults to <tt>map</tt>.</dd>
+ </dl>
+-<img SRC="shadow.jpg" ALT="----------------" >
++<img SRC="Images/shadow.jpg" ALT="----------------" >
+ <address>
+ fxp's feedback address <a href="mailto:fxp@PSI.Uni-Trier.DE">fxp@PSI.Uni-Trier.DE</a></address>
+
diff --git a/textproc/sml-fxp/files/patch-doc-fxcanon.html b/textproc/sml-fxp/files/patch-doc-fxcanon.html
new file mode 100644
index 000000000000..eb30f6ba2ac7
--- /dev/null
+++ b/textproc/sml-fxp/files/patch-doc-fxcanon.html
@@ -0,0 +1,23 @@
+--- doc/fxcanon.html.orig Thu May 31 10:32:04 2007
++++ doc/fxcanon.html Thu May 31 10:33:27 2007
+@@ -8,9 +8,9 @@
+ <body bgcolor="#FFFFFF">
+
+ <h1>
+-<a href="index.html"><img SRC="fxp-shadow.jpg" ALT="fxp" BORDER=0 align=CENTER></a>
++<a href="index.html"><img SRC="Images/fxp-shadow.jpg" ALT="fxp" BORDER=0 align=CENTER></a>
+ The Program <i>fxcanon</i></h1>
+-<img SRC="shadow.jpg" ALT="----------------" >
++<img SRC="Images/shadow.jpg" ALT="----------------" >
+ <h2>
+ <a NAME="DESC"></a>Description</h2>
+ <i>fxcanon</i> is a validating XML processor. It reads an XML document
+@@ -32,7 +32,7 @@
+ If <tt>fname</tt> is <tt>-</tt>, the standard output is used. Defaults
+ is <tt>-</tt>.</dd>
+ </dl>
+-<img SRC="shadow.jpg" ALT="----------------" >
++<img SRC="Images/shadow.jpg" ALT="----------------" >
+ <address>
+ fxp's feedback address <a href="mailto:fxp@PSI.Uni-Trier.DE">fxp@PSI.Uni-Trier.DE</a></address>
+
diff --git a/textproc/sml-fxp/files/patch-doc-fxcopy.html b/textproc/sml-fxp/files/patch-doc-fxcopy.html
new file mode 100644
index 000000000000..91e498b97c5c
--- /dev/null
+++ b/textproc/sml-fxp/files/patch-doc-fxcopy.html
@@ -0,0 +1,82 @@
+--- doc/fxcopy.html.orig Thu May 31 10:32:04 2007
++++ doc/fxcopy.html Thu May 31 10:33:31 2007
+@@ -8,30 +8,30 @@
+ <body bgcolor="#FFFFFF">
+
+ <h1>
+-<a href="index.html"><img SRC="fxp-shadow.jpg" ALT="fxp" BORDER=0 align=CENTER></a>
++<a href="index.html"><img SRC="Images/fxp-shadow.jpg" ALT="fxp" BORDER=0 align=CENTER></a>
+ The Program <i>fxcopy</i></h1>
+-<img SRC="shadow.jpg" ALT="----------------" >
++<img SRC="Images/shadow.jpg" ALT="----------------" >
+ <table CELLSPACING=0 CELLPADDING=0 >
+ <tr>
+-<td><img SRC="ball-shadow.jpg" ALT="o" ></td>
++<td><img SRC="Images/ball-shadow.jpg" ALT="o" ></td>
+
+ <td><a href="#DESC">Description</a></td>
+ </tr>
+
+ <tr>
+-<td><img SRC="ball-shadow.jpg" ALT="o" ></td>
++<td><img SRC="Images/ball-shadow.jpg" ALT="o" ></td>
+
+ <td><a href="#EXA">Options by Example</a></td>
+ </tr>
+
+ <tr>
+-<td><img SRC="ball-shadow.jpg" ALT="o" ></td>
++<td><img SRC="Images/ball-shadow.jpg" ALT="o" ></td>
+
+ <td><a href="#OPT">Summary of Options</a></td>
+ </tr>
+ </table>
+
+-<p><img SRC="shadow.jpg" ALT="----------------" >
++<p><img SRC="Images/shadow.jpg" ALT="----------------" >
+ <h2>
+ <a NAME="DESC"></a>Description</h2>
+ <i>fxcopy</i> is a validating XML processor. It reads an XML document and
+@@ -43,7 +43,7 @@
+ </blockquote>
+ If <tt>infile</tt> is given, <i>fxcopy</i> reads its input document from
+ that file, otherwise <i>fxcopy</i> reads from standard input.
+-<p><img SRC="shadow.jpg" ALT="----------------" >
++<p><img SRC="Images/shadow.jpg" ALT="----------------" >
+ <h2>
+ <a NAME="EXA"></a>Options by Example</h2>
+ In addition to the options of <i><a href="fxp.html#EXA">fxp</a></i>, <i>fxcopy</i>
+@@ -54,13 +54,13 @@
+ -->
+ <table CELLSPACING=0 CELLPADDING=0 >
+ <tr>
+-<td><img SRC="ball-shadow.jpg" ALT="o" ></td>
++<td><img SRC="Images/ball-shadow.jpg" ALT="o" ></td>
+
+ <td><a href="#EXA-OUT">Controlling Output</a></td>
+ </tr>
+
+ <tr>
+-<td><img SRC="ball-shadow.jpg" ALT="o" ></td>
++<td><img SRC="Images/ball-shadow.jpg" ALT="o" ></td>
+
+ <td><a href="#EXA-REF">Expansion of References</a> in the <a href="#EXP-INST">Document
+ Instance</a> and in the <a href="#EXP-SUB">Declaration Subset</a></td>
+@@ -313,7 +313,7 @@
+ [&lt;stdin>:8.33] Error: a parameter entity reference is not allowed in a&nbsp;
+ &nbsp;&nbsp;&nbsp; declaration in the internal subset.</pre>
+ </blockquote>
+-<img SRC="shadow.jpg" ALT="----------------" >
++<img SRC="Images/shadow.jpg" ALT="----------------" >
+ <h2>
+ <a NAME="OPT"></a>Summary of Command Line Options</h2>
+ Each option can be one of:
+@@ -477,7 +477,7 @@
+ </tr>
+ </table>
+ </dl>
+-<img SRC="shadow.jpg" ALT="----------------" >
++<img SRC="Images/shadow.jpg" ALT="----------------" >
+ <address>
+ fxp's feedback address <a href="mailto:fxp@PSI.Uni-Trier.DE">fxp@PSI.Uni-Trier.DE</a></address>
+
diff --git a/textproc/sml-fxp/files/patch-doc-fxesis.html b/textproc/sml-fxp/files/patch-doc-fxesis.html
new file mode 100644
index 000000000000..8bca358c1950
--- /dev/null
+++ b/textproc/sml-fxp/files/patch-doc-fxesis.html
@@ -0,0 +1,98 @@
+--- doc/fxesis.html.orig Thu May 31 10:32:04 2007
++++ doc/fxesis.html Thu May 31 10:33:34 2007
+@@ -8,42 +8,42 @@
+ <body bgcolor="#FFFFFF">
+
+ <h1>
+-<a href="index.html"><img SRC="fxp-shadow.jpg" ALT="fxp" BORDER=0 align=CENTER></a>
++<a href="index.html"><img SRC="Images/fxp-shadow.jpg" ALT="fxp" BORDER=0 align=CENTER></a>
+ The Program <i>fxesis</i></h1>
+-<img SRC="shadow.jpg" ALT="----------------" >
++<img SRC="Images/shadow.jpg" ALT="----------------" >
+ <table CELLSPACING=0 CELLPADDING=0 >
+ <tr>
+-<td><img SRC="ball-shadow.jpg" ALT="o" ></td>
++<td><img SRC="Images/ball-shadow.jpg" ALT="o" ></td>
+
+ <td><a href="#DESC">Description</a></td>
+ </tr>
+
+ <tr>
+-<td><img SRC="ball-shadow.jpg" ALT="o" ></td>
++<td><img SRC="Images/ball-shadow.jpg" ALT="o" ></td>
+
+ <td><a href="#OUT">Output Format</a></td>
+ </tr>
+
+ <tr>
+-<td><img SRC="ball-shadow.jpg" ALT="o" ></td>
++<td><img SRC="Images/ball-shadow.jpg" ALT="o" ></td>
+
+ <td><a href="#OUTEX">Output Example</a></td>
+ </tr>
+
+ <tr>
+-<td><img SRC="ball-shadow.jpg" ALT="o" ></td>
++<td><img SRC="Images/ball-shadow.jpg" ALT="o" ></td>
+
+ <td><a href="#EXA">Options by Example</a></td>
+ </tr>
+
+ <tr>
+-<td><img SRC="ball-shadow.jpg" ALT="o" ></td>
++<td><img SRC="Images/ball-shadow.jpg" ALT="o" ></td>
+
+ <td><a href="#OPT">Summary of Options</a></td>
+ </tr>
+ </table>
+
+-<p><img SRC="shadow.jpg" ALT="----------------" >
++<p><img SRC="Images/shadow.jpg" ALT="----------------" >
+ <h2>
+ <a NAME="DESC"></a>Description</h2>
+ <i>fxesis</i> is a validating XML processor. It reads an XML document and
+@@ -58,7 +58,7 @@
+ If <tt>infile</tt> is given, <i>fxesis</i> reads its input document from
+ that file, otherwise from standard input. By default, it prints its output
+ to the standard output.
+-<p><img SRC="shadow.jpg" ALT="----------------" >
++<p><img SRC="Images/shadow.jpg" ALT="----------------" >
+ <h2>
+ <a NAME="OUT"></a>The Output Format</h2>
+ The <i>fxesis</i> output is a series of plain text lines. The meaning of
+@@ -213,7 +213,7 @@
+ </tr>
+ </table>
+ </blockquote>
+-<img SRC="shadow.jpg" ALT="----------------" >
++<img SRC="Images/shadow.jpg" ALT="----------------" >
+ <h2>
+ <a NAME="OUTEX"></a>An Output Example</h2>
+ Consider the example document <tt><a href="Examples/exa-5.xml">exa-5.xml</a></tt>.
+@@ -228,7 +228,7 @@
+ attribute, because validation was turned off. On the other hand, characters
+ <tt>&ouml;</tt>, <tt>&uuml;</tt> and <tt>&szlig;</tt> are represented by
+ escape sequences, because they are not ASCII-characters.
+-<p><img SRC="shadow.jpg" ALT="----------------" >
++<p><img SRC="Images/shadow.jpg" ALT="----------------" >
+ <h2>
+ <a NAME="EXA"></a>Options by Example</h2>
+ <i>fxesis</i> understands all options documented for <i><a href="fxp.html#EXA">fxp</a></i>;
+@@ -259,7 +259,7 @@
+ -M\U+fc;llerstra\U+df;e 13
+ )addr</pre>
+ </blockquote>
+-<img SRC="shadow.jpg" ALT="----------------" >
++<img SRC="Images/shadow.jpg" ALT="----------------" >
+ <h2>
+ <a NAME="OPT"></a>Summary of Command Line Options</h2>
+ Each option can be one of:
+@@ -326,7 +326,7 @@
+ Produce output in Latin1 encoding, i.e., using 8-bit characters also. This
+ is the default.</dd>
+ </dl>
+-<img SRC="shadow.jpg" ALT="----------------" >
++<img SRC="Images/shadow.jpg" ALT="----------------" >
+ <address>
+ fxp's feedback address <a href="mailto:fxp@PSI.Uni-Trier.DE">fxp@PSI.Uni-Trier.DE</a></address>
+
diff --git a/textproc/sml-fxp/files/patch-doc-fxp.html b/textproc/sml-fxp/files/patch-doc-fxp.html
new file mode 100644
index 000000000000..5edf3d71e51b
--- /dev/null
+++ b/textproc/sml-fxp/files/patch-doc-fxp.html
@@ -0,0 +1,108 @@
+--- doc/fxp.html.orig Thu May 31 10:32:04 2007
++++ doc/fxp.html Thu May 31 10:33:39 2007
+@@ -8,30 +8,30 @@
+ <body bgcolor="#FFFFFF">
+
+ <h1>
+-<a href="index.html"><img SRC="fxp-shadow.jpg" ALT="fxp" BORDER=0 align=CENTER></a>
++<a href="index.html"><img SRC="Images/fxp-shadow.jpg" ALT="fxp" BORDER=0 align=CENTER></a>
+ The Program <i>fxp</i></h1>
+-<img SRC="shadow.jpg" ALT="----------------" >
++<img SRC="Images/shadow.jpg" ALT="----------------" >
+ <table CELLSPACING=0 CELLPADDING=0 >
+ <tr>
+-<td><img SRC="ball-shadow.jpg" ALT="o" ></td>
++<td><img SRC="Images/ball-shadow.jpg" ALT="o" ></td>
+
+ <td><a href="#DESC">Description</a></td>
+ </tr>
+
+ <tr>
+-<td><img SRC="ball-shadow.jpg" ALT="o" ></td>
++<td><img SRC="Images/ball-shadow.jpg" ALT="o" ></td>
+
+ <td><a href="#EXA">Options by Example</a></td>
+ </tr>
+
+ <tr>
+-<td><img SRC="ball-shadow.jpg" ALT="o" ></td>
++<td><img SRC="Images/ball-shadow.jpg" ALT="o" ></td>
+
+ <td><a href="#OPT">Summary of Options</a></td>
+ </tr>
+ </table>
+
+-<p><img SRC="shadow.jpg" ALT="----------------" >
++<p><img SRC="Images/shadow.jpg" ALT="----------------" >
+ <h2>
+ <a NAME="DESC"></a>Description</h2>
+ <i>fxp</i> is a validating XML parser. It reads an XML document and reports
+@@ -44,43 +44,43 @@
+ </blockquote>
+ If <tt>infile</tt> is given, <i>fxp</i> reads its input document from that
+ file, otherwise from standard input.
+-<p><img SRC="shadow.jpg" ALT="----------------" >
++<p><img SRC="Images/shadow.jpg" ALT="----------------" >
+ <h2>
+ <a NAME="EXA"></a>Options by Example</h2>
+
+ <table CELLSPACING=0 CELLPADDING=0 >
+ <tr>
+-<td><img SRC="ball-shadow.jpg" ALT="o" ></td>
++<td><img SRC="Images/ball-shadow.jpg" ALT="o" ></td>
+
+ <td><a href="#EXA-ERR">Controlling Error Printing</a></td>
+ </tr>
+
+ <tr>
+-<td><img SRC="ball-shadow.jpg" ALT="o" ></td>
++<td><img SRC="Images/ball-shadow.jpg" ALT="o" ></td>
+
+ <td><a href="#EXA-VAL">Validating and Non-Validating Mode</a></td>
+ </tr>
+
+ <tr>
+-<td><img SRC="ball-shadow.jpg" ALT="o" ></td>
++<td><img SRC="Images/ball-shadow.jpg" ALT="o" ></td>
+
+ <td><a href="#EXA-COMP">Compatibility Modes</a></td>
+ </tr>
+
+ <tr>
+-<td><img SRC="ball-shadow.jpg" ALT="o" ></td>
++<td><img SRC="Images/ball-shadow.jpg" ALT="o" ></td>
+
+ <td><a href="#EXA-INTER">Interoperability Modes</a></td>
+ </tr>
+
+ <tr>
+-<td><img SRC="ball-shadow.jpg" ALT="o" ></td>
++<td><img SRC="Images/ball-shadow.jpg" ALT="o" ></td>
+
+ <td><a href="#EXA-OTHER">Other Errors and Warnings</a></td>
+ </tr>
+
+ <tr>
+-<td><img SRC="ball-shadow.jpg" ALT="o" ></td>
++<td><img SRC="Images/ball-shadow.jpg" ALT="o" ></td>
+
+ <td><a href="features.html#CAT-EXA">Catalog Support</a></td>
+ </tr>
+@@ -460,7 +460,7 @@
+ [exa-4.xml:16.45] Warning: Repeated declaration for notation 'text'.
+ [exa-4.xml:20.17] Error: 'yy' is not a language identifier.</pre>
+ </blockquote>
+-<img SRC="shadow.jpg" ALT="----------------" >
++<img SRC="Images/shadow.jpg" ALT="----------------" >
+ <h2>
+ <a NAME="OPT"></a>Summary of Command Line Options</h2>
+ Each option can be one of:
+@@ -785,7 +785,7 @@
+ <dd>
+ Print a summary of the command line options and exit.</dd>
+ </dl>
+-<img SRC="shadow.jpg" ALT="----------------" >
++<img SRC="Images/shadow.jpg" ALT="----------------" >
+ <address>
+ fxp's feedback address <a href="mailto:fxp@PSI.Uni-Trier.DE">fxp@PSI.Uni-Trier.DE</a></address>
+
diff --git a/textproc/sml-fxp/files/patch-doc-fxviz.html b/textproc/sml-fxp/files/patch-doc-fxviz.html
new file mode 100644
index 000000000000..6ac2b309e207
--- /dev/null
+++ b/textproc/sml-fxp/files/patch-doc-fxviz.html
@@ -0,0 +1,111 @@
+--- doc/fxviz.html.orig Wed Jun 6 11:56:20 2007
++++ doc/fxviz.html Wed Jun 6 11:57:17 2007
+@@ -8,36 +8,36 @@
+ <body bgcolor="#FFFFFF">
+
+ <h1>
+-<a href="index.html"><img SRC="fxp-shadow.jpg" ALT="fxp" BORDER=0 align=CENTER></a>
++<a href="index.html"><img SRC="Images/fxp-shadow.jpg" ALT="fxp" BORDER=0 align=CENTER></a>
+ The Program <i>fxviz</i></h1>
+-<img SRC="shadow.jpg" ALT="----------------" >
++<img SRC="Images/shadow.jpg" ALT="----------------" >
+ <table CELLSPACING=0 CELLPADDING=0 >
+ <tr>
+-<td><img SRC="ball-shadow.jpg" ALT="o" ></td>
++<td><img SRC="Images/ball-shadow.jpg" ALT="o" ></td>
+
+ <td><a href="#DESC">Description</a></td>
+ </tr>
+
+ <tr>
+-<td><img SRC="ball-shadow.jpg" ALT="o" ></td>
++<td><img SRC="Images/ball-shadow.jpg" ALT="o" ></td>
+
+ <td><a href="#EXA">An Example</a></td>
+ </tr>
+
+ <tr>
+-<td><img SRC="ball-shadow.jpg" ALT="o" ></td>
++<td><img SRC="Images/ball-shadow.jpg" ALT="o" ></td>
+
+ <td><a href="#OPT">Summary of Options</a></td>
+ </tr>
+
+ <tr>
+-<td><img SRC="ball-shadow.jpg" ALT="o" ></td>
++<td><img SRC="Images/ball-shadow.jpg" ALT="o" ></td>
+
+ <td><a href="#TRIB">Tributes</a></td>
+ </tr>
+ </table>
+
+-<p><img SRC="shadow.jpg" ALT="----------------" >
++<p><img SRC="Images/shadow.jpg" ALT="----------------" >
+ <h2>
+ <a NAME="DESC"></a>Description</h2>
+ <i>fxviz</i> is an XML tree visualizer. It reads an XML document and produces
+@@ -131,7 +131,7 @@
+ the sequence of fragments it consists of.
+ <p>Simimlarly, an element node can be unfolded such that each of its attributes
+ is represented by its own attribute node as a child of the element.
+-<p><img SRC="shadow.jpg" ALT="----------------" >
++<p><img SRC="Images/shadow.jpg" ALT="----------------" >
+ <h2>
+ <a NAME="EXA"></a>An Example</h2>
+ Consider the follwing XML document <tt>test.xml</tt>:
+@@ -159,32 +159,32 @@
+ </blockquote>
+ The graph description produced by <i>fxviz</i> will display the document
+ tree as follows:
+-<p><img SRC="exa-vcg-1.gif" ALT="graph output example" HSPACE=20 >
++<p><img SRC="Images/exa-vcg-1.gif" ALT="graph output example" HSPACE=20 >
+ <p>Each node in the tree is connected to each of its children by an edge.
+ Additionally, the nodes are annotated this their starting postions in the
+ XML source. These positions can be viewed by selecting <tt>Node Information
+ => Source Position</tt> in the <i>vcg</i> menu:
+-<p><img SRC="exa-vcg-2.gif" ALT="graph output example" HSPACE=20 >
++<p><img SRC="Images/exa-vcg-2.gif" ALT="graph output example" HSPACE=20 >
+ <p>Text nodes are merged such that no text node has another text node as
+ a direct sibling. If you wish to see how a merged text node is composed
+ of text fragments, apply <i>vcg</i>'s <tt>Unfold Subgraph</tt> function
+ to that node. For the second text-node in the <tt>b</tt>-element this results
+ in:
+-<p><img SRC="exa-vcg-3.gif" ALT="graph output example" HSPACE=20 >
++<p><img SRC="Images/exa-vcg-3.gif" ALT="graph output example" HSPACE=20 >
+ <p>Additional information about attributes of elements is also available
+ by applying <i>vcg</i>'s <tt>Unfold Subgraph</tt> function to the element
+ node: the attributes are removed from the element node's label, and for
+ each attribute a new attribute node is inserted before the element's content.
+ Each attribute node is labeled with the attribute name and has as a single
+ child the attribute value:
+-<p><img SRC="exa-vcg-4.gif" ALT="graph output example" HSPACE=20 >
++<p><img SRC="Images/exa-vcg-4.gif" ALT="graph output example" HSPACE=20 >
+ <p>The values of defaulted attributed are marked, and unspecified attributes
+ are either marked as implied or missing:
+-<p><img SRC="exa-vcg-5.gif" ALT="graph output example" HSPACE=20 >
++<p><img SRC="Images/exa-vcg-5.gif" ALT="graph output example" HSPACE=20 >
+ <p>Finally, if you are interested in the attribute type of some specified
+ attribute, use the <tt>Node Information => Attribute Type</tt> function:
+-<p><img SRC="exa-vcg-6.gif" ALT="graph output example" HSPACE=20 >
+-<p><img SRC="shadow.jpg" ALT="----------------" >
++<p><img SRC="Images/exa-vcg-6.gif" ALT="graph output example" HSPACE=20 >
++<p><img SRC="Images/shadow.jpg" ALT="----------------" >
+ <h2>
+ <a NAME="OPT"></a>Summary of Command Line Options</h2>
+ Each option can be one of:
+@@ -232,13 +232,13 @@
+ If <tt>fname</tt> is <tt>-</tt>, the standard output is used. Defaults
+ to -.</dd>
+ </dl>
+-<img SRC="shadow.jpg" ALT="----------------" >
++<img SRC="Images/shadow.jpg" ALT="----------------" >
+ <h2>
+ <a NAME="TRIB"></a>Tributes</h2>
+ <i>fxviz</i> generates output for <i><a href="ftp://ftp.cs.uni-sb.de/pub/graphics/vcg/">vcg</a></i>
+ which is an excellent graph layout program written by Georg Sander at the
+ University of Saarbr&uuml;cken.
+-<p><img SRC="shadow.jpg" ALT="----------------" >
++<p><img SRC="Images/shadow.jpg" ALT="----------------" >
+ <address>
+ fxp's feedback address <a href="mailto:fxp@PSI.Uni-Trier.DE">fxp@PSI.Uni-Trier.DE</a></address>
+
diff --git a/textproc/sml-fxp/files/patch-doc-index.html b/textproc/sml-fxp/files/patch-doc-index.html
new file mode 100644
index 000000000000..bf35939ddb06
--- /dev/null
+++ b/textproc/sml-fxp/files/patch-doc-index.html
@@ -0,0 +1,144 @@
+--- doc/index.html.orig Thu May 31 10:32:04 2007
++++ doc/index.html Thu May 31 10:33:53 2007
+@@ -8,39 +8,39 @@
+ <body bgcolor="#FFFFFF">
+
+ <h1>
+-<img SRC="fxp-shadow.jpg" ALT="fxp" BORDER=0 align=CENTER> The Functional
++<img SRC="Images/fxp-shadow.jpg" ALT="fxp" BORDER=0 align=CENTER> The Functional
+ XML Parser</h1>
+-<img SRC="shadow.jpg" ALT="----------------" >
++<img SRC="Images/shadow.jpg" ALT="----------------" >
+ <h2>
+ Contents</h2>
+
+ <table>
+ <tr>
+-<td><img SRC="ball-shadow.jpg" ALT="o" ></td>
++<td><img SRC="Images/ball-shadow.jpg" ALT="o" ></td>
+
+ <td><a href="#FXP">About <i>fxp</i></a></td>
+ </tr>
+
+ <tr>
+-<td><img SRC="ball-shadow.jpg" ALT="o" ></td>
++<td><img SRC="Images/ball-shadow.jpg" ALT="o" ></td>
+
+ <td><a href="#VERSION"><i>fxp</i> Versions and Changes</a></td>
+ </tr>
+
+ <tr>
+-<td><img SRC="ball-shadow.jpg" ALT="o" ></td>
++<td><img SRC="Images/ball-shadow.jpg" ALT="o" ></td>
+
+ <td><a href="#GET">Where to get <i>fxp</i></a></td>
+ </tr>
+
+ <tr>
+-<td><img SRC="ball-shadow.jpg" ALT="o" ></td>
++<td><img SRC="Images/ball-shadow.jpg" ALT="o" ></td>
+
+ <td><a href="#INSTALL">How to install <i>fxp</i></a></td>
+ </tr>
+
+ <tr>
+-<td><img SRC="ball-shadow.jpg" ALT="o" ></td>
++<td><img SRC="Images/ball-shadow.jpg" ALT="o" ></td>
+
+ <td>Example Applications: <i><a href="fxp.html">fxp</a></i>, <i><a href="fxcanon.html">fxcanon</a></i>,
+ <i><a href="fxcopy.html">fxcopy</a></i>, <i><a href="fxesis.html">fxesis</a></i>,
+@@ -48,7 +48,7 @@
+ </tr>
+ </table>
+
+-<p><img SRC="shadow.jpg" ALT="----------------" >
++<p><img SRC="Images/shadow.jpg" ALT="----------------" >
+ <h3>
+ <a NAME="FXP"></a>What is <i>fxp</i>?</h3>
+ <i>fxp</i> is a validating <a href="http://www.w3.org/TR/REC-xml">XML</a>
+@@ -56,14 +56,14 @@
+ validate both XML 1.0 and XML 1.1 documents. It has a <a
+ href="#API">programming interface</a> allowing for production of XML
+ applications based on <i>fxp</i>. It comes with four example applications:
+-<table> <tr> <td><img SRC="ball-shadow.jpg" ALT="o" ></td>
++<table> <tr> <td><img SRC="Images/ball-shadow.jpg" ALT="o" ></td>
+
+ <td><i><a href="fxp.html">fxp</a></i>, the pure parser. It parses a document
+ and finds well-formedness errors, validity errors and other problems;</td>
+ </tr>
+
+ <tr>
+-<td><img SRC="ball-shadow.jpg" ALT="o" ></td>
++<td><img SRC="Images/ball-shadow.jpg" ALT="o" ></td>
+
+ <td><i><a href="fxcanon.html">fxcanon</a></i> produces an equivalent canonical
+ XML document. <a href="http://www.jclark.com/xml/canonxml.html">Canonical
+@@ -73,7 +73,7 @@
+ </tr>
+
+ <tr>
+-<td><img SRC="ball-shadow.jpg" ALT="o" ></td>
++<td><img SRC="Images/ball-shadow.jpg" ALT="o" ></td>
+
+ <td><i><a href="fxcopy.html">fxcopy</a></i> reproduces the document parsed
+ by <i>fxp</i>. The copy can be generated in a different encoding than the
+@@ -82,7 +82,7 @@
+ </tr>
+
+ <tr>
+-<td><img SRC="ball-shadow.jpg" ALT="o" ></td>
++<td><img SRC="Images/ball-shadow.jpg" ALT="o" ></td>
+
+ <td><i><a href="fxesis.html">fxesis</a></i> adds a backend to <i>fxp</i>,
+ producing an output similar to <i><a href="http://www.jclark.com/sp/nsgmls.htm">nsgmls</a></i>'s
+@@ -90,26 +90,26 @@
+ </tr>
+
+ <tr>
+-<td><img SRC="ball-shadow.jpg" ALT="o" ></td>
++<td><img SRC="Images/ball-shadow.jpg" ALT="o" ></td>
+
+ <td><i><a href="fxviz.html">fxviz</a></i> is an XML tree visualizer. It
+ produces a graph description suitable as input to Georg Sander's <i><a href="ftp://ftp.cs.uni-sb.de/pub/graphics/vcg/">vcg</a></i>.&nbsp;</td>
+ </tr>
+ </table>
+ More <a href="features.html">features</a> of <i>fxp</i> are <a href="features.html">here</a>.
+-<p><img SRC="shadow.jpg" ALT="----------------" >
++<p><img SRC="Images/shadow.jpg" ALT="----------------" >
+
+ <h3><a NAME="VERSION"></a><i>fxp</i> Versions and Changes</h3>
+
+ <p>The current version of <i>fxp</i> is 2.0. Changes from the
+ previous versions are described <a href="CHANGES">here</a>.</p>
+
+-<p><img SRC="shadow.jpg" ALT="----------------" >
++<p><img SRC="Images/shadow.jpg" ALT="----------------" >
+
+ <h3>
+ <a NAME="GET"></a>Downloading <i>fxp</i></h3>
+ The source code for <i>fxp</i> can be downloaded by <a href="fxp.tar.gz">http</a>. The Copyright note is <a href="COPYRIGHT">here</a>.
+-<p><img SRC="shadow.jpg" ALT="----------------" >
++<p><img SRC="Images/shadow.jpg" ALT="----------------" >
+ <h3>
+ <a NAME="INSTALL"></a>Installation instructions</h3> In order to
+ install <i>fxp</i>, you need an SML compiler. It has been tested with
+@@ -218,15 +218,15 @@
+ <li>
+ If you want to use <i>fxviz</i>, you should also install <i><a href="ftp://ftp.cs.uni-sb.de/pub/graphics/vcg/">vcg</a></i>.</li>
+ </ol>
+-<img SRC="shadow.jpg" ALT="----------------" >
++<img SRC="Images/shadow.jpg" ALT="----------------" >
+
+ <h3><a NAME="API"></a><i>fxp</i>'s Programming Interface</h3>
+ Here is a <a href="api.ps">document </a>describinng the programming interface
+-<p><img SRC="shadow.jpg" ALT="----------------" >
++<p><img SRC="Images/shadow.jpg" ALT="----------------" >
+
+ <h3><i>fxp</i>'s feedback address</h3>
+-Any feedback related to fxp is welcome to: <img src="Images/email.png"> <p><img
+-SRC="shadow.jpg" ALT="----------------" >
++Any feedback related to fxp is welcome to: <img SRC="Images/email.png"> <p><img
++SRC="Images/shadow.jpg" ALT="----------------" >
+
+
+ <h3>Credits:</h3> The author of fxp is <a
diff --git a/textproc/sml-fxp/files/patch-fxp.sh.in b/textproc/sml-fxp/files/patch-fxp.sh.in
new file mode 100644
index 000000000000..bd007893c9db
--- /dev/null
+++ b/textproc/sml-fxp/files/patch-fxp.sh.in
@@ -0,0 +1,19 @@
+--- fxp.sh.in.orig Sat Jun 26 02:43:02 2004
++++ fxp.sh.in Sun Sep 16 15:36:34 2007
+@@ -1,13 +1,7 @@
+
+-ARCH_N_OPSYS=`${SML_BINDIR}/.arch-n-opsys`
+-if [ "$?" != "0" ]; then
+- echo "$CMD: unable to determine architecture/operating system"
+- exit 1
+-fi
+-eval ${ARCH_N_OPSYS}
+-
+ PROG=`basename $0`
+ HEAP=${FXP_LIBDIR}/_${PROG}
+-RUN=${SML_BINDIR}/.run/run.${ARCH}-${OPSYS}
+
+-exec ${RUN} @SMLcmdname=$0 @SMLdebug=/dev/null @SMLload=${HEAP} "$@"
++SMLNJ=yes exec ${SML_BINDIR}/sml @SMLcmdname=$0 @SMLdebug=/dev/null \
++ @SMLload=${HEAP} "$@"
++
diff --git a/textproc/sml-fxp/files/patch-src-Apps-Canon-canon.cm b/textproc/sml-fxp/files/patch-src-Apps-Canon-canon.cm
new file mode 100644
index 000000000000..cfd199161249
--- /dev/null
+++ b/textproc/sml-fxp/files/patch-src-Apps-Canon-canon.cm
@@ -0,0 +1,9 @@
+--- src/Apps/Canon/canon.cm.orig Sat Jun 26 02:42:59 2004
++++ src/Apps/Canon/canon.cm Sat Sep 8 11:39:02 2007
+@@ -5,3 +5,6 @@
+ canonHooks.sml
+ canon.sml
+ ../../fxlib.cm
++#if (SMLNJ_MINOR_VERSION > 40)
++ $/basis.cm
++#endif
diff --git a/textproc/sml-fxp/files/patch-src-Apps-Copy-copy.cm b/textproc/sml-fxp/files/patch-src-Apps-Copy-copy.cm
new file mode 100644
index 000000000000..8919a713646e
--- /dev/null
+++ b/textproc/sml-fxp/files/patch-src-Apps-Copy-copy.cm
@@ -0,0 +1,13 @@
+--- src/Apps/Copy/copy.cm.orig Sat Jun 26 02:43:00 2004
++++ src/Apps/Copy/copy.cm Sat Sep 8 11:39:39 2007
+@@ -1,5 +1,10 @@
+ Group is
++#if (SMLNJ_MINOR_VERSION > 40)
+ copyEncode.sml
++ $/basis.cm
++#else
++ copyEncode.orig.sml
++#endif
+ copyOptions.sml
+ copyOutput.sml
+ copyHooks.sml
diff --git a/textproc/sml-fxp/files/patch-src-Apps-Copy-copyEncode.sml b/textproc/sml-fxp/files/patch-src-Apps-Copy-copyEncode.sml
new file mode 100644
index 000000000000..6f4078cd3543
--- /dev/null
+++ b/textproc/sml-fxp/files/patch-src-Apps-Copy-copyEncode.sml
@@ -0,0 +1,12 @@
+diff -Naur src/Apps/Copy/copyEncode.sml.orig src/Apps/Copy/copyEncode.sml
+--- src/Apps/Copy/copyEncode.sml.orig 2003-10-09 09:48:00.000000000 -0500
++++ src/Apps/Copy/copyEncode.sml 2003-10-17 14:30:01.000000000 -0500
+@@ -126,7 +126,7 @@
+ | _ => if c<>q andalso validChar(f,c) then putChar(f,c) else putCharRef(f,c)
+
+ val f1 = putChar(f,q)
+- val f2 = Vector.foldli putOne f1 (cv,0,NONE)
++ val f2 = Vector.foldli putOne f1 cv
+ val f3 = putChar(f2,q)
+ in f3
+ end
diff --git a/textproc/sml-fxp/files/patch-src-Apps-Esis-esis.cm b/textproc/sml-fxp/files/patch-src-Apps-Esis-esis.cm
new file mode 100644
index 000000000000..38509cf81897
--- /dev/null
+++ b/textproc/sml-fxp/files/patch-src-Apps-Esis-esis.cm
@@ -0,0 +1,9 @@
+--- src/Apps/Esis/esis.cm.orig Sat Jun 26 02:43:01 2004
++++ src/Apps/Esis/esis.cm Sat Sep 8 11:40:02 2007
+@@ -5,3 +5,6 @@
+ esisHooks.sml
+ esisData.sml
+ ../../fxlib.cm
++#if (SMLNJ_MINOR_VERSION > 40)
++ $/basis.cm
++#endif
diff --git a/textproc/sml-fxp/files/patch-src-Apps-Null-null.cm b/textproc/sml-fxp/files/patch-src-Apps-Null-null.cm
new file mode 100644
index 000000000000..baf31624663e
--- /dev/null
+++ b/textproc/sml-fxp/files/patch-src-Apps-Null-null.cm
@@ -0,0 +1,9 @@
+--- src/Apps/Null/null.cm.orig Sat Jun 26 02:42:58 2004
++++ src/Apps/Null/null.cm Sat Sep 8 11:40:22 2007
+@@ -4,3 +4,6 @@
+ null.sml
+ nullHard.sml
+ ../../fxlib.cm
++#if (SMLNJ_MINOR_VERSION > 40)
++ $/basis.cm
++#endif
diff --git a/textproc/sml-fxp/files/patch-src-Apps-Viz-viz.cm b/textproc/sml-fxp/files/patch-src-Apps-Viz-viz.cm
new file mode 100644
index 000000000000..1738658f2a3b
--- /dev/null
+++ b/textproc/sml-fxp/files/patch-src-Apps-Viz-viz.cm
@@ -0,0 +1,9 @@
+--- src/Apps/Viz/viz.cm.orig Sat Jun 26 02:43:01 2004
++++ src/Apps/Viz/viz.cm Sat Sep 8 11:40:40 2007
+@@ -3,3 +3,6 @@
+ viz.sml
+ vizHooks.sml
+ ../../fxlib.cm
++#if (SMLNJ_MINOR_VERSION > 40)
++ $/basis.cm
++#endif
diff --git a/textproc/sml-fxp/files/patch-src-Parser-Dfa-dfaPassTwo.sml b/textproc/sml-fxp/files/patch-src-Parser-Dfa-dfaPassTwo.sml
new file mode 100644
index 000000000000..edf99e15297e
--- /dev/null
+++ b/textproc/sml-fxp/files/patch-src-Parser-Dfa-dfaPassTwo.sml
@@ -0,0 +1,11 @@
+diff -Naur src/Parser/Dfa/dfaPassTwo.sml.orig src/Parser/Dfa/dfaPassTwo.sml
+--- src/Parser/Dfa/dfaPassTwo.sml.orig 2003-10-09 09:47:55.000000000 -0500
++++ src/Parser/Dfa/dfaPassTwo.sml 2003-10-17 14:24:41.000000000 -0500
+@@ -72,6 +72,6 @@
+
+ val _ = do_cm (nil,true) cmi
+
+- in Array.extract (table,0,NONE)
++ in Array.vector table
+ end
+ end
diff --git a/textproc/sml-fxp/files/patch-src-Parser-Dfa-dfaString.sml b/textproc/sml-fxp/files/patch-src-Parser-Dfa-dfaString.sml
new file mode 100644
index 000000000000..6a391628b292
--- /dev/null
+++ b/textproc/sml-fxp/files/patch-src-Parser-Dfa-dfaString.sml
@@ -0,0 +1,17 @@
+diff -ruN src/Parser/Dfa/dfaString.sml.orig src/Parser/Dfa/dfaString.sml
+--- src/Parser/Dfa/dfaString.sml.orig 2004-06-25 18:42:52.000000000 +0200
++++ src/Parser/Dfa/dfaString.sml 2004-12-08 19:02:48.000000000 +0100
+@@ -68,11 +68,11 @@
+ (fn (i,q,yet) => if q<0 then yet
+ else " "::Elem2String (i+lo)::"->"::State2String q::yet)
+ (if fin then [" [Final]"] else nil)
+- (tab,0,NONE))
++ tab)
+
+ fun Dfa2String Elem2String tab =
+ String.concat
+ (Vector.foldri
+ (fn (q,row,yet) => State2String q::":"::Row2String Elem2String row::yet)
+- nil (tab,0,NONE))
++ nil tab)
+ end
diff --git a/textproc/sml-fxp/files/patch-src-Parser-Dfa-dfaUtil.sml b/textproc/sml-fxp/files/patch-src-Parser-Dfa-dfaUtil.sml
new file mode 100644
index 000000000000..9068ed3ee8e5
--- /dev/null
+++ b/textproc/sml-fxp/files/patch-src-Parser-Dfa-dfaUtil.sml
@@ -0,0 +1,12 @@
+diff -Naur src/Parser/Dfa/dfaUtil.sml.orig src/Parser/Dfa/dfaUtil.sml
+--- src/Parser/Dfa/dfaUtil.sml.orig 2003-10-09 09:47:54.000000000 -0500
++++ src/Parser/Dfa/dfaUtil.sml 2003-10-17 14:22:35.000000000 -0500
+@@ -124,7 +124,7 @@
+ val tab = Array.array(hi-lo+1,dfaError)
+ val _ = app (fn (q,a) => Array.update (tab,a-lo,q)) flw
+ in
+- (lo,hi,Array.extract (tab,0,NONE),fin)
++ (lo,hi,Array.vector tab,fin)
+ end
+
+ end
diff --git a/textproc/sml-fxp/files/patch-src-Parser-Dtd-dtdAttributes.sml b/textproc/sml-fxp/files/patch-src-Parser-Dtd-dtdAttributes.sml
new file mode 100644
index 000000000000..1cf618d9c9b6
--- /dev/null
+++ b/textproc/sml-fxp/files/patch-src-Parser-Dtd-dtdAttributes.sml
@@ -0,0 +1,12 @@
+diff -Naur src/Parser/Dtd/dtdAttributes.sml.orig src/Parser/Dtd/dtdAttributes.sml
+--- src/Parser/Dtd/dtdAttributes.sml.orig 2003-10-09 09:47:55.000000000 -0500
++++ src/Parser/Dtd/dtdAttributes.sml 2003-10-17 14:12:28.000000000 -0500
+@@ -65,7 +65,7 @@
+ ord(String.sub(s,1))-65,
+ true))
+ iso639codes
+- in Vector.tabulate(26,fn i => Array.extract (Array.sub(arr,i),0,NONE))
++ in Vector.tabulate(26,fn i => Array.vector (Array.sub(arr,i)))
+ end
+
+ (*--------------------------------------------------------------------*)
diff --git a/textproc/sml-fxp/files/patch-src-Parser-Params-dtd.sml b/textproc/sml-fxp/files/patch-src-Parser-Params-dtd.sml
new file mode 100644
index 000000000000..c8d64a19371f
--- /dev/null
+++ b/textproc/sml-fxp/files/patch-src-Parser-Params-dtd.sml
@@ -0,0 +1,18 @@
+diff -Naur src/Parser/Params/dtd.sml.orig src/Parser/Params/dtd.sml
+--- src/Parser/Params/dtd.sml.orig 2003-10-09 09:47:56.000000000 -0500
++++ src/Parser/Params/dtd.sml 2003-10-17 14:09:57.000000000 -0500
+@@ -290,10 +290,10 @@
+ val _ = map (fn i => Array.update(preRedef,i,false)) [1,2,3,4,5]
+ val _ = GenEnt2Index dtd [0wx2D] (* "-" *)
+ val _ = ParEnt2Index dtd [0wx2D] (* "-" *)
+- val _ = Vector.appi
+- (fn (_,(name,lit,cs))
+- => (setGenEnt dtd (GenEnt2Index dtd name,(GE_INTERN(lit,cs),false))))
+- (predefined,1,NONE)
++ val _ = VectorSlice.appi
++ (fn (_,(name,lit,cs))
++ => (setGenEnt dtd (GenEnt2Index dtd name,(GE_INTERN(lit,cs),false))))
++ (VectorSlice.slice (predefined,1,NONE))
+ in ()
+ end
+
diff --git a/textproc/sml-fxp/files/patch-src-Parser-Parse-parseContent.sml b/textproc/sml-fxp/files/patch-src-Parser-Parse-parseContent.sml
new file mode 100644
index 000000000000..508b4a73f3d4
--- /dev/null
+++ b/textproc/sml-fxp/files/patch-src-Parser-Parse-parseContent.sml
@@ -0,0 +1,14 @@
+diff -Naur src/Parser/Parse/parseContent.sml.orig src/Parser/Parse/parseContent.sml
+--- src/Parser/Parse/parseContent.sml.orig 2003-10-09 09:47:56.000000000 -0500
++++ src/Parser/Parse/parseContent.sml 2003-10-17 14:26:30.000000000 -0500
+@@ -587,7 +587,9 @@
+ val _ = Array.update(dataBuffer,0,c0)
+
+ fun data_hook (i,(a,q)) =
+- hookData(a,((!pos0,getPos q),Array.extract(dataBuffer,0,SOME i),false))
++ hookData(a,((!pos0,getPos q),
++ ArraySlice.vector(ArraySlice.slice(dataBuffer,0,SOME i)),
++ false))
+ fun takeOne (c,qE,i,aq as (a,q)) =
+ if i<DATA_BUFSIZE then (i+1,aq) before Array.update(dataBuffer,i,c)
+ else let val a1 = data_hook(i,(a,qE))
diff --git a/textproc/sml-fxp/files/patch-src-Unicode-Chars-charClasses.sml b/textproc/sml-fxp/files/patch-src-Unicode-Chars-charClasses.sml
new file mode 100644
index 000000000000..54399d57d98e
--- /dev/null
+++ b/textproc/sml-fxp/files/patch-src-Unicode-Chars-charClasses.sml
@@ -0,0 +1,12 @@
+diff -Naur src/Unicode/Chars/charClasses.sml.orig src/Unicode/Chars/charClasses.sml
+--- src/Unicode/Chars/charClasses.sml.orig 2003-10-09 09:47:58.000000000 -0500
++++ src/Unicode/Chars/charClasses.sml 2003-10-17 13:49:08.000000000 -0500
+@@ -91,7 +91,7 @@
+ (*--------------------------------------------------------------------*)
+ fun initialize(min,max) =
+ Array.array((Chars.toInt max-Chars.toInt min+1) div 32+1,0wx0):MutableClass
+- fun finalize arr = Array.extract(arr,0,NONE)
++ fun finalize arr = Array.vector arr
+
+ (*--------------------------------------------------------------------*)
+ (* add a single character to a CharClass. *)
diff --git a/textproc/sml-fxp/files/patch-src-Unicode-Chars-uniChar.sml b/textproc/sml-fxp/files/patch-src-Unicode-Chars-uniChar.sml
new file mode 100644
index 000000000000..8fc0eb447202
--- /dev/null
+++ b/textproc/sml-fxp/files/patch-src-Unicode-Chars-uniChar.sml
@@ -0,0 +1,22 @@
+diff -Naur src/Unicode/Chars/uniChar.sml.orig src/Unicode/Chars/uniChar.sml
+--- src/Unicode/Chars/uniChar.sml.orig 2003-10-09 09:47:58.000000000 -0500
++++ src/Unicode/Chars/uniChar.sml 2003-10-17 13:43:07.000000000 -0500
+@@ -108,10 +108,14 @@
+ if len<=maxlen orelse maxlen=0
+ then Data2String (Vector2Data vec)
+ else let
+- val cs1 = Vector.foldri
+- (fn (_,c,cs) => c::cs) nil (vec,0,SOME (maxlen div 2))
+- val cs2 = Vector.foldri
+- (fn (_,c,cs) => c::cs) nil (vec,len-3-maxlen div 2,NONE)
++ val cs1 = VectorSlice.foldri
++ (fn (_,c,cs) => c::cs)
++ nil
++ (VectorSlice.slice (vec,0,SOME (maxlen div 2)))
++ val cs2 = VectorSlice.foldri
++ (fn (_,c,cs) => c::cs)
++ nil
++ (VectorSlice.slice (vec,len-3-maxlen div 2,NONE))
+ in Data2String cs1^"..."^Data2String cs2
+ end
+ end
diff --git a/textproc/sml-fxp/files/patch-src-Unicode-Uri-uri.sml b/textproc/sml-fxp/files/patch-src-Unicode-Uri-uri.sml
new file mode 100644
index 000000000000..fe6cb439b6d8
--- /dev/null
+++ b/textproc/sml-fxp/files/patch-src-Unicode-Uri-uri.sml
@@ -0,0 +1,36 @@
+--- src/Unicode/Uri/uri.sml.orig Mon May 28 15:04:18 2007
++++ src/Unicode/Uri/uri.sml Mon May 28 15:05:32 2007
+@@ -50,6 +50,8 @@
+
+ val slash = "/"
+
++ fun substringAll s = Substring.substring(s, 0, String.size s)
++
+ fun uriSuffix s =
+ let fun search i = if i<0 then NONE else case String.sub(s,i)
+ of #"." => SOME i
+@@ -154,7 +156,7 @@
+
+ fun convertCommand str (src,dst) =
+ let
+- val s = Substring.all str
++ val s = substringAll str
+ fun doit ss s =
+ if Substring.isEmpty s then ss
+ else let val (sl,sr) = Substring.splitr (fn c => #"%"<>c) s
+@@ -162,12 +164,12 @@
+ else let val sl' = Substring.trimr 1 sl
+ in case Substring.first sr
+ of SOME #"1" => let val sr' = Substring.triml 1 sr
+- in doit (Substring.all src::sr'::ss) sl'
++ in doit (substringAll src::sr'::ss) sl'
+ end
+ | SOME #"2" => let val sr' = Substring.triml 1 sr
+- in doit (Substring.all dst::sr'::ss) sl'
++ in doit (substringAll dst::sr'::ss) sl'
+ end
+- | _ => doit (Substring.all "%"::sr::ss) sl'
++ | _ => doit (substringAll "%"::sr::ss) sl'
+ end
+ end
+ val ss = doit nil s
diff --git a/textproc/sml-fxp/files/patch-src-Unicode-Uri-uriEncode.sml b/textproc/sml-fxp/files/patch-src-Unicode-Uri-uriEncode.sml
new file mode 100644
index 000000000000..a87e945e2267
--- /dev/null
+++ b/textproc/sml-fxp/files/patch-src-Unicode-Uri-uriEncode.sml
@@ -0,0 +1,21 @@
+diff -Naur src/Unicode/Uri/uriEncode.sml.orig src/Unicode/Uri/uriEncode.sml
+--- src/Unicode/Uri/uriEncode.sml.orig 2003-10-09 09:47:57.000000000 -0500
++++ src/Unicode/Uri/uriEncode.sml 2003-10-17 13:52:57.000000000 -0500
+@@ -73,7 +73,7 @@
+ in c2::c1:: #"%"::s
+ end)
+ s (encodeCharUtf8 c))
+- nil (cv,0,NONE)
++ nil cv
+ in String.implode (rev revd)
+ end
+
+@@ -85,7 +85,7 @@
+ else let val (c1,c2) = Byte2Cc (Char2Byte c)
+ in c2::c1:: #"%"::s
+ end))
+- nil (cv,0,NONE)
++ nil cv
+ in String.implode (rev revd)
+ end
+
diff --git a/textproc/sml-fxp/files/patch-src-Util-SymDict-dict.sml b/textproc/sml-fxp/files/patch-src-Util-SymDict-dict.sml
new file mode 100644
index 000000000000..c6843938b4f9
--- /dev/null
+++ b/textproc/sml-fxp/files/patch-src-Util-SymDict-dict.sml
@@ -0,0 +1,23 @@
+diff -Naur src/Util/SymDict/dict.sml.orig src/Util/SymDict/dict.sml
+--- src/Util/SymDict/dict.sml.orig 2003-10-09 09:47:59.000000000 -0500
++++ src/Util/SymDict/dict.sml 2003-10-17 13:57:44.000000000 -0500
+@@ -230,7 +230,7 @@
+ in ()
+ end
+ in
+- Array.appi addTo (oldTab,0,NONE)
++ Array.appi addTo oldTab
+ end
+
+ (*--------------------------------------------------------------------*)
+@@ -316,8 +316,8 @@
+ (*--------------------------------------------------------------------*)
+ fun printDict X2String ({desc,tab,count,...}:'a Dict) =
+ (print (desc^" dictionary:\n");
+- Array.appi
++ ArraySlice.appi
+ (fn (n,(key,value)) =>
+ print (" "^Int.toString n^": "^Key.toString key^" = "^X2String value^"\n"))
+- (!tab,0,SOME (!count)))
++ (ArraySlice.slice(!tab,0,SOME (!count))))
+ end
diff --git a/textproc/sml-fxp/files/patch-src-Util-SymDict-symbolTable.sml b/textproc/sml-fxp/files/patch-src-Util-SymDict-symbolTable.sml
new file mode 100644
index 000000000000..8e8d29a7ad94
--- /dev/null
+++ b/textproc/sml-fxp/files/patch-src-Util-SymDict-symbolTable.sml
@@ -0,0 +1,31 @@
+diff -Naur src/Util/SymDict/symbolTable.sml.orig src/Util/SymDict/symbolTable.sml
+--- src/Util/SymDict/symbolTable.sml.orig 2003-10-09 09:47:59.000000000 -0500
++++ src/Util/SymDict/symbolTable.sml 2003-10-17 14:03:39.000000000 -0500
+@@ -219,7 +219,7 @@
+ val _ = Array.update(newTab,i,key)
+ in ()
+ end
+- val _ = Array.appi addToNew (!tab,0,NONE)
++ val _ = Array.appi addToNew (!tab)
+
+ val _ = tab := newTab
+ val _ = hash := newHash
+@@ -300,15 +300,15 @@
+ (* extract the contents of a symbol table to a vector. *)
+ (*--------------------------------------------------------------------*)
+ fun extractSymTable({count,tab,...}:SymTable) =
+- Array.extract(!tab,0,SOME(!count))
++ ArraySlice.vector(ArraySlice.slice(!tab,0,SOME(!count)))
+
+ (*--------------------------------------------------------------------*)
+ (* print the contents of the symbol table. *)
+ (*--------------------------------------------------------------------*)
+ fun printSymTable ({desc,tab,count,...}:SymTable) =
+ (print (desc^" table:\n");
+- Array.appi
++ ArraySlice.appi
+ (fn (n,key) =>
+ print (" "^Int.toString n^": "^Key.toString key^"\n"))
+- (!tab,0,SOME (!count)))
++ (ArraySlice.slice(!tab,0,SOME (!count))))
+ end
diff --git a/textproc/sml-fxp/files/patch-src-Util-intSets.sml b/textproc/sml-fxp/files/patch-src-Util-intSets.sml
new file mode 100644
index 000000000000..968ce68ffbd4
--- /dev/null
+++ b/textproc/sml-fxp/files/patch-src-Util-intSets.sml
@@ -0,0 +1,32 @@
+diff -Naur src/Util/intSets.sml.orig src/Util/intSets.sml
+--- src/Util/intSets.sml.orig 2003-10-09 09:47:58.000000000 -0500
++++ src/Util/intSets.sml 2003-10-17 14:20:11.000000000 -0500
+@@ -49,8 +49,8 @@
+
+ fun normalize (vec:IntSet) =
+ let val max = Vector.foldli
+- (fn (i,w,max) => if w=0wx0 then i else max) 0 (vec,0,NONE)
+- in Vector.extract (vec,0,SOME max)
++ (fn (i,w,max) => if w=0wx0 then i else max) 0 vec
++ in VectorSlice.vector(VectorSlice.slice (vec,0,SOME max))
+ end
+
+ val emptyIntSet = Vector.fromList nil : IntSet
+@@ -88,7 +88,7 @@
+ val size = Vector.length vec
+ in
+ if size>idx
+- then Vector.mapi (fn (i,x) => if i=idx then x||mask else x) (vec,0,NONE)
++ then Vector.mapi (fn (i,x) => if i=idx then x||mask else x) vec
+ else Vector.tabulate
+ (idx+1,fn i => if i<size then Vector.sub(vec,i) else if i=idx then mask else 0w0)
+ end
+@@ -100,7 +100,7 @@
+ val vec1 = if size<=idx then vec
+ else let val mask = !! (0w1 << (Word.fromInt (n mod wordSize)))
+ in Vector.mapi
+- (fn (i,x) => if i=idx then x && mask else x) (vec,0,NONE)
++ (fn (i,x) => if i=idx then x && mask else x) vec
+ end
+ in normalize vec1
+ end
diff --git a/textproc/sml-fxp/files/patch-src-Util-utilString.sml b/textproc/sml-fxp/files/patch-src-Util-utilString.sml
new file mode 100644
index 000000000000..8e3ef1aea677
--- /dev/null
+++ b/textproc/sml-fxp/files/patch-src-Util-utilString.sml
@@ -0,0 +1,14 @@
+diff -Naur src/Util/utilString.sml.orig src/Util/utilString.sml
+--- src/Util/utilString.sml.orig 2003-10-09 09:47:58.000000000 -0500
++++ src/Util/utilString.sml 2003-10-17 13:38:53.000000000 -0500
+@@ -230,6 +230,9 @@
+ if Vector.length vec=0 then pre^post
+ else String.concat
+ (pre::X2String(Vector.sub(vec,0))::
+- Vector.foldri (fn (_,x,yet) => sep::X2String x::yet) [post] (vec,1,NONE))
++ VectorSlice.foldri
++ (fn (_,x,yet) => sep::X2String x::yet)
++ [post]
++ (VectorSlice.slice (vec,1,NONE)))
+ fun Vector2String X2String vec = Vector2xString ("#[",",","]") X2String vec
+ end
diff --git a/textproc/sml-fxp/files/patch-src-Util-utilTime.sml b/textproc/sml-fxp/files/patch-src-Util-utilTime.sml
new file mode 100644
index 000000000000..1131f86735a2
--- /dev/null
+++ b/textproc/sml-fxp/files/patch-src-Util-utilTime.sml
@@ -0,0 +1,13 @@
+--- src/Util/utilTime.sml.orig Mon May 28 15:08:45 2007
++++ src/Util/utilTime.sml Mon May 28 15:09:58 2007
+@@ -12,8 +12,8 @@
+ (*--------------------------------------------------------------------------*)
+ signature UtilTime =
+ sig
+- val time : ('a -> 'b) -> 'a -> 'b * {usr:Time.time, sys:Time.time, gc:Time.time}
+- val timeN : int -> ('a -> 'b) -> 'a -> 'b * {usr:Time.time, sys:Time.time, gc:Time.time}
++ val time : ('a -> 'b) -> 'a -> 'b * {usr:Time.time, sys:Time.time}
++ val timeN : int -> ('a -> 'b) -> 'a -> 'b * {usr:Time.time, sys:Time.time}
+ end
+
+ structure UtilTime : UtilTime =
diff --git a/textproc/sml-fxp/files/patch-src-config.sml b/textproc/sml-fxp/files/patch-src-config.sml
new file mode 100644
index 000000000000..e715593b22e6
--- /dev/null
+++ b/textproc/sml-fxp/files/patch-src-config.sml
@@ -0,0 +1,9 @@
+--- src/config.sml.orig Fri Sep 7 21:35:49 2007
++++ src/config.sml Fri Sep 7 21:36:17 2007
+@@ -15,5 +15,5 @@
+ (* val retrieveCommand = "got_it -o %2 %1" *)
+ (* val retrieveCommand = "urlget -s -o %2 %1" *)
+ (*---------------------------------------------------------------------*)
+- val retrieveCommand = "wget -qO %2 %1"
++ val retrieveCommand = "fetch -qo %2 %1"
+ end
diff --git a/textproc/sml-fxp/files/patch-src-fxlib.cm b/textproc/sml-fxp/files/patch-src-fxlib.cm
new file mode 100644
index 000000000000..53740ca021ed
--- /dev/null
+++ b/textproc/sml-fxp/files/patch-src-fxlib.cm
@@ -0,0 +1,163 @@
+--- src/fxlib.cm.orig Sat Jun 26 02:42:57 2004
++++ src/fxlib.cm Wed Jun 6 08:47:33 2007
+@@ -1,96 +1,64 @@
+-Group is
+- Catalog/catData.sml
+- Catalog/catDtd.sml
+- Catalog/catError.sml
+- Catalog/catFile.sml
+- Catalog/catHooks.sml
+- Catalog/catOptions.sml
+- Catalog/catParams.sml
+- Catalog/catParse.sml
+- Catalog/catResolve.sml
+- Catalog/catalog.sml
+- Catalog/socatParse.sml
+- Parser/Base/base.sml
+- Parser/Base/baseData.sml
+- Parser/Base/baseString.sml
+- Parser/Dfa/dfa.sml
+- Parser/Dfa/dfaData.sml
+- Parser/Dfa/dfaError.sml
+- Parser/Dfa/dfaOptions.sml
+- Parser/Dfa/dfaPassOne.sml
+- Parser/Dfa/dfaPassThree.sml
+- Parser/Dfa/dfaPassTwo.sml
+- Parser/Dfa/dfaString.sml
+- Parser/Dfa/dfaUtil.sml
+- Parser/Dtd/dtdAttributes.sml
+- Parser/Dtd/dtdDeclare.sml
+- Parser/Dtd/dtdManager.sml
+- Parser/Error/errorData.sml
+- Parser/Error/errorMessage.sml
+- Parser/Error/errorString.sml
+- Parser/Error/errorUtil.sml
+- Parser/Error/errors.sml
+- Parser/Error/expected.sml
+- Parser/Params/dtd.sml
+- Parser/Params/hookData.sml
+- Parser/Params/hooks.sml
+- Parser/Params/ignore.sml
+- Parser/Params/parserOptions.sml
+- Parser/Params/resolve.sml
+- Parser/Parse/parseBase.sml
+- Parser/Parse/parseContent.sml
+- Parser/Parse/parseDecl.sml
+- Parser/Parse/parseDocument.sml
+- Parser/Parse/parseDtd.sml
+- Parser/Parse/parseLiterals.sml
+- Parser/Parse/parseMisc.sml
+- Parser/Parse/parseNames.sml
+- Parser/Parse/parseRefs.sml
+- Parser/Parse/parseTags.sml
+- Parser/Parse/parseXml.sml
+- Parser/entities.sml
+- Parser/version.sml
+- Unicode/Chars/charClasses.sml
+- Unicode/Chars/charVecDict.sml
+- Unicode/Chars/dataDict.sml
+- Unicode/Chars/testClasses.sml
+- Unicode/Chars/uniChar.sml
+- Unicode/Chars/uniClasses.sml
+- Unicode/Chars/uniRanges.sml
+- Unicode/Decode/decode.sml
+- Unicode/Decode/decodeError.sml
+- Unicode/Decode/decodeFile.sml
+- Unicode/Decode/decodeMisc.sml
+- Unicode/Decode/decodeUcs2.sml
+- Unicode/Decode/decodeUcs4.sml
+- Unicode/Decode/decodeUtf16.sml
+- Unicode/Decode/decodeUtf8.sml
+- Unicode/Decode/decodeUtil.sml
+- Unicode/Encode/encode.sml
+- Unicode/Encode/encodeBasic.sml
+- Unicode/Encode/encodeError.sml
+- Unicode/Encode/encodeMisc.sml
+- Unicode/Uri/uri.sml
+- Unicode/Uri/uriDecode.sml
+- Unicode/Uri/uriDict.sml
+- Unicode/Uri/uriEncode.sml
+- Unicode/encoding.sml
+- Util/SymDict/dict.sml
+- Util/SymDict/intDict.sml
+- Util/SymDict/intListDict.sml
+- Util/SymDict/intSetDict.sml
+- Util/SymDict/key.sml
+- Util/SymDict/stringDict.sml
+- Util/SymDict/symbolTable.sml
+- Util/intLists.sml
+- Util/intSets.sml
+- Util/options.sml
+- Util/utilCompare.sml
+- Util/utilError.sml
+- Util/utilHash.sml
+- Util/utilInt.sml
+- Util/utilList.sml
+- Util/utilString.sml
+- Util/utilTime.sml
+- config.sml
+- genRandom.sml
++Library
++ structure Config
++
++ (* Parser *)
++ functor Parse
++
++ structure Base
++
++ signature Entities
++ functor Entities
++ structure Version
++
++ structure DfaData
++ structure Errors
++
++ signature Resolve
++ structure ResolveNull
++ signature Dtd
++ structure Dtd
++ structure HookData
++ structure IgnoreHooks
++ signature Hooks
++ signature ParserOptions
++ functor ParserOptions
++
++ (* Util *)
++ signature IntSets
++ structure IntSets
++ signature Options
++ structure Options
++ signature UtilError
++ structure UtilError
++ signature UtilList
++ structure UtilList
++ signature UtilString
++ structure UtilString
++
++ (* Catalog *)
++ signature CatError
++ structure CatError
++ signature CatOptions
++ functor CatOptions
++ signature CatParams
++ functor ResolveCatalog
++
++ (* Unicode *)
++ signature Encoding
++ structure Encoding
++ signature Encode
++ structure Encode
++ signature Uri
++ structure Uri
++ signature UniChar
++ structure UniChar
++ signature UniClasses
++ structure UniClasses
++is
++ Parser/parser.cm
++ Util/util.cm
++ Catalog/catalog.cm
++ Unicode/unicode.cm
++
++ config.cm
++
diff --git a/textproc/sml-fxp/files/sml-nj-devel-plist b/textproc/sml-fxp/files/sml-nj-devel-plist
new file mode 100644
index 000000000000..3f8013259943
--- /dev/null
+++ b/textproc/sml-fxp/files/sml-nj-devel-plist
@@ -0,0 +1,3 @@
+%%STABLE%%lib/sml-fxp/src/.cm/x86-unix/fxlib.cm
+%%STABLE%%@dirrm lib/sml-fxp/src/.cm/x86-unix
+%%STABLE%%@dirrm lib/sml-fxp/src/.cm
diff --git a/textproc/sml-fxp/files/sml-nj-plist b/textproc/sml-fxp/files/sml-nj-plist
new file mode 100644
index 000000000000..36b3d6b8a93a
--- /dev/null
+++ b/textproc/sml-fxp/files/sml-nj-plist
@@ -0,0 +1,262 @@
+%%SML_EXEC%%bin/fxp.sh
+%%SML_EXEC%%lib/sml-fxp/_fxviz.x86-bsd
+%%SML_EXEC%%lib/sml-fxp/_fxp.x86-bsd
+%%SML_EXEC%%lib/sml-fxp/_fxesis.x86-bsd
+%%SML_EXEC%%lib/sml-fxp/_fxcopy.x86-bsd
+%%SML_EXEC%%lib/sml-fxp/_fxcanon.x86-bsd
+%%STABLE%%lib/sml-fxp/src/CM/x86-unix/fxlib.cm.stable
+%%STABLE%%lib/sml-fxp/src/CM/DEPEND/config.sml
+%%STABLE%%lib/sml-fxp/src/CM/x86-unix/config.cm.stable
+%%STABLE%%lib/sml-fxp/src/CM/x86-unix/config.sml.bin
+%%STABLE%%lib/sml-fxp/src/Catalog/CM/DEPEND/catData.sml
+%%STABLE%%lib/sml-fxp/src/Catalog/CM/DEPEND/catDtd.sml
+%%STABLE%%lib/sml-fxp/src/Catalog/CM/DEPEND/catError.sml
+%%STABLE%%lib/sml-fxp/src/Catalog/CM/DEPEND/catFile.sml
+%%STABLE%%lib/sml-fxp/src/Catalog/CM/DEPEND/catHooks.sml
+%%STABLE%%lib/sml-fxp/src/Catalog/CM/DEPEND/catOptions.sml
+%%STABLE%%lib/sml-fxp/src/Catalog/CM/DEPEND/catParams.sml
+%%STABLE%%lib/sml-fxp/src/Catalog/CM/DEPEND/catParse.sml
+%%STABLE%%lib/sml-fxp/src/Catalog/CM/DEPEND/catResolve.sml
+%%STABLE%%lib/sml-fxp/src/Catalog/CM/DEPEND/catalog.sml
+%%STABLE%%lib/sml-fxp/src/Catalog/CM/DEPEND/socatParse.sml
+%%STABLE%%lib/sml-fxp/src/Catalog/CM/x86-unix/catData.sml.bin
+%%STABLE%%lib/sml-fxp/src/Catalog/CM/x86-unix/catDtd.sml.bin
+%%STABLE%%lib/sml-fxp/src/Catalog/CM/x86-unix/catError.sml.bin
+%%STABLE%%lib/sml-fxp/src/Catalog/CM/x86-unix/catFile.sml.bin
+%%STABLE%%lib/sml-fxp/src/Catalog/CM/x86-unix/catHooks.sml.bin
+%%STABLE%%lib/sml-fxp/src/Catalog/CM/x86-unix/catOptions.sml.bin
+%%STABLE%%lib/sml-fxp/src/Catalog/CM/x86-unix/catParams.sml.bin
+%%STABLE%%lib/sml-fxp/src/Catalog/CM/x86-unix/catParse.sml.bin
+%%STABLE%%lib/sml-fxp/src/Catalog/CM/x86-unix/catResolve.sml.bin
+%%STABLE%%lib/sml-fxp/src/Catalog/CM/x86-unix/catalog.cm.stable
+%%STABLE%%lib/sml-fxp/src/Catalog/CM/x86-unix/catalog.sml.bin
+%%STABLE%%lib/sml-fxp/src/Catalog/CM/x86-unix/socatParse.sml.bin
+%%STABLE%%lib/sml-fxp/src/Parser/Base/CM/DEPEND/base.sml
+%%STABLE%%lib/sml-fxp/src/Parser/Base/CM/DEPEND/baseData.sml
+%%STABLE%%lib/sml-fxp/src/Parser/Base/CM/DEPEND/baseString.sml
+%%STABLE%%lib/sml-fxp/src/Parser/Base/CM/x86-unix/base.cm.stable
+%%STABLE%%lib/sml-fxp/src/Parser/Base/CM/x86-unix/base.sml.bin
+%%STABLE%%lib/sml-fxp/src/Parser/Base/CM/x86-unix/baseData.sml.bin
+%%STABLE%%lib/sml-fxp/src/Parser/Base/CM/x86-unix/baseString.sml.bin
+%%STABLE%%lib/sml-fxp/src/Parser/CM/DEPEND/entities.sml
+%%STABLE%%lib/sml-fxp/src/Parser/CM/DEPEND/version.sml
+%%STABLE%%lib/sml-fxp/src/Parser/CM/x86-unix/entities.cm.stable
+%%STABLE%%lib/sml-fxp/src/Parser/CM/x86-unix/entities.sml.bin
+%%STABLE%%lib/sml-fxp/src/Parser/CM/x86-unix/parser.cm.stable
+%%STABLE%%lib/sml-fxp/src/Parser/CM/x86-unix/version.sml.bin
+%%STABLE%%lib/sml-fxp/src/Parser/Dfa/CM/DEPEND/dfa.sml
+%%STABLE%%lib/sml-fxp/src/Parser/Dfa/CM/DEPEND/dfaData.sml
+%%STABLE%%lib/sml-fxp/src/Parser/Dfa/CM/DEPEND/dfaError.sml
+%%STABLE%%lib/sml-fxp/src/Parser/Dfa/CM/DEPEND/dfaOptions.sml
+%%STABLE%%lib/sml-fxp/src/Parser/Dfa/CM/DEPEND/dfaPassOne.sml
+%%STABLE%%lib/sml-fxp/src/Parser/Dfa/CM/DEPEND/dfaPassThree.sml
+%%STABLE%%lib/sml-fxp/src/Parser/Dfa/CM/DEPEND/dfaPassTwo.orig.sml
+%%STABLE%%lib/sml-fxp/src/Parser/Dfa/CM/DEPEND/dfaString.orig.sml
+%%STABLE%%lib/sml-fxp/src/Parser/Dfa/CM/DEPEND/dfaUtil.orig.sml
+%%STABLE%%lib/sml-fxp/src/Parser/Dfa/CM/x86-unix/dfa.cm.stable
+%%STABLE%%lib/sml-fxp/src/Parser/Dfa/CM/x86-unix/dfa.sml.bin
+%%STABLE%%lib/sml-fxp/src/Parser/Dfa/CM/x86-unix/dfaData.sml.bin
+%%STABLE%%lib/sml-fxp/src/Parser/Dfa/CM/x86-unix/dfaError.sml.bin
+%%STABLE%%lib/sml-fxp/src/Parser/Dfa/CM/x86-unix/dfaOptions.sml.bin
+%%STABLE%%lib/sml-fxp/src/Parser/Dfa/CM/x86-unix/dfaPassOne.sml.bin
+%%STABLE%%lib/sml-fxp/src/Parser/Dfa/CM/x86-unix/dfaPassThree.sml.bin
+%%STABLE%%lib/sml-fxp/src/Parser/Dfa/CM/x86-unix/dfaPassTwo.orig.sml.bin
+%%STABLE%%lib/sml-fxp/src/Parser/Dfa/CM/x86-unix/dfaString.orig.sml.bin
+%%STABLE%%lib/sml-fxp/src/Parser/Dfa/CM/x86-unix/dfaUtil.orig.sml.bin
+%%STABLE%%lib/sml-fxp/src/Parser/Dtd/CM/DEPEND/dtdAttributes.orig.sml
+%%STABLE%%lib/sml-fxp/src/Parser/Dtd/CM/DEPEND/dtdDeclare.sml
+%%STABLE%%lib/sml-fxp/src/Parser/Dtd/CM/DEPEND/dtdManager.sml
+%%STABLE%%lib/sml-fxp/src/Parser/Dtd/CM/x86-unix/dtd.cm.stable
+%%STABLE%%lib/sml-fxp/src/Parser/Dtd/CM/x86-unix/dtdAttributes.orig.sml.bin
+%%STABLE%%lib/sml-fxp/src/Parser/Dtd/CM/x86-unix/dtdDeclare.sml.bin
+%%STABLE%%lib/sml-fxp/src/Parser/Dtd/CM/x86-unix/dtdManager.sml.bin
+%%STABLE%%lib/sml-fxp/src/Parser/Error/CM/DEPEND/errorData.sml
+%%STABLE%%lib/sml-fxp/src/Parser/Error/CM/DEPEND/errorMessage.sml
+%%STABLE%%lib/sml-fxp/src/Parser/Error/CM/DEPEND/errorString.sml
+%%STABLE%%lib/sml-fxp/src/Parser/Error/CM/DEPEND/errorUtil.sml
+%%STABLE%%lib/sml-fxp/src/Parser/Error/CM/DEPEND/errors.sml
+%%STABLE%%lib/sml-fxp/src/Parser/Error/CM/DEPEND/expected.sml
+%%STABLE%%lib/sml-fxp/src/Parser/Error/CM/x86-unix/error.cm.stable
+%%STABLE%%lib/sml-fxp/src/Parser/Error/CM/x86-unix/errorData.sml.bin
+%%STABLE%%lib/sml-fxp/src/Parser/Error/CM/x86-unix/errorMessage.sml.bin
+%%STABLE%%lib/sml-fxp/src/Parser/Error/CM/x86-unix/errorString.sml.bin
+%%STABLE%%lib/sml-fxp/src/Parser/Error/CM/x86-unix/errorUtil.sml.bin
+%%STABLE%%lib/sml-fxp/src/Parser/Error/CM/x86-unix/errors.sml.bin
+%%STABLE%%lib/sml-fxp/src/Parser/Error/CM/x86-unix/expected.sml.bin
+%%STABLE%%lib/sml-fxp/src/Parser/Params/CM/DEPEND/dtd.orig.sml
+%%STABLE%%lib/sml-fxp/src/Parser/Params/CM/DEPEND/hookData.sml
+%%STABLE%%lib/sml-fxp/src/Parser/Params/CM/DEPEND/hooks.sml
+%%STABLE%%lib/sml-fxp/src/Parser/Params/CM/DEPEND/ignore.sml
+%%STABLE%%lib/sml-fxp/src/Parser/Params/CM/DEPEND/parserOptions.sml
+%%STABLE%%lib/sml-fxp/src/Parser/Params/CM/DEPEND/resolve.sml
+%%STABLE%%lib/sml-fxp/src/Parser/Params/CM/x86-unix/dtd.orig.sml.bin
+%%STABLE%%lib/sml-fxp/src/Parser/Params/CM/x86-unix/hookData.sml.bin
+%%STABLE%%lib/sml-fxp/src/Parser/Params/CM/x86-unix/hooks.sml.bin
+%%STABLE%%lib/sml-fxp/src/Parser/Params/CM/x86-unix/ignore.sml.bin
+%%STABLE%%lib/sml-fxp/src/Parser/Params/CM/x86-unix/params.cm.stable
+%%STABLE%%lib/sml-fxp/src/Parser/Params/CM/x86-unix/parserOptions.sml.bin
+%%STABLE%%lib/sml-fxp/src/Parser/Params/CM/x86-unix/resolve.sml.bin
+%%STABLE%%lib/sml-fxp/src/Parser/Parse/CM/DEPEND/parseBase.sml
+%%STABLE%%lib/sml-fxp/src/Parser/Parse/CM/DEPEND/parseContent.orig.sml
+%%STABLE%%lib/sml-fxp/src/Parser/Parse/CM/DEPEND/parseDecl.sml
+%%STABLE%%lib/sml-fxp/src/Parser/Parse/CM/DEPEND/parseDocument.sml
+%%STABLE%%lib/sml-fxp/src/Parser/Parse/CM/DEPEND/parseDtd.sml
+%%STABLE%%lib/sml-fxp/src/Parser/Parse/CM/DEPEND/parseLiterals.sml
+%%STABLE%%lib/sml-fxp/src/Parser/Parse/CM/DEPEND/parseMisc.sml
+%%STABLE%%lib/sml-fxp/src/Parser/Parse/CM/DEPEND/parseNames.sml
+%%STABLE%%lib/sml-fxp/src/Parser/Parse/CM/DEPEND/parseRefs.sml
+%%STABLE%%lib/sml-fxp/src/Parser/Parse/CM/DEPEND/parseTags.sml
+%%STABLE%%lib/sml-fxp/src/Parser/Parse/CM/DEPEND/parseXml.sml
+%%STABLE%%lib/sml-fxp/src/Parser/Parse/CM/x86-unix/parse.cm.stable
+%%STABLE%%lib/sml-fxp/src/Parser/Parse/CM/x86-unix/parseBase.sml.bin
+%%STABLE%%lib/sml-fxp/src/Parser/Parse/CM/x86-unix/parseContent.orig.sml.bin
+%%STABLE%%lib/sml-fxp/src/Parser/Parse/CM/x86-unix/parseDecl.sml.bin
+%%STABLE%%lib/sml-fxp/src/Parser/Parse/CM/x86-unix/parseDocument.sml.bin
+%%STABLE%%lib/sml-fxp/src/Parser/Parse/CM/x86-unix/parseDtd.sml.bin
+%%STABLE%%lib/sml-fxp/src/Parser/Parse/CM/x86-unix/parseLiterals.sml.bin
+%%STABLE%%lib/sml-fxp/src/Parser/Parse/CM/x86-unix/parseMisc.sml.bin
+%%STABLE%%lib/sml-fxp/src/Parser/Parse/CM/x86-unix/parseNames.sml.bin
+%%STABLE%%lib/sml-fxp/src/Parser/Parse/CM/x86-unix/parseRefs.sml.bin
+%%STABLE%%lib/sml-fxp/src/Parser/Parse/CM/x86-unix/parseTags.sml.bin
+%%STABLE%%lib/sml-fxp/src/Parser/Parse/CM/x86-unix/parseXml.sml.bin
+%%STABLE%%lib/sml-fxp/src/Unicode/CM/DEPEND/encoding.sml
+%%STABLE%%lib/sml-fxp/src/Unicode/CM/x86-unix/encoding.cm.stable
+%%STABLE%%lib/sml-fxp/src/Unicode/CM/x86-unix/encoding.sml.bin
+%%STABLE%%lib/sml-fxp/src/Unicode/CM/x86-unix/unicode.cm.stable
+%%STABLE%%lib/sml-fxp/src/Unicode/Chars/CM/DEPEND/charClasses.orig.sml
+%%STABLE%%lib/sml-fxp/src/Unicode/Chars/CM/DEPEND/charVecDict.sml
+%%STABLE%%lib/sml-fxp/src/Unicode/Chars/CM/DEPEND/dataDict.sml
+%%STABLE%%lib/sml-fxp/src/Unicode/Chars/CM/DEPEND/testClasses.sml
+%%STABLE%%lib/sml-fxp/src/Unicode/Chars/CM/DEPEND/uniChar.orig.sml
+%%STABLE%%lib/sml-fxp/src/Unicode/Chars/CM/DEPEND/uniClasses.sml
+%%STABLE%%lib/sml-fxp/src/Unicode/Chars/CM/DEPEND/uniRanges.sml
+%%STABLE%%lib/sml-fxp/src/Unicode/Chars/CM/x86-unix/charClasses.orig.sml.bin
+%%STABLE%%lib/sml-fxp/src/Unicode/Chars/CM/x86-unix/charVecDict.sml.bin
+%%STABLE%%lib/sml-fxp/src/Unicode/Chars/CM/x86-unix/chars.cm.stable
+%%STABLE%%lib/sml-fxp/src/Unicode/Chars/CM/x86-unix/dataDict.sml.bin
+%%STABLE%%lib/sml-fxp/src/Unicode/Chars/CM/x86-unix/testClasses.sml.bin
+%%STABLE%%lib/sml-fxp/src/Unicode/Chars/CM/x86-unix/uniChar.orig.sml.bin
+%%STABLE%%lib/sml-fxp/src/Unicode/Chars/CM/x86-unix/uniClasses.sml.bin
+%%STABLE%%lib/sml-fxp/src/Unicode/Chars/CM/x86-unix/uniRanges.sml.bin
+%%STABLE%%lib/sml-fxp/src/Unicode/Decode/CM/DEPEND/decode.sml
+%%STABLE%%lib/sml-fxp/src/Unicode/Decode/CM/DEPEND/decodeError.sml
+%%STABLE%%lib/sml-fxp/src/Unicode/Decode/CM/DEPEND/decodeFile.sml
+%%STABLE%%lib/sml-fxp/src/Unicode/Decode/CM/DEPEND/decodeMisc.sml
+%%STABLE%%lib/sml-fxp/src/Unicode/Decode/CM/DEPEND/decodeUcs2.sml
+%%STABLE%%lib/sml-fxp/src/Unicode/Decode/CM/DEPEND/decodeUcs4.sml
+%%STABLE%%lib/sml-fxp/src/Unicode/Decode/CM/DEPEND/decodeUtf16.sml
+%%STABLE%%lib/sml-fxp/src/Unicode/Decode/CM/DEPEND/decodeUtf8.sml
+%%STABLE%%lib/sml-fxp/src/Unicode/Decode/CM/DEPEND/decodeUtil.sml
+%%STABLE%%lib/sml-fxp/src/Unicode/Decode/CM/x86-unix/decode.cm.stable
+%%STABLE%%lib/sml-fxp/src/Unicode/Decode/CM/x86-unix/decode.sml.bin
+%%STABLE%%lib/sml-fxp/src/Unicode/Decode/CM/x86-unix/decodeError.sml.bin
+%%STABLE%%lib/sml-fxp/src/Unicode/Decode/CM/x86-unix/decodeFile.sml.bin
+%%STABLE%%lib/sml-fxp/src/Unicode/Decode/CM/x86-unix/decodeMisc.sml.bin
+%%STABLE%%lib/sml-fxp/src/Unicode/Decode/CM/x86-unix/decodeUcs2.sml.bin
+%%STABLE%%lib/sml-fxp/src/Unicode/Decode/CM/x86-unix/decodeUcs4.sml.bin
+%%STABLE%%lib/sml-fxp/src/Unicode/Decode/CM/x86-unix/decodeUtf16.sml.bin
+%%STABLE%%lib/sml-fxp/src/Unicode/Decode/CM/x86-unix/decodeUtf8.sml.bin
+%%STABLE%%lib/sml-fxp/src/Unicode/Decode/CM/x86-unix/decodeUtil.sml.bin
+%%STABLE%%lib/sml-fxp/src/Unicode/Encode/CM/DEPEND/encode.sml
+%%STABLE%%lib/sml-fxp/src/Unicode/Encode/CM/DEPEND/encodeBasic.sml
+%%STABLE%%lib/sml-fxp/src/Unicode/Encode/CM/DEPEND/encodeError.sml
+%%STABLE%%lib/sml-fxp/src/Unicode/Encode/CM/DEPEND/encodeMisc.sml
+%%STABLE%%lib/sml-fxp/src/Unicode/Encode/CM/x86-unix/encode.cm.stable
+%%STABLE%%lib/sml-fxp/src/Unicode/Encode/CM/x86-unix/encode.sml.bin
+%%STABLE%%lib/sml-fxp/src/Unicode/Encode/CM/x86-unix/encodeBasic.sml.bin
+%%STABLE%%lib/sml-fxp/src/Unicode/Encode/CM/x86-unix/encodeError.sml.bin
+%%STABLE%%lib/sml-fxp/src/Unicode/Encode/CM/x86-unix/encodeMisc.sml.bin
+%%STABLE%%lib/sml-fxp/src/Unicode/Uri/CM/DEPEND/uri.orig.sml
+%%STABLE%%lib/sml-fxp/src/Unicode/Uri/CM/DEPEND/uriDecode.sml
+%%STABLE%%lib/sml-fxp/src/Unicode/Uri/CM/DEPEND/uriDict.sml
+%%STABLE%%lib/sml-fxp/src/Unicode/Uri/CM/DEPEND/uriEncode.orig.sml
+%%STABLE%%lib/sml-fxp/src/Unicode/Uri/CM/x86-unix/uri.cm.stable
+%%STABLE%%lib/sml-fxp/src/Unicode/Uri/CM/x86-unix/uri.orig.sml.bin
+%%STABLE%%lib/sml-fxp/src/Unicode/Uri/CM/x86-unix/uriDecode.sml.bin
+%%STABLE%%lib/sml-fxp/src/Unicode/Uri/CM/x86-unix/uriDict.sml.bin
+%%STABLE%%lib/sml-fxp/src/Unicode/Uri/CM/x86-unix/uriEncode.orig.sml.bin
+%%STABLE%%lib/sml-fxp/src/Util/CM/DEPEND/intLists.sml
+%%STABLE%%lib/sml-fxp/src/Util/CM/DEPEND/intSets.orig.sml
+%%STABLE%%lib/sml-fxp/src/Util/CM/DEPEND/options.sml
+%%STABLE%%lib/sml-fxp/src/Util/CM/DEPEND/utilCompare.sml
+%%STABLE%%lib/sml-fxp/src/Util/CM/DEPEND/utilError.sml
+%%STABLE%%lib/sml-fxp/src/Util/CM/DEPEND/utilHash.sml
+%%STABLE%%lib/sml-fxp/src/Util/CM/DEPEND/utilInt.sml
+%%STABLE%%lib/sml-fxp/src/Util/CM/DEPEND/utilList.sml
+%%STABLE%%lib/sml-fxp/src/Util/CM/DEPEND/utilString.orig.sml
+%%STABLE%%lib/sml-fxp/src/Util/CM/DEPEND/utilTime.orig.sml
+%%STABLE%%lib/sml-fxp/src/Util/CM/x86-unix/intLists.sml.bin
+%%STABLE%%lib/sml-fxp/src/Util/CM/x86-unix/intSets.orig.sml.bin
+%%STABLE%%lib/sml-fxp/src/Util/CM/x86-unix/options.sml.bin
+%%STABLE%%lib/sml-fxp/src/Util/CM/x86-unix/util.cm.stable
+%%STABLE%%lib/sml-fxp/src/Util/CM/x86-unix/utilCompare.sml.bin
+%%STABLE%%lib/sml-fxp/src/Util/CM/x86-unix/utilError.sml.bin
+%%STABLE%%lib/sml-fxp/src/Util/CM/x86-unix/utilHash.sml.bin
+%%STABLE%%lib/sml-fxp/src/Util/CM/x86-unix/utilInt.sml.bin
+%%STABLE%%lib/sml-fxp/src/Util/CM/x86-unix/utilList.sml.bin
+%%STABLE%%lib/sml-fxp/src/Util/CM/x86-unix/utilString.orig.sml.bin
+%%STABLE%%lib/sml-fxp/src/Util/CM/x86-unix/utilTime.orig.sml.bin
+%%STABLE%%lib/sml-fxp/src/Util/SymDict/CM/DEPEND/dict.orig.sml
+%%STABLE%%lib/sml-fxp/src/Util/SymDict/CM/DEPEND/intDict.sml
+%%STABLE%%lib/sml-fxp/src/Util/SymDict/CM/DEPEND/intListDict.sml
+%%STABLE%%lib/sml-fxp/src/Util/SymDict/CM/DEPEND/intSetDict.sml
+%%STABLE%%lib/sml-fxp/src/Util/SymDict/CM/DEPEND/key.sml
+%%STABLE%%lib/sml-fxp/src/Util/SymDict/CM/DEPEND/stringDict.sml
+%%STABLE%%lib/sml-fxp/src/Util/SymDict/CM/DEPEND/symbolTable.orig.sml
+%%STABLE%%lib/sml-fxp/src/Util/SymDict/CM/x86-unix/dict.orig.sml.bin
+%%STABLE%%lib/sml-fxp/src/Util/SymDict/CM/x86-unix/intDict.sml.bin
+%%STABLE%%lib/sml-fxp/src/Util/SymDict/CM/x86-unix/intListDict.sml.bin
+%%STABLE%%lib/sml-fxp/src/Util/SymDict/CM/x86-unix/intSetDict.sml.bin
+%%STABLE%%lib/sml-fxp/src/Util/SymDict/CM/x86-unix/key.sml.bin
+%%STABLE%%lib/sml-fxp/src/Util/SymDict/CM/x86-unix/stringDict.sml.bin
+%%STABLE%%lib/sml-fxp/src/Util/SymDict/CM/x86-unix/symbolTable.orig.sml.bin
+%%STABLE%%lib/sml-fxp/src/Util/SymDict/CM/x86-unix/symdict.cm.stable
+%%STABLE%%@dirrm lib/sml-fxp/src/CM/x86-unix
+%%STABLE%%@dirrm lib/sml-fxp/src/CM
+%%STABLE%%@dirrm lib/sml-fxp/src/Util/SymDict/CM/x86-unix
+%%STABLE%%@dirrm lib/sml-fxp/src/Util/SymDict/CM/DEPEND
+%%STABLE%%@dirrm lib/sml-fxp/src/Util/SymDict/CM
+%%STABLE%%@dirrm lib/sml-fxp/src/Util/CM/x86-unix
+%%STABLE%%@dirrm lib/sml-fxp/src/Util/CM/DEPEND
+%%STABLE%%@dirrm lib/sml-fxp/src/Util/CM
+%%STABLE%%@dirrm lib/sml-fxp/src/Unicode/Uri/CM/x86-unix
+%%STABLE%%@dirrm lib/sml-fxp/src/Unicode/Uri/CM/DEPEND
+%%STABLE%%@dirrm lib/sml-fxp/src/Unicode/Uri/CM
+%%STABLE%%@dirrm lib/sml-fxp/src/Unicode/Encode/CM/x86-unix
+%%STABLE%%@dirrm lib/sml-fxp/src/Unicode/Encode/CM/DEPEND
+%%STABLE%%@dirrm lib/sml-fxp/src/Unicode/Encode/CM
+%%STABLE%%@dirrm lib/sml-fxp/src/Unicode/Decode/CM/x86-unix
+%%STABLE%%@dirrm lib/sml-fxp/src/Unicode/Decode/CM/DEPEND
+%%STABLE%%@dirrm lib/sml-fxp/src/Unicode/Decode/CM
+%%STABLE%%@dirrm lib/sml-fxp/src/Unicode/Chars/CM/x86-unix
+%%STABLE%%@dirrm lib/sml-fxp/src/Unicode/Chars/CM/DEPEND
+%%STABLE%%@dirrm lib/sml-fxp/src/Unicode/Chars/CM
+%%STABLE%%@dirrm lib/sml-fxp/src/Unicode/CM/x86-unix
+%%STABLE%%@dirrm lib/sml-fxp/src/Unicode/CM/DEPEND
+%%STABLE%%@dirrm lib/sml-fxp/src/Unicode/CM
+%%STABLE%%@dirrm lib/sml-fxp/src/Parser/Parse/CM/x86-unix
+%%STABLE%%@dirrm lib/sml-fxp/src/Parser/Parse/CM/DEPEND
+%%STABLE%%@dirrm lib/sml-fxp/src/Parser/Parse/CM
+%%STABLE%%@dirrm lib/sml-fxp/src/Parser/Params/CM/x86-unix
+%%STABLE%%@dirrm lib/sml-fxp/src/Parser/Params/CM/DEPEND
+%%STABLE%%@dirrm lib/sml-fxp/src/Parser/Params/CM
+%%STABLE%%@dirrm lib/sml-fxp/src/Parser/Error/CM/x86-unix
+%%STABLE%%@dirrm lib/sml-fxp/src/Parser/Error/CM/DEPEND
+%%STABLE%%@dirrm lib/sml-fxp/src/Parser/Error/CM
+%%STABLE%%@dirrm lib/sml-fxp/src/Parser/Dtd/CM/x86-unix
+%%STABLE%%@dirrm lib/sml-fxp/src/Parser/Dtd/CM/DEPEND
+%%STABLE%%@dirrm lib/sml-fxp/src/Parser/Dtd/CM
+%%STABLE%%@dirrm lib/sml-fxp/src/Parser/Dfa/CM/x86-unix
+%%STABLE%%@dirrm lib/sml-fxp/src/Parser/Dfa/CM/DEPEND
+%%STABLE%%@dirrm lib/sml-fxp/src/Parser/Dfa/CM
+%%STABLE%%@dirrm lib/sml-fxp/src/Parser/CM/x86-unix
+%%STABLE%%@dirrm lib/sml-fxp/src/Parser/CM/DEPEND
+%%STABLE%%@dirrm lib/sml-fxp/src/Parser/CM
+%%STABLE%%@dirrm lib/sml-fxp/src/Parser/Base/CM/x86-unix
+%%STABLE%%@dirrm lib/sml-fxp/src/Parser/Base/CM/DEPEND
+%%STABLE%%@dirrm lib/sml-fxp/src/Parser/Base/CM
+%%STABLE%%@dirrm lib/sml-fxp/src/Catalog/CM/x86-unix
+%%STABLE%%@dirrm lib/sml-fxp/src/Catalog/CM/DEPEND
+%%STABLE%%@dirrm lib/sml-fxp/src/Catalog/CM
+%%STABLE%%@dirrm lib/sml-fxp/src/CM/x86-unix
+%%STABLE%%@dirrm lib/sml-fxp/src/CM/DEPEND
diff --git a/textproc/sml-fxp/files/src-Apps-Canon-canon.mlb b/textproc/sml-fxp/files/src-Apps-Canon-canon.mlb
new file mode 100644
index 000000000000..ab0ff80b5da3
--- /dev/null
+++ b/textproc/sml-fxp/files/src-Apps-Canon-canon.mlb
@@ -0,0 +1,16 @@
+ann
+ "nonexhaustiveMatch warn"
+ "sequenceNonUnit warn"
+in
+ local
+ $(MLTON_ROOT)/basis/basis.mlb
+ ../../fxlib.mlb
+ in
+ canonOptions.sml
+ canonEncode.sml
+ canonOutput.sml
+ canonHooks.sml
+ canon.sml
+ runcanon.sml
+ end
+end
diff --git a/textproc/sml-fxp/files/src-Apps-Canon-runcanon.sml b/textproc/sml-fxp/files/src-Apps-Canon-runcanon.sml
new file mode 100644
index 000000000000..93e14e0f7e73
--- /dev/null
+++ b/textproc/sml-fxp/files/src-Apps-Canon-runcanon.sml
@@ -0,0 +1,2 @@
+val _ = Canon.canon (CommandLine.name(), CommandLine.arguments())
+
diff --git a/textproc/sml-fxp/files/src-Apps-Copy-copy.mlb b/textproc/sml-fxp/files/src-Apps-Copy-copy.mlb
new file mode 100644
index 000000000000..0eb0eb1410bf
--- /dev/null
+++ b/textproc/sml-fxp/files/src-Apps-Copy-copy.mlb
@@ -0,0 +1,16 @@
+ann
+ "nonexhaustiveMatch warn"
+ "sequenceNonUnit warn"
+in
+ local
+ $(MLTON_ROOT)/basis/basis.mlb
+ ../../fxlib.mlb
+ in
+ copyOptions.sml
+ copyEncode.sml
+ copyOutput.sml
+ copyHooks.sml
+ copy.sml
+ runcopy.sml
+ end
+end
diff --git a/textproc/sml-fxp/files/src-Apps-Copy-runcopy.sml b/textproc/sml-fxp/files/src-Apps-Copy-runcopy.sml
new file mode 100644
index 000000000000..fb09d5af491f
--- /dev/null
+++ b/textproc/sml-fxp/files/src-Apps-Copy-runcopy.sml
@@ -0,0 +1,2 @@
+val _ = Copy.copy (CommandLine.name(), CommandLine.arguments())
+
diff --git a/textproc/sml-fxp/files/src-Apps-Esis-esis.mlb b/textproc/sml-fxp/files/src-Apps-Esis-esis.mlb
new file mode 100644
index 000000000000..e52cda01ab00
--- /dev/null
+++ b/textproc/sml-fxp/files/src-Apps-Esis-esis.mlb
@@ -0,0 +1,16 @@
+ann
+ "nonexhaustiveMatch warn"
+ "sequenceNonUnit warn"
+in
+ local
+ $(MLTON_ROOT)/basis/basis.mlb
+ ../../fxlib.mlb
+ in
+ esisOptions.sml
+ esisData.sml
+ esisOutput.sml
+ esisHooks.sml
+ esis.sml
+ runesis.sml
+ end
+end
diff --git a/textproc/sml-fxp/files/src-Apps-Esis-runesis.sml b/textproc/sml-fxp/files/src-Apps-Esis-runesis.sml
new file mode 100644
index 000000000000..e958cc7527cc
--- /dev/null
+++ b/textproc/sml-fxp/files/src-Apps-Esis-runesis.sml
@@ -0,0 +1,2 @@
+val _ = Esis.esis (CommandLine.name(), CommandLine.arguments())
+
diff --git a/textproc/sml-fxp/files/src-Apps-Null-null.mlb b/textproc/sml-fxp/files/src-Apps-Null-null.mlb
new file mode 100644
index 000000000000..762d45a49b20
--- /dev/null
+++ b/textproc/sml-fxp/files/src-Apps-Null-null.mlb
@@ -0,0 +1,15 @@
+ann
+ "nonexhaustiveMatch warn"
+ "sequenceNonUnit warn"
+in
+ local
+ $(MLTON_ROOT)/basis/basis.mlb
+ ../../fxlib.mlb
+ in
+ nullOptions.sml
+ nullHooks.sml
+ nullHard.sml
+ null.sml
+ runnull.sml
+ end
+end
diff --git a/textproc/sml-fxp/files/src-Apps-Null-runnull.sml b/textproc/sml-fxp/files/src-Apps-Null-runnull.sml
new file mode 100644
index 000000000000..4be7471a71d7
--- /dev/null
+++ b/textproc/sml-fxp/files/src-Apps-Null-runnull.sml
@@ -0,0 +1,2 @@
+val _ = Null.null (CommandLine.name(), CommandLine.arguments())
+
diff --git a/textproc/sml-fxp/files/src-Apps-Viz-runviz.sml b/textproc/sml-fxp/files/src-Apps-Viz-runviz.sml
new file mode 100644
index 000000000000..8c85b2c3fb91
--- /dev/null
+++ b/textproc/sml-fxp/files/src-Apps-Viz-runviz.sml
@@ -0,0 +1,2 @@
+val _ = Viz.viz (CommandLine.name(), CommandLine.arguments())
+
diff --git a/textproc/sml-fxp/files/src-Apps-Viz-viz.mlb b/textproc/sml-fxp/files/src-Apps-Viz-viz.mlb
new file mode 100644
index 000000000000..820ac4f09660
--- /dev/null
+++ b/textproc/sml-fxp/files/src-Apps-Viz-viz.mlb
@@ -0,0 +1,14 @@
+ann
+ "nonexhaustiveMatch warn"
+ "sequenceNonUnit warn"
+in
+ local
+ $(MLTON_ROOT)/basis/basis.mlb
+ ../../fxlib.mlb
+ in
+ vizOptions.sml
+ vizHooks.sml
+ viz.sml
+ runviz.sml
+ end
+end
diff --git a/textproc/sml-fxp/files/src-Catalog-catalog.cm b/textproc/sml-fxp/files/src-Catalog-catalog.cm
new file mode 100644
index 000000000000..69318d3503d6
--- /dev/null
+++ b/textproc/sml-fxp/files/src-Catalog-catalog.cm
@@ -0,0 +1,28 @@
+Group
+ signature CatError
+ structure CatError
+ signature CatOptions
+ functor CatOptions
+ signature CatParams
+ functor ResolveCatalog
+is
+ catData.sml
+ catDtd.sml
+ catError.sml
+ catFile.sml
+ catHooks.sml
+ catOptions.sml
+ catParams.sml
+ catParse.sml
+ catResolve.sml
+ catalog.sml
+ socatParse.sml
+
+ ../Unicode/unicode.cm
+ ../Parser/parser.cm
+ ../Util/util.cm
+
+#if (SMLNJ_MINOR_VERSION > 40)
+ $/basis.cm
+#endif
+
diff --git a/textproc/sml-fxp/files/src-Parser-Base-base.cm b/textproc/sml-fxp/files/src-Parser-Base-base.cm
new file mode 100644
index 000000000000..4d9c5cef85a3
--- /dev/null
+++ b/textproc/sml-fxp/files/src-Parser-Base-base.cm
@@ -0,0 +1,16 @@
+Group
+ structure Base
+is
+ base.sml
+ baseData.sml
+ baseString.sml
+
+ ../Dfa/dfa.cm
+ ../Error/error.cm
+ ../../Unicode/unicode.cm
+ ../../Util/util.cm
+
+#if (SMLNJ_MINOR_VERSION > 40)
+ $/basis.cm
+#endif
+
diff --git a/textproc/sml-fxp/files/src-Parser-Dfa-dfa.cm b/textproc/sml-fxp/files/src-Parser-Dfa-dfa.cm
new file mode 100644
index 000000000000..b03491ec2515
--- /dev/null
+++ b/textproc/sml-fxp/files/src-Parser-Dfa-dfa.cm
@@ -0,0 +1,31 @@
+Group
+ structure DfaData
+
+ signature DfaString
+ structure DfaString
+ signature Dfa
+ functor Dfa
+ signature DfaOptions
+ functor DfaOptions
+is
+ dfa.sml
+ dfaData.sml
+ dfaError.sml
+ dfaOptions.sml
+ dfaPassOne.sml
+ dfaPassThree.sml
+
+#if (SMLNJ_MINOR_VERSION > 40)
+ dfaPassTwo.sml
+ dfaString.sml
+ dfaUtil.sml
+ $/basis.cm
+#else
+ dfaPassTwo.orig.sml
+ dfaString.orig.sml
+ dfaUtil.orig.sml
+#endif
+
+ ../../Util/util.cm
+ ../../Util/SymDict/symdict.cm
+
diff --git a/textproc/sml-fxp/files/src-Parser-Dtd-dtd.cm b/textproc/sml-fxp/files/src-Parser-Dtd-dtd.cm
new file mode 100644
index 000000000000..43a0c5c5b89c
--- /dev/null
+++ b/textproc/sml-fxp/files/src-Parser-Dtd-dtd.cm
@@ -0,0 +1,20 @@
+Group
+ signature DtdManager
+ functor DtdManager
+is
+#if (SMLNJ_MINOR_VERSION > 40)
+ dtdAttributes.sml
+ $/basis.cm
+#else
+ dtdAttributes.orig.sml
+#endif
+ dtdDeclare.sml
+ dtdManager.sml
+
+ ../entities.cm
+ ../Params/params.cm
+ ../Base/base.cm
+ ../Error/error.cm
+ ../../Unicode/unicode.cm
+ ../../Util/util.cm
+
diff --git a/textproc/sml-fxp/files/src-Parser-Error-error.cm b/textproc/sml-fxp/files/src-Parser-Error-error.cm
new file mode 100644
index 000000000000..622ab0193947
--- /dev/null
+++ b/textproc/sml-fxp/files/src-Parser-Error-error.cm
@@ -0,0 +1,17 @@
+Group
+ structure Errors
+is
+ errorData.sml
+ errorMessage.sml
+ errorString.sml
+ errorUtil.sml
+ errors.sml
+ expected.sml
+
+ ../../Util/util.cm
+ ../../Unicode/unicode.cm
+
+#if (SMLNJ_MINOR_VERSION > 40)
+ $/basis.cm
+#endif
+
diff --git a/textproc/sml-fxp/files/src-Parser-Params-params.cm b/textproc/sml-fxp/files/src-Parser-Params-params.cm
new file mode 100644
index 000000000000..5fb9b30491c1
--- /dev/null
+++ b/textproc/sml-fxp/files/src-Parser-Params-params.cm
@@ -0,0 +1,32 @@
+Group
+ signature Dtd
+ structure Dtd
+
+ signature Hooks
+ structure HookData
+ structure IgnoreHooks
+
+ signature ParserOptions
+ functor ParserOptions
+
+ signature Resolve
+ structure ResolveNull
+is
+#if (SMLNJ_MINOR_VERSION > 40)
+ dtd.sml
+ $/basis.cm
+#else
+ dtd.orig.sml
+#endif
+ hookData.sml
+ hooks.sml
+ ignore.sml
+ parserOptions.sml
+ resolve.sml
+
+ ../Dfa/dfa.cm
+ ../Error/error.cm
+ ../Base/base.cm
+ ../../Util/util.cm
+ ../../Unicode/unicode.cm
+
diff --git a/textproc/sml-fxp/files/src-Parser-Parse-parse.cm b/textproc/sml-fxp/files/src-Parser-Parse-parse.cm
new file mode 100644
index 000000000000..2ac897623e8a
--- /dev/null
+++ b/textproc/sml-fxp/files/src-Parser-Parse-parse.cm
@@ -0,0 +1,30 @@
+Group
+ functor Parse
+is
+ parseBase.sml
+#if (SMLNJ_MINOR_VERSION > 40)
+ parseContent.sml
+ $/basis.cm
+#else
+ parseContent.orig.sml
+#endif
+ parseDecl.sml
+ parseDocument.sml
+ parseDtd.sml
+ parseLiterals.sml
+ parseMisc.sml
+ parseNames.sml
+ parseRefs.sml
+ parseTags.sml
+ parseXml.sml
+
+ ../Base/base.cm
+ ../Error/error.cm
+ ../Dfa/dfa.cm
+ ../Dtd/dtd.cm
+ ../Params/params.cm
+ ../../Unicode/unicode.cm
+ ../../Util/util.cm
+ ../../Util/SymDict/symdict.cm
+
+
diff --git a/textproc/sml-fxp/files/src-Parser-entities.cm b/textproc/sml-fxp/files/src-Parser-entities.cm
new file mode 100644
index 000000000000..7cb8a38c7a33
--- /dev/null
+++ b/textproc/sml-fxp/files/src-Parser-entities.cm
@@ -0,0 +1,15 @@
+Group
+ signature Entities
+ functor Entities
+is
+ entities.sml
+
+ Params/params.cm
+ Error/error.cm
+ ../Util/util.cm
+ ../Unicode/unicode.cm
+
+#if (SMLNJ_MINOR_VERSION > 40)
+ $/basis.cm
+#endif
+
diff --git a/textproc/sml-fxp/files/src-Parser-parser.cm b/textproc/sml-fxp/files/src-Parser-parser.cm
new file mode 100644
index 000000000000..b8223afadac6
--- /dev/null
+++ b/textproc/sml-fxp/files/src-Parser-parser.cm
@@ -0,0 +1,32 @@
+Group
+ functor Parse
+
+ structure Base
+
+ signature Entities
+ functor Entities
+ structure Version
+
+ structure DfaData
+ structure Errors
+
+ signature Resolve
+ structure ResolveNull
+ signature Dtd
+ structure Dtd
+ structure HookData
+ structure IgnoreHooks
+ signature Hooks
+ signature ParserOptions
+ functor ParserOptions
+is
+ version.sml
+ entities.cm
+
+ Base/base.cm
+ Dfa/dfa.cm
+ Dtd/dtd.cm
+ Error/error.cm
+ Params/params.cm
+ Parse/parse.cm
+
diff --git a/textproc/sml-fxp/files/src-Unicode-Chars-chars.cm b/textproc/sml-fxp/files/src-Unicode-Chars-chars.cm
new file mode 100644
index 000000000000..efcb2ec19e85
--- /dev/null
+++ b/textproc/sml-fxp/files/src-Unicode-Chars-chars.cm
@@ -0,0 +1,25 @@
+Group
+ structure DataDict
+ structure DataSymTab
+ signature UniChar
+ structure UniChar
+ signature UniClasses
+ structure UniClasses
+is
+#if (SMLNJ_MINOR_VERSION > 40)
+ charClasses.sml
+ uniChar.sml
+ $/basis.cm
+#else
+ charClasses.orig.sml
+ uniChar.orig.sml
+#endif
+ charVecDict.sml
+ dataDict.sml
+ testClasses.sml
+ uniClasses.sml
+ uniRanges.sml
+
+ ../../Util/util.cm
+ ../../Util/SymDict/symdict.cm
+
diff --git a/textproc/sml-fxp/files/src-Unicode-Decode-decode.cm b/textproc/sml-fxp/files/src-Unicode-Decode-decode.cm
new file mode 100644
index 000000000000..7e210e3c3c58
--- /dev/null
+++ b/textproc/sml-fxp/files/src-Unicode-Decode-decode.cm
@@ -0,0 +1,26 @@
+Group
+ signature Decode
+ structure Decode
+ signature DecodeFile
+ structure DecodeFile
+is
+ decode.sml
+ decodeError.sml
+ decodeFile.sml
+ decodeMisc.sml
+ decodeUcs2.sml
+ decodeUcs4.sml
+ decodeUtf16.sml
+ decodeUtf8.sml
+ decodeUtil.sml
+
+ ../Chars/chars.cm
+ ../Uri/uri.cm
+ ../../Util/util.cm
+ ../encoding.cm
+ ../../Util/SymDict/symdict.cm
+
+#if (SMLNJ_MINOR_VERSION > 40)
+ $/basis.cm
+#endif
+
diff --git a/textproc/sml-fxp/files/src-Unicode-Encode-encode.cm b/textproc/sml-fxp/files/src-Unicode-Encode-encode.cm
new file mode 100644
index 000000000000..d3e832182a33
--- /dev/null
+++ b/textproc/sml-fxp/files/src-Unicode-Encode-encode.cm
@@ -0,0 +1,17 @@
+Group
+ signature Encode
+ structure Encode
+is
+ encode.sml
+ encodeBasic.sml
+ encodeError.sml
+ encodeMisc.sml
+
+ ../Chars/chars.cm
+ ../../Util/util.cm
+ ../encoding.cm
+
+#if (SMLNJ_MINOR_VERSION > 40)
+ $/basis.cm
+#endif
+
diff --git a/textproc/sml-fxp/files/src-Unicode-Uri-uri.cm b/textproc/sml-fxp/files/src-Unicode-Uri-uri.cm
new file mode 100644
index 000000000000..d86a710a4e19
--- /dev/null
+++ b/textproc/sml-fxp/files/src-Unicode-Uri-uri.cm
@@ -0,0 +1,22 @@
+Group
+ signature Uri
+ structure Uri
+ structure UriDict
+is
+#if (SMLNJ_MINOR_VERSION > 40)
+ uri.sml
+ uriEncode.sml
+ $/basis.cm
+#else
+ uri.orig.sml
+ uriEncode.orig.sml
+#endif
+ uriDecode.sml
+ uriDict.sml
+
+ ../../Util/util.cm
+ ../Chars/chars.cm
+ ../../config.cm
+
+ ../../Util/SymDict/symdict.cm
+
diff --git a/textproc/sml-fxp/files/src-Unicode-encoding.cm b/textproc/sml-fxp/files/src-Unicode-encoding.cm
new file mode 100644
index 000000000000..25c9e135f1fa
--- /dev/null
+++ b/textproc/sml-fxp/files/src-Unicode-encoding.cm
@@ -0,0 +1,8 @@
+Group
+ signature Encoding
+ structure Encoding
+is
+ encoding.sml
+
+ ../Util/SymDict/symdict.cm
+
diff --git a/textproc/sml-fxp/files/src-Unicode-unicode.cm b/textproc/sml-fxp/files/src-Unicode-unicode.cm
new file mode 100644
index 000000000000..46bed4d767aa
--- /dev/null
+++ b/textproc/sml-fxp/files/src-Unicode-unicode.cm
@@ -0,0 +1,25 @@
+Group
+ signature Encoding
+ structure Encoding
+ signature Encode
+ structure Encode
+ signature Uri
+ structure Uri
+ structure UriDict
+ signature Decode
+ structure Decode
+ signature DecodeFile
+ structure DecodeFile
+ structure DataDict
+ structure DataSymTab
+ signature UniChar
+ structure UniChar
+ signature UniClasses
+ structure UniClasses
+is
+ encoding.cm
+ Chars/chars.cm
+ Decode/decode.cm
+ Encode/encode.cm
+ Uri/uri.cm
+
diff --git a/textproc/sml-fxp/files/src-Util-SymDict-symdict.cm b/textproc/sml-fxp/files/src-Util-SymDict-symdict.cm
new file mode 100644
index 000000000000..f01b9ac43e0d
--- /dev/null
+++ b/textproc/sml-fxp/files/src-Util-SymDict-symdict.cm
@@ -0,0 +1,30 @@
+Group
+ signature Dict
+ functor Dict
+ structure IntListDict
+ structure IntListSymTab
+ structure KeyIntSet
+ structure IntSetDict
+ signature Key
+ structure StringDict
+ signature SymTable
+ functor SymTable
+is
+
+#if (SMLNJ_MINOR_VERSION > 40)
+ dict.sml
+ symbolTable.sml
+ $/basis.cm
+#else
+ dict.orig.sml
+ symbolTable.orig.sml
+#endif
+
+ intDict.sml
+ intListDict.sml
+ intSetDict.sml
+ key.sml
+ stringDict.sml
+
+ ../util.cm
+
diff --git a/textproc/sml-fxp/files/src-Util-util.cm b/textproc/sml-fxp/files/src-Util-util.cm
new file mode 100644
index 000000000000..4c0142cea266
--- /dev/null
+++ b/textproc/sml-fxp/files/src-Util-util.cm
@@ -0,0 +1,38 @@
+Group
+ signature IntSets
+ structure IntSets
+ signature Options
+ structure Options
+ signature UtilCompare
+ structure UtilCompare
+ signature UtilError
+ structure UtilError
+ signature UtilHash
+ structure UtilHash
+ signature UtilInt
+ structure UtilInt
+ signature UtilList
+ structure UtilList
+ signature UtilString
+ structure UtilString
+is
+ intLists.sml
+
+#if (SMLNJ_MINOR_VERSION > 40)
+ intSets.sml
+ utilString.sml
+ utilTime.sml
+ $/basis.cm
+#else
+ intSets.orig.sml
+ utilString.orig.sml
+ utilTime.orig.sml
+#endif
+
+ options.sml
+ utilCompare.sml
+ utilError.sml
+ utilHash.sml
+ utilInt.sml
+ utilList.sml
+
diff --git a/textproc/sml-fxp/files/src-config.cm b/textproc/sml-fxp/files/src-config.cm
new file mode 100644
index 000000000000..96edb6a0742a
--- /dev/null
+++ b/textproc/sml-fxp/files/src-config.cm
@@ -0,0 +1,5 @@
+Group
+ structure Config
+is
+ config.sml
+
diff --git a/textproc/sml-fxp/files/src-fxlib.mlb b/textproc/sml-fxp/files/src-fxlib.mlb
new file mode 100644
index 000000000000..9634d03bb55e
--- /dev/null
+++ b/textproc/sml-fxp/files/src-fxlib.mlb
@@ -0,0 +1,104 @@
+ann
+ "deadCode true"
+ "nonexhaustiveMatch warn"
+in
+ local
+ $(MLTON_ROOT)/basis/basis.mlb
+ in
+ config.sml
+ Util/utilCompare.sml
+ Util/utilString.sml
+ Util/utilError.sml
+ Util/utilHash.sml
+ Util/utilInt.sml
+ Util/utilList.sml
+ Util/utilTime.sml
+ Util/intLists.sml
+ Util/intSets.sml
+ Util/options.sml
+ Util/SymDict/key.sml
+ Util/SymDict/dict.sml
+ Util/SymDict/symbolTable.sml
+ Util/SymDict/intSetDict.sml
+ Util/SymDict/intDict.sml
+ Util/SymDict/intListDict.sml
+ Util/SymDict/stringDict.sml
+ Unicode/Chars/uniChar.sml
+ Unicode/Chars/charClasses.sml
+ Unicode/Chars/charVecDict.sml
+ Unicode/Chars/dataDict.sml
+ Unicode/Chars/uniRanges.sml
+ Unicode/Chars/uniClasses.sml
+ Unicode/Chars/testClasses.sml
+ Unicode/Uri/uriDecode.sml
+ Unicode/Uri/uriEncode.sml
+ Unicode/Uri/uri.sml
+ Unicode/Uri/uriDict.sml
+ Unicode/encoding.sml
+ Unicode/Encode/encodeBasic.sml
+ Unicode/Encode/encodeError.sml
+ Unicode/Encode/encodeMisc.sml
+ Unicode/Encode/encode.sml
+ Unicode/Decode/decodeFile.sml
+ Unicode/Decode/decodeError.sml
+ Unicode/Decode/decodeMisc.sml
+ Unicode/Decode/decodeUtil.sml
+ Unicode/Decode/decodeUcs2.sml
+ Unicode/Decode/decodeUcs4.sml
+ Unicode/Decode/decodeUtf16.sml
+ Unicode/Decode/decodeUtf8.sml
+ Unicode/Decode/decode.sml
+ Parser/version.sml
+ Parser/Dfa/dfaData.sml
+ Parser/Dfa/dfaError.sml
+ Parser/Dfa/dfaOptions.sml
+ Parser/Dfa/dfaUtil.sml
+ Parser/Dfa/dfaPassOne.sml
+ Parser/Dfa/dfaPassTwo.sml
+ Parser/Dfa/dfaPassThree.sml
+ Parser/Dfa/dfaString.sml
+ Parser/Dfa/dfa.sml
+ Parser/Error/errorData.sml
+ Parser/Error/errorString.sml
+ Parser/Error/errorMessage.sml
+ Parser/Error/errorUtil.sml
+ Parser/Error/expected.sml
+ Parser/Error/errors.sml
+ Parser/Base/baseData.sml
+ Parser/Base/baseString.sml
+ Parser/Base/base.sml
+ Parser/Params/dtd.sml
+ Parser/Params/hookData.sml
+ Parser/Params/hooks.sml
+ Parser/Params/ignore.sml
+ Parser/Params/parserOptions.sml
+ Parser/Params/resolve.sml
+ Parser/entities.sml
+ Parser/Dtd/dtdDeclare.sml
+ Parser/Dtd/dtdAttributes.sml
+ Parser/Dtd/dtdManager.sml
+ Parser/Parse/parseBase.sml
+ Parser/Parse/parseNames.sml
+ Parser/Parse/parseMisc.sml
+ Parser/Parse/parseXml.sml
+ Parser/Parse/parseRefs.sml
+ Parser/Parse/parseLiterals.sml
+ Parser/Parse/parseTags.sml
+ Parser/Parse/parseDecl.sml
+ Parser/Parse/parseDtd.sml
+ Parser/Parse/parseContent.sml
+ Parser/Parse/parseDocument.sml
+ Catalog/catData.sml
+ Catalog/catDtd.sml
+ Catalog/catError.sml
+ Catalog/catParams.sml
+ Catalog/catFile.sml
+ Catalog/catHooks.sml
+ Catalog/catOptions.sml
+ Catalog/socatParse.sml
+ Catalog/catParse.sml
+ Catalog/catalog.sml
+ Catalog/catResolve.sml
+ genRandom.sml
+ end
+end
diff --git a/textproc/sml-fxp/pkg-descr b/textproc/sml-fxp/pkg-descr
new file mode 100644
index 000000000000..ef7a4e682b52
--- /dev/null
+++ b/textproc/sml-fxp/pkg-descr
@@ -0,0 +1,6 @@
+fxp is a validating XML parser written completely in the functional
+programming language SML. fxp can validate both XML 1.0 and XML 1.1
+documents. It has a programming interface allowing for production of XML
+applications based on fxp. It is installed with four example applications.
+
+WWW: http://www2.informatik.tu-muenchen.de/~berlea/Fxp
diff --git a/textproc/sml-fxp/pkg-plist b/textproc/sml-fxp/pkg-plist
new file mode 100644
index 000000000000..3bd74bb6775d
--- /dev/null
+++ b/textproc/sml-fxp/pkg-plist
@@ -0,0 +1,461 @@
+lib/sml-fxp/src/config.orig.sml
+lib/sml-fxp/src/genRandom.sml
+lib/sml-fxp/src/fxlib.cm
+lib/sml-fxp/src/config.cm
+lib/sml-fxp/src/config.sml
+lib/sml-fxp/src/Util/util.cm
+lib/sml-fxp/src/Util/utilTime.sml
+lib/sml-fxp/src/Util/utilString.sml
+lib/sml-fxp/src/Util/utilList.sml
+lib/sml-fxp/src/Util/utilInt.sml
+lib/sml-fxp/src/Util/utilHash.sml
+lib/sml-fxp/src/Util/utilError.sml
+lib/sml-fxp/src/Util/utilCompare.sml
+lib/sml-fxp/src/Util/options.sml
+lib/sml-fxp/src/Util/intSets.sml
+lib/sml-fxp/src/Util/intLists.sml
+lib/sml-fxp/src/Util/utilString.orig.sml
+lib/sml-fxp/src/Util/utilTime.orig.sml
+lib/sml-fxp/src/Util/intSets.orig.sml
+lib/sml-fxp/src/Util/SymDict/symdict.cm
+lib/sml-fxp/src/Util/SymDict/symbolTable.sml
+lib/sml-fxp/src/Util/SymDict/stringDict.sml
+lib/sml-fxp/src/Util/SymDict/key.sml
+lib/sml-fxp/src/Util/SymDict/intSetDict.sml
+lib/sml-fxp/src/Util/SymDict/intListDict.sml
+lib/sml-fxp/src/Util/SymDict/intDict.sml
+lib/sml-fxp/src/Util/SymDict/dict.sml
+lib/sml-fxp/src/Util/SymDict/dict.orig.sml
+lib/sml-fxp/src/Util/SymDict/symbolTable.orig.sml
+lib/sml-fxp/src/Unicode/unicode.cm
+lib/sml-fxp/src/Unicode/encoding.cm
+lib/sml-fxp/src/Unicode/encoding.sml
+lib/sml-fxp/src/Unicode/Uri/uri.cm
+lib/sml-fxp/src/Unicode/Uri/uriEncode.sml
+lib/sml-fxp/src/Unicode/Uri/uriDict.sml
+lib/sml-fxp/src/Unicode/Uri/uriDecode.sml
+lib/sml-fxp/src/Unicode/Uri/uri.sml
+lib/sml-fxp/src/Unicode/Uri/uri.orig.sml
+lib/sml-fxp/src/Unicode/Uri/uriEncode.orig.sml
+lib/sml-fxp/src/Unicode/Encode/encode.cm
+lib/sml-fxp/src/Unicode/Encode/encodeMisc.sml
+lib/sml-fxp/src/Unicode/Encode/encodeError.sml
+lib/sml-fxp/src/Unicode/Encode/encodeBasic.sml
+lib/sml-fxp/src/Unicode/Encode/encode.sml
+lib/sml-fxp/src/Unicode/Decode/decode.cm
+lib/sml-fxp/src/Unicode/Decode/decodeUtil.sml
+lib/sml-fxp/src/Unicode/Decode/decodeUtf8.sml
+lib/sml-fxp/src/Unicode/Decode/decodeUtf16.sml
+lib/sml-fxp/src/Unicode/Decode/decodeUcs4.sml
+lib/sml-fxp/src/Unicode/Decode/decodeUcs2.sml
+lib/sml-fxp/src/Unicode/Decode/decodeMisc.sml
+lib/sml-fxp/src/Unicode/Decode/decodeFile.sml
+lib/sml-fxp/src/Unicode/Decode/decodeError.sml
+lib/sml-fxp/src/Unicode/Decode/decode.sml
+lib/sml-fxp/src/Unicode/Chars/chars.cm
+lib/sml-fxp/src/Unicode/Chars/uniRanges.sml
+lib/sml-fxp/src/Unicode/Chars/uniClasses.sml
+lib/sml-fxp/src/Unicode/Chars/uniChar.sml
+lib/sml-fxp/src/Unicode/Chars/testClasses.sml
+lib/sml-fxp/src/Unicode/Chars/dataDict.sml
+lib/sml-fxp/src/Unicode/Chars/charVecDict.sml
+lib/sml-fxp/src/Unicode/Chars/charClasses.sml
+lib/sml-fxp/src/Unicode/Chars/uniChar.orig.sml
+lib/sml-fxp/src/Unicode/Chars/charClasses.orig.sml
+lib/sml-fxp/src/Parser/parser.cm
+lib/sml-fxp/src/Parser/entities.cm
+lib/sml-fxp/src/Parser/version.sml
+lib/sml-fxp/src/Parser/entities.sml
+lib/sml-fxp/src/Parser/Parse/parse.cm
+lib/sml-fxp/src/Parser/Parse/parseXml.sml
+lib/sml-fxp/src/Parser/Parse/parseTags.sml
+lib/sml-fxp/src/Parser/Parse/parseRefs.sml
+lib/sml-fxp/src/Parser/Parse/parseNames.sml
+lib/sml-fxp/src/Parser/Parse/parseMisc.sml
+lib/sml-fxp/src/Parser/Parse/parseLiterals.sml
+lib/sml-fxp/src/Parser/Parse/parseDtd.sml
+lib/sml-fxp/src/Parser/Parse/parseDocument.sml
+lib/sml-fxp/src/Parser/Parse/parseDecl.sml
+lib/sml-fxp/src/Parser/Parse/parseContent.sml
+lib/sml-fxp/src/Parser/Parse/parseBase.sml
+lib/sml-fxp/src/Parser/Parse/parseContent.orig.sml
+lib/sml-fxp/src/Parser/Params/params.cm
+lib/sml-fxp/src/Parser/Params/resolve.sml
+lib/sml-fxp/src/Parser/Params/parserOptions.sml
+lib/sml-fxp/src/Parser/Params/ignore.sml
+lib/sml-fxp/src/Parser/Params/hooks.sml
+lib/sml-fxp/src/Parser/Params/hookData.sml
+lib/sml-fxp/src/Parser/Params/dtd.sml
+lib/sml-fxp/src/Parser/Params/dtd.orig.sml
+lib/sml-fxp/src/Parser/Error/error.cm
+lib/sml-fxp/src/Parser/Error/expected.sml
+lib/sml-fxp/src/Parser/Error/errors.sml
+lib/sml-fxp/src/Parser/Error/errorUtil.sml
+lib/sml-fxp/src/Parser/Error/errorString.sml
+lib/sml-fxp/src/Parser/Error/errorMessage.sml
+lib/sml-fxp/src/Parser/Error/errorData.sml
+lib/sml-fxp/src/Parser/Dtd/dtd.cm
+lib/sml-fxp/src/Parser/Dtd/dtdManager.sml
+lib/sml-fxp/src/Parser/Dtd/dtdDeclare.sml
+lib/sml-fxp/src/Parser/Dtd/dtdAttributes.sml
+lib/sml-fxp/src/Parser/Dtd/dtdAttributes.orig.sml
+lib/sml-fxp/src/Parser/Dfa/dfa.cm
+lib/sml-fxp/src/Parser/Dfa/dfaUtil.sml
+lib/sml-fxp/src/Parser/Dfa/dfaString.sml
+lib/sml-fxp/src/Parser/Dfa/dfaPassTwo.sml
+lib/sml-fxp/src/Parser/Dfa/dfaPassThree.sml
+lib/sml-fxp/src/Parser/Dfa/dfaPassOne.sml
+lib/sml-fxp/src/Parser/Dfa/dfaOptions.sml
+lib/sml-fxp/src/Parser/Dfa/dfaError.sml
+lib/sml-fxp/src/Parser/Dfa/dfaData.sml
+lib/sml-fxp/src/Parser/Dfa/dfa.sml
+lib/sml-fxp/src/Parser/Dfa/dfaString.orig.sml
+lib/sml-fxp/src/Parser/Dfa/dfaUtil.orig.sml
+lib/sml-fxp/src/Parser/Dfa/dfaPassTwo.orig.sml
+lib/sml-fxp/src/Parser/Base/base.cm
+lib/sml-fxp/src/Parser/Base/baseString.sml
+lib/sml-fxp/src/Parser/Base/baseData.sml
+lib/sml-fxp/src/Parser/Base/base.sml
+lib/sml-fxp/src/Catalog/catalog.cm
+lib/sml-fxp/src/Catalog/socatParse.sml
+lib/sml-fxp/src/Catalog/catalog.sml
+lib/sml-fxp/src/Catalog/catResolve.sml
+lib/sml-fxp/src/Catalog/catParse.sml
+lib/sml-fxp/src/Catalog/catParams.sml
+lib/sml-fxp/src/Catalog/catOptions.sml
+lib/sml-fxp/src/Catalog/catHooks.sml
+lib/sml-fxp/src/Catalog/catFile.sml
+lib/sml-fxp/src/Catalog/catError.sml
+lib/sml-fxp/src/Catalog/catDtd.sml
+lib/sml-fxp/src/Catalog/catData.sml
+%%PORTDOCS%%share/doc/fxp/working.html
+%%PORTDOCS%%share/doc/fxp/working.diff
+%%PORTDOCS%%share/doc/fxp/windows.html
+%%PORTDOCS%%share/doc/fxp/index.html
+%%PORTDOCS%%share/doc/fxp/fxviz.html
+%%PORTDOCS%%share/doc/fxp/fxp.html
+%%PORTDOCS%%share/doc/fxp/fxp-xsa.xml
+%%PORTDOCS%%share/doc/fxp/fxesis.html
+%%PORTDOCS%%share/doc/fxp/fxcopy.html
+%%PORTDOCS%%share/doc/fxp/fxcanon.html
+%%PORTDOCS%%share/doc/fxp/features.html
+%%PORTDOCS%%share/doc/fxp/doc.ps
+%%PORTDOCS%%share/doc/fxp/api.ps
+%%PORTDOCS%%share/doc/fxp/README
+%%PORTDOCS%%share/doc/fxp/Images/shadow.jpg
+%%PORTDOCS%%share/doc/fxp/Images/fxp-shadow.jpg
+%%PORTDOCS%%share/doc/fxp/Images/exa-vcg-6.gif
+%%PORTDOCS%%share/doc/fxp/Images/exa-vcg-5.gif
+%%PORTDOCS%%share/doc/fxp/Images/exa-vcg-4.gif
+%%PORTDOCS%%share/doc/fxp/Images/exa-vcg-3.gif
+%%PORTDOCS%%share/doc/fxp/Images/exa-vcg-2.gif
+%%PORTDOCS%%share/doc/fxp/Images/exa-vcg-1.gif
+%%PORTDOCS%%share/doc/fxp/Images/email.png
+%%PORTDOCS%%share/doc/fxp/Images/ball-shadow.jpg
+%%PORTDOCS%%share/doc/fxp/Examples/xmlcat.dtd
+%%PORTDOCS%%share/doc/fxp/Examples/ext.ent
+%%PORTDOCS%%share/doc/fxp/Examples/ext.elem
+%%PORTDOCS%%share/doc/fxp/Examples/ext.decl
+%%PORTDOCS%%share/doc/fxp/Examples/ext-6.decl
+%%PORTDOCS%%share/doc/fxp/Examples/exa-exp.xml
+%%PORTDOCS%%share/doc/fxp/Examples/exa-6.xml
+%%PORTDOCS%%share/doc/fxp/Examples/exa-6.ext
+%%PORTDOCS%%share/doc/fxp/Examples/exa-5.xml
+%%PORTDOCS%%share/doc/fxp/Examples/exa-5.esis-8
+%%PORTDOCS%%share/doc/fxp/Examples/exa-5.esis-7
+%%PORTDOCS%%share/doc/fxp/Examples/exa-4.xml
+%%PORTDOCS%%share/doc/fxp/Examples/exa-3.xml
+%%PORTDOCS%%share/doc/fxp/Examples/exa-2.xml
+%%PORTDOCS%%share/doc/fxp/Examples/exa-1.xml
+%%PORTDOCS%%share/doc/fxp/Examples/exa-1.ext
+%%PORTDOCS%%share/doc/fxp/COPYRIGHT
+%%PORTDOCS%%share/doc/fxp/CHANGES
+bin/fxviz
+bin/fxp
+bin/fxesis
+bin/fxcopy
+bin/fxcanon
+%%STABLE_DEVEL%%lib/sml-fxp/src/.cm/x86-unix/fxlib.cm
+%%STABLE_DEVEL%%@dirrm lib/sml-fxp/src/.cm/x86-unix
+%%STABLE_DEVEL%%@dirrm lib/sml-fxp/src/.cm
+%%SML_EXEC%%bin/fxp.sh
+%%SML_EXEC%%lib/sml-fxp/_fxviz.x86-bsd
+%%SML_EXEC%%lib/sml-fxp/_fxp.x86-bsd
+%%SML_EXEC%%lib/sml-fxp/_fxesis.x86-bsd
+%%SML_EXEC%%lib/sml-fxp/_fxcopy.x86-bsd
+%%SML_EXEC%%lib/sml-fxp/_fxcanon.x86-bsd
+%%STABLE%%lib/sml-fxp/src/CM/x86-unix/fxlib.cm.stable
+%%STABLE%%lib/sml-fxp/src/CM/DEPEND/config.sml
+%%STABLE%%lib/sml-fxp/src/CM/x86-unix/config.cm.stable
+%%STABLE%%lib/sml-fxp/src/CM/x86-unix/config.sml.bin
+%%STABLE%%lib/sml-fxp/src/Catalog/CM/DEPEND/catData.sml
+%%STABLE%%lib/sml-fxp/src/Catalog/CM/DEPEND/catDtd.sml
+%%STABLE%%lib/sml-fxp/src/Catalog/CM/DEPEND/catError.sml
+%%STABLE%%lib/sml-fxp/src/Catalog/CM/DEPEND/catFile.sml
+%%STABLE%%lib/sml-fxp/src/Catalog/CM/DEPEND/catHooks.sml
+%%STABLE%%lib/sml-fxp/src/Catalog/CM/DEPEND/catOptions.sml
+%%STABLE%%lib/sml-fxp/src/Catalog/CM/DEPEND/catParams.sml
+%%STABLE%%lib/sml-fxp/src/Catalog/CM/DEPEND/catParse.sml
+%%STABLE%%lib/sml-fxp/src/Catalog/CM/DEPEND/catResolve.sml
+%%STABLE%%lib/sml-fxp/src/Catalog/CM/DEPEND/catalog.sml
+%%STABLE%%lib/sml-fxp/src/Catalog/CM/DEPEND/socatParse.sml
+%%STABLE%%lib/sml-fxp/src/Catalog/CM/x86-unix/catData.sml.bin
+%%STABLE%%lib/sml-fxp/src/Catalog/CM/x86-unix/catDtd.sml.bin
+%%STABLE%%lib/sml-fxp/src/Catalog/CM/x86-unix/catError.sml.bin
+%%STABLE%%lib/sml-fxp/src/Catalog/CM/x86-unix/catFile.sml.bin
+%%STABLE%%lib/sml-fxp/src/Catalog/CM/x86-unix/catHooks.sml.bin
+%%STABLE%%lib/sml-fxp/src/Catalog/CM/x86-unix/catOptions.sml.bin
+%%STABLE%%lib/sml-fxp/src/Catalog/CM/x86-unix/catParams.sml.bin
+%%STABLE%%lib/sml-fxp/src/Catalog/CM/x86-unix/catParse.sml.bin
+%%STABLE%%lib/sml-fxp/src/Catalog/CM/x86-unix/catResolve.sml.bin
+%%STABLE%%lib/sml-fxp/src/Catalog/CM/x86-unix/catalog.cm.stable
+%%STABLE%%lib/sml-fxp/src/Catalog/CM/x86-unix/catalog.sml.bin
+%%STABLE%%lib/sml-fxp/src/Catalog/CM/x86-unix/socatParse.sml.bin
+%%STABLE%%lib/sml-fxp/src/Parser/Base/CM/DEPEND/base.sml
+%%STABLE%%lib/sml-fxp/src/Parser/Base/CM/DEPEND/baseData.sml
+%%STABLE%%lib/sml-fxp/src/Parser/Base/CM/DEPEND/baseString.sml
+%%STABLE%%lib/sml-fxp/src/Parser/Base/CM/x86-unix/base.cm.stable
+%%STABLE%%lib/sml-fxp/src/Parser/Base/CM/x86-unix/base.sml.bin
+%%STABLE%%lib/sml-fxp/src/Parser/Base/CM/x86-unix/baseData.sml.bin
+%%STABLE%%lib/sml-fxp/src/Parser/Base/CM/x86-unix/baseString.sml.bin
+%%STABLE%%lib/sml-fxp/src/Parser/CM/DEPEND/entities.sml
+%%STABLE%%lib/sml-fxp/src/Parser/CM/DEPEND/version.sml
+%%STABLE%%lib/sml-fxp/src/Parser/CM/x86-unix/entities.cm.stable
+%%STABLE%%lib/sml-fxp/src/Parser/CM/x86-unix/entities.sml.bin
+%%STABLE%%lib/sml-fxp/src/Parser/CM/x86-unix/parser.cm.stable
+%%STABLE%%lib/sml-fxp/src/Parser/CM/x86-unix/version.sml.bin
+%%STABLE%%lib/sml-fxp/src/Parser/Dfa/CM/DEPEND/dfa.sml
+%%STABLE%%lib/sml-fxp/src/Parser/Dfa/CM/DEPEND/dfaData.sml
+%%STABLE%%lib/sml-fxp/src/Parser/Dfa/CM/DEPEND/dfaError.sml
+%%STABLE%%lib/sml-fxp/src/Parser/Dfa/CM/DEPEND/dfaOptions.sml
+%%STABLE%%lib/sml-fxp/src/Parser/Dfa/CM/DEPEND/dfaPassOne.sml
+%%STABLE%%lib/sml-fxp/src/Parser/Dfa/CM/DEPEND/dfaPassThree.sml
+%%STABLE%%lib/sml-fxp/src/Parser/Dfa/CM/DEPEND/dfaPassTwo.orig.sml
+%%STABLE%%lib/sml-fxp/src/Parser/Dfa/CM/DEPEND/dfaString.orig.sml
+%%STABLE%%lib/sml-fxp/src/Parser/Dfa/CM/DEPEND/dfaUtil.orig.sml
+%%STABLE%%lib/sml-fxp/src/Parser/Dfa/CM/x86-unix/dfa.cm.stable
+%%STABLE%%lib/sml-fxp/src/Parser/Dfa/CM/x86-unix/dfa.sml.bin
+%%STABLE%%lib/sml-fxp/src/Parser/Dfa/CM/x86-unix/dfaData.sml.bin
+%%STABLE%%lib/sml-fxp/src/Parser/Dfa/CM/x86-unix/dfaError.sml.bin
+%%STABLE%%lib/sml-fxp/src/Parser/Dfa/CM/x86-unix/dfaOptions.sml.bin
+%%STABLE%%lib/sml-fxp/src/Parser/Dfa/CM/x86-unix/dfaPassOne.sml.bin
+%%STABLE%%lib/sml-fxp/src/Parser/Dfa/CM/x86-unix/dfaPassThree.sml.bin
+%%STABLE%%lib/sml-fxp/src/Parser/Dfa/CM/x86-unix/dfaPassTwo.orig.sml.bin
+%%STABLE%%lib/sml-fxp/src/Parser/Dfa/CM/x86-unix/dfaString.orig.sml.bin
+%%STABLE%%lib/sml-fxp/src/Parser/Dfa/CM/x86-unix/dfaUtil.orig.sml.bin
+%%STABLE%%lib/sml-fxp/src/Parser/Dtd/CM/DEPEND/dtdAttributes.orig.sml
+%%STABLE%%lib/sml-fxp/src/Parser/Dtd/CM/DEPEND/dtdDeclare.sml
+%%STABLE%%lib/sml-fxp/src/Parser/Dtd/CM/DEPEND/dtdManager.sml
+%%STABLE%%lib/sml-fxp/src/Parser/Dtd/CM/x86-unix/dtd.cm.stable
+%%STABLE%%lib/sml-fxp/src/Parser/Dtd/CM/x86-unix/dtdAttributes.orig.sml.bin
+%%STABLE%%lib/sml-fxp/src/Parser/Dtd/CM/x86-unix/dtdDeclare.sml.bin
+%%STABLE%%lib/sml-fxp/src/Parser/Dtd/CM/x86-unix/dtdManager.sml.bin
+%%STABLE%%lib/sml-fxp/src/Parser/Error/CM/DEPEND/errorData.sml
+%%STABLE%%lib/sml-fxp/src/Parser/Error/CM/DEPEND/errorMessage.sml
+%%STABLE%%lib/sml-fxp/src/Parser/Error/CM/DEPEND/errorString.sml
+%%STABLE%%lib/sml-fxp/src/Parser/Error/CM/DEPEND/errorUtil.sml
+%%STABLE%%lib/sml-fxp/src/Parser/Error/CM/DEPEND/errors.sml
+%%STABLE%%lib/sml-fxp/src/Parser/Error/CM/DEPEND/expected.sml
+%%STABLE%%lib/sml-fxp/src/Parser/Error/CM/x86-unix/error.cm.stable
+%%STABLE%%lib/sml-fxp/src/Parser/Error/CM/x86-unix/errorData.sml.bin
+%%STABLE%%lib/sml-fxp/src/Parser/Error/CM/x86-unix/errorMessage.sml.bin
+%%STABLE%%lib/sml-fxp/src/Parser/Error/CM/x86-unix/errorString.sml.bin
+%%STABLE%%lib/sml-fxp/src/Parser/Error/CM/x86-unix/errorUtil.sml.bin
+%%STABLE%%lib/sml-fxp/src/Parser/Error/CM/x86-unix/errors.sml.bin
+%%STABLE%%lib/sml-fxp/src/Parser/Error/CM/x86-unix/expected.sml.bin
+%%STABLE%%lib/sml-fxp/src/Parser/Params/CM/DEPEND/dtd.orig.sml
+%%STABLE%%lib/sml-fxp/src/Parser/Params/CM/DEPEND/hookData.sml
+%%STABLE%%lib/sml-fxp/src/Parser/Params/CM/DEPEND/hooks.sml
+%%STABLE%%lib/sml-fxp/src/Parser/Params/CM/DEPEND/ignore.sml
+%%STABLE%%lib/sml-fxp/src/Parser/Params/CM/DEPEND/parserOptions.sml
+%%STABLE%%lib/sml-fxp/src/Parser/Params/CM/DEPEND/resolve.sml
+%%STABLE%%lib/sml-fxp/src/Parser/Params/CM/x86-unix/dtd.orig.sml.bin
+%%STABLE%%lib/sml-fxp/src/Parser/Params/CM/x86-unix/hookData.sml.bin
+%%STABLE%%lib/sml-fxp/src/Parser/Params/CM/x86-unix/hooks.sml.bin
+%%STABLE%%lib/sml-fxp/src/Parser/Params/CM/x86-unix/ignore.sml.bin
+%%STABLE%%lib/sml-fxp/src/Parser/Params/CM/x86-unix/params.cm.stable
+%%STABLE%%lib/sml-fxp/src/Parser/Params/CM/x86-unix/parserOptions.sml.bin
+%%STABLE%%lib/sml-fxp/src/Parser/Params/CM/x86-unix/resolve.sml.bin
+%%STABLE%%lib/sml-fxp/src/Parser/Parse/CM/DEPEND/parseBase.sml
+%%STABLE%%lib/sml-fxp/src/Parser/Parse/CM/DEPEND/parseContent.orig.sml
+%%STABLE%%lib/sml-fxp/src/Parser/Parse/CM/DEPEND/parseDecl.sml
+%%STABLE%%lib/sml-fxp/src/Parser/Parse/CM/DEPEND/parseDocument.sml
+%%STABLE%%lib/sml-fxp/src/Parser/Parse/CM/DEPEND/parseDtd.sml
+%%STABLE%%lib/sml-fxp/src/Parser/Parse/CM/DEPEND/parseLiterals.sml
+%%STABLE%%lib/sml-fxp/src/Parser/Parse/CM/DEPEND/parseMisc.sml
+%%STABLE%%lib/sml-fxp/src/Parser/Parse/CM/DEPEND/parseNames.sml
+%%STABLE%%lib/sml-fxp/src/Parser/Parse/CM/DEPEND/parseRefs.sml
+%%STABLE%%lib/sml-fxp/src/Parser/Parse/CM/DEPEND/parseTags.sml
+%%STABLE%%lib/sml-fxp/src/Parser/Parse/CM/DEPEND/parseXml.sml
+%%STABLE%%lib/sml-fxp/src/Parser/Parse/CM/x86-unix/parse.cm.stable
+%%STABLE%%lib/sml-fxp/src/Parser/Parse/CM/x86-unix/parseBase.sml.bin
+%%STABLE%%lib/sml-fxp/src/Parser/Parse/CM/x86-unix/parseContent.orig.sml.bin
+%%STABLE%%lib/sml-fxp/src/Parser/Parse/CM/x86-unix/parseDecl.sml.bin
+%%STABLE%%lib/sml-fxp/src/Parser/Parse/CM/x86-unix/parseDocument.sml.bin
+%%STABLE%%lib/sml-fxp/src/Parser/Parse/CM/x86-unix/parseDtd.sml.bin
+%%STABLE%%lib/sml-fxp/src/Parser/Parse/CM/x86-unix/parseLiterals.sml.bin
+%%STABLE%%lib/sml-fxp/src/Parser/Parse/CM/x86-unix/parseMisc.sml.bin
+%%STABLE%%lib/sml-fxp/src/Parser/Parse/CM/x86-unix/parseNames.sml.bin
+%%STABLE%%lib/sml-fxp/src/Parser/Parse/CM/x86-unix/parseRefs.sml.bin
+%%STABLE%%lib/sml-fxp/src/Parser/Parse/CM/x86-unix/parseTags.sml.bin
+%%STABLE%%lib/sml-fxp/src/Parser/Parse/CM/x86-unix/parseXml.sml.bin
+%%STABLE%%lib/sml-fxp/src/Unicode/CM/DEPEND/encoding.sml
+%%STABLE%%lib/sml-fxp/src/Unicode/CM/x86-unix/encoding.cm.stable
+%%STABLE%%lib/sml-fxp/src/Unicode/CM/x86-unix/encoding.sml.bin
+%%STABLE%%lib/sml-fxp/src/Unicode/CM/x86-unix/unicode.cm.stable
+%%STABLE%%lib/sml-fxp/src/Unicode/Chars/CM/DEPEND/charClasses.orig.sml
+%%STABLE%%lib/sml-fxp/src/Unicode/Chars/CM/DEPEND/charVecDict.sml
+%%STABLE%%lib/sml-fxp/src/Unicode/Chars/CM/DEPEND/dataDict.sml
+%%STABLE%%lib/sml-fxp/src/Unicode/Chars/CM/DEPEND/testClasses.sml
+%%STABLE%%lib/sml-fxp/src/Unicode/Chars/CM/DEPEND/uniChar.orig.sml
+%%STABLE%%lib/sml-fxp/src/Unicode/Chars/CM/DEPEND/uniClasses.sml
+%%STABLE%%lib/sml-fxp/src/Unicode/Chars/CM/DEPEND/uniRanges.sml
+%%STABLE%%lib/sml-fxp/src/Unicode/Chars/CM/x86-unix/charClasses.orig.sml.bin
+%%STABLE%%lib/sml-fxp/src/Unicode/Chars/CM/x86-unix/charVecDict.sml.bin
+%%STABLE%%lib/sml-fxp/src/Unicode/Chars/CM/x86-unix/chars.cm.stable
+%%STABLE%%lib/sml-fxp/src/Unicode/Chars/CM/x86-unix/dataDict.sml.bin
+%%STABLE%%lib/sml-fxp/src/Unicode/Chars/CM/x86-unix/testClasses.sml.bin
+%%STABLE%%lib/sml-fxp/src/Unicode/Chars/CM/x86-unix/uniChar.orig.sml.bin
+%%STABLE%%lib/sml-fxp/src/Unicode/Chars/CM/x86-unix/uniClasses.sml.bin
+%%STABLE%%lib/sml-fxp/src/Unicode/Chars/CM/x86-unix/uniRanges.sml.bin
+%%STABLE%%lib/sml-fxp/src/Unicode/Decode/CM/DEPEND/decode.sml
+%%STABLE%%lib/sml-fxp/src/Unicode/Decode/CM/DEPEND/decodeError.sml
+%%STABLE%%lib/sml-fxp/src/Unicode/Decode/CM/DEPEND/decodeFile.sml
+%%STABLE%%lib/sml-fxp/src/Unicode/Decode/CM/DEPEND/decodeMisc.sml
+%%STABLE%%lib/sml-fxp/src/Unicode/Decode/CM/DEPEND/decodeUcs2.sml
+%%STABLE%%lib/sml-fxp/src/Unicode/Decode/CM/DEPEND/decodeUcs4.sml
+%%STABLE%%lib/sml-fxp/src/Unicode/Decode/CM/DEPEND/decodeUtf16.sml
+%%STABLE%%lib/sml-fxp/src/Unicode/Decode/CM/DEPEND/decodeUtf8.sml
+%%STABLE%%lib/sml-fxp/src/Unicode/Decode/CM/DEPEND/decodeUtil.sml
+%%STABLE%%lib/sml-fxp/src/Unicode/Decode/CM/x86-unix/decode.cm.stable
+%%STABLE%%lib/sml-fxp/src/Unicode/Decode/CM/x86-unix/decode.sml.bin
+%%STABLE%%lib/sml-fxp/src/Unicode/Decode/CM/x86-unix/decodeError.sml.bin
+%%STABLE%%lib/sml-fxp/src/Unicode/Decode/CM/x86-unix/decodeFile.sml.bin
+%%STABLE%%lib/sml-fxp/src/Unicode/Decode/CM/x86-unix/decodeMisc.sml.bin
+%%STABLE%%lib/sml-fxp/src/Unicode/Decode/CM/x86-unix/decodeUcs2.sml.bin
+%%STABLE%%lib/sml-fxp/src/Unicode/Decode/CM/x86-unix/decodeUcs4.sml.bin
+%%STABLE%%lib/sml-fxp/src/Unicode/Decode/CM/x86-unix/decodeUtf16.sml.bin
+%%STABLE%%lib/sml-fxp/src/Unicode/Decode/CM/x86-unix/decodeUtf8.sml.bin
+%%STABLE%%lib/sml-fxp/src/Unicode/Decode/CM/x86-unix/decodeUtil.sml.bin
+%%STABLE%%lib/sml-fxp/src/Unicode/Encode/CM/DEPEND/encode.sml
+%%STABLE%%lib/sml-fxp/src/Unicode/Encode/CM/DEPEND/encodeBasic.sml
+%%STABLE%%lib/sml-fxp/src/Unicode/Encode/CM/DEPEND/encodeError.sml
+%%STABLE%%lib/sml-fxp/src/Unicode/Encode/CM/DEPEND/encodeMisc.sml
+%%STABLE%%lib/sml-fxp/src/Unicode/Encode/CM/x86-unix/encode.cm.stable
+%%STABLE%%lib/sml-fxp/src/Unicode/Encode/CM/x86-unix/encode.sml.bin
+%%STABLE%%lib/sml-fxp/src/Unicode/Encode/CM/x86-unix/encodeBasic.sml.bin
+%%STABLE%%lib/sml-fxp/src/Unicode/Encode/CM/x86-unix/encodeError.sml.bin
+%%STABLE%%lib/sml-fxp/src/Unicode/Encode/CM/x86-unix/encodeMisc.sml.bin
+%%STABLE%%lib/sml-fxp/src/Unicode/Uri/CM/DEPEND/uri.orig.sml
+%%STABLE%%lib/sml-fxp/src/Unicode/Uri/CM/DEPEND/uriDecode.sml
+%%STABLE%%lib/sml-fxp/src/Unicode/Uri/CM/DEPEND/uriDict.sml
+%%STABLE%%lib/sml-fxp/src/Unicode/Uri/CM/DEPEND/uriEncode.orig.sml
+%%STABLE%%lib/sml-fxp/src/Unicode/Uri/CM/x86-unix/uri.cm.stable
+%%STABLE%%lib/sml-fxp/src/Unicode/Uri/CM/x86-unix/uri.orig.sml.bin
+%%STABLE%%lib/sml-fxp/src/Unicode/Uri/CM/x86-unix/uriDecode.sml.bin
+%%STABLE%%lib/sml-fxp/src/Unicode/Uri/CM/x86-unix/uriDict.sml.bin
+%%STABLE%%lib/sml-fxp/src/Unicode/Uri/CM/x86-unix/uriEncode.orig.sml.bin
+%%STABLE%%lib/sml-fxp/src/Util/CM/DEPEND/intLists.sml
+%%STABLE%%lib/sml-fxp/src/Util/CM/DEPEND/intSets.orig.sml
+%%STABLE%%lib/sml-fxp/src/Util/CM/DEPEND/options.sml
+%%STABLE%%lib/sml-fxp/src/Util/CM/DEPEND/utilCompare.sml
+%%STABLE%%lib/sml-fxp/src/Util/CM/DEPEND/utilError.sml
+%%STABLE%%lib/sml-fxp/src/Util/CM/DEPEND/utilHash.sml
+%%STABLE%%lib/sml-fxp/src/Util/CM/DEPEND/utilInt.sml
+%%STABLE%%lib/sml-fxp/src/Util/CM/DEPEND/utilList.sml
+%%STABLE%%lib/sml-fxp/src/Util/CM/DEPEND/utilString.orig.sml
+%%STABLE%%lib/sml-fxp/src/Util/CM/DEPEND/utilTime.orig.sml
+%%STABLE%%lib/sml-fxp/src/Util/CM/x86-unix/intLists.sml.bin
+%%STABLE%%lib/sml-fxp/src/Util/CM/x86-unix/intSets.orig.sml.bin
+%%STABLE%%lib/sml-fxp/src/Util/CM/x86-unix/options.sml.bin
+%%STABLE%%lib/sml-fxp/src/Util/CM/x86-unix/util.cm.stable
+%%STABLE%%lib/sml-fxp/src/Util/CM/x86-unix/utilCompare.sml.bin
+%%STABLE%%lib/sml-fxp/src/Util/CM/x86-unix/utilError.sml.bin
+%%STABLE%%lib/sml-fxp/src/Util/CM/x86-unix/utilHash.sml.bin
+%%STABLE%%lib/sml-fxp/src/Util/CM/x86-unix/utilInt.sml.bin
+%%STABLE%%lib/sml-fxp/src/Util/CM/x86-unix/utilList.sml.bin
+%%STABLE%%lib/sml-fxp/src/Util/CM/x86-unix/utilString.orig.sml.bin
+%%STABLE%%lib/sml-fxp/src/Util/CM/x86-unix/utilTime.orig.sml.bin
+%%STABLE%%lib/sml-fxp/src/Util/SymDict/CM/DEPEND/dict.orig.sml
+%%STABLE%%lib/sml-fxp/src/Util/SymDict/CM/DEPEND/intDict.sml
+%%STABLE%%lib/sml-fxp/src/Util/SymDict/CM/DEPEND/intListDict.sml
+%%STABLE%%lib/sml-fxp/src/Util/SymDict/CM/DEPEND/intSetDict.sml
+%%STABLE%%lib/sml-fxp/src/Util/SymDict/CM/DEPEND/key.sml
+%%STABLE%%lib/sml-fxp/src/Util/SymDict/CM/DEPEND/stringDict.sml
+%%STABLE%%lib/sml-fxp/src/Util/SymDict/CM/DEPEND/symbolTable.orig.sml
+%%STABLE%%lib/sml-fxp/src/Util/SymDict/CM/x86-unix/dict.orig.sml.bin
+%%STABLE%%lib/sml-fxp/src/Util/SymDict/CM/x86-unix/intDict.sml.bin
+%%STABLE%%lib/sml-fxp/src/Util/SymDict/CM/x86-unix/intListDict.sml.bin
+%%STABLE%%lib/sml-fxp/src/Util/SymDict/CM/x86-unix/intSetDict.sml.bin
+%%STABLE%%lib/sml-fxp/src/Util/SymDict/CM/x86-unix/key.sml.bin
+%%STABLE%%lib/sml-fxp/src/Util/SymDict/CM/x86-unix/stringDict.sml.bin
+%%STABLE%%lib/sml-fxp/src/Util/SymDict/CM/x86-unix/symbolTable.orig.sml.bin
+%%STABLE%%lib/sml-fxp/src/Util/SymDict/CM/x86-unix/symdict.cm.stable
+%%STABLE%%@dirrm lib/sml-fxp/src/Util/SymDict/CM/x86-unix
+%%STABLE%%@dirrm lib/sml-fxp/src/Util/SymDict/CM/DEPEND
+%%STABLE%%@dirrm lib/sml-fxp/src/Util/SymDict/CM
+%%STABLE%%@dirrm lib/sml-fxp/src/Util/CM/x86-unix
+%%STABLE%%@dirrm lib/sml-fxp/src/Util/CM/DEPEND
+%%STABLE%%@dirrm lib/sml-fxp/src/Util/CM
+%%STABLE%%@dirrm lib/sml-fxp/src/Unicode/Uri/CM/x86-unix
+%%STABLE%%@dirrm lib/sml-fxp/src/Unicode/Uri/CM/DEPEND
+%%STABLE%%@dirrm lib/sml-fxp/src/Unicode/Uri/CM
+%%STABLE%%@dirrm lib/sml-fxp/src/Unicode/Encode/CM/x86-unix
+%%STABLE%%@dirrm lib/sml-fxp/src/Unicode/Encode/CM/DEPEND
+%%STABLE%%@dirrm lib/sml-fxp/src/Unicode/Encode/CM
+%%STABLE%%@dirrm lib/sml-fxp/src/Unicode/Decode/CM/x86-unix
+%%STABLE%%@dirrm lib/sml-fxp/src/Unicode/Decode/CM/DEPEND
+%%STABLE%%@dirrm lib/sml-fxp/src/Unicode/Decode/CM
+%%STABLE%%@dirrm lib/sml-fxp/src/Unicode/Chars/CM/x86-unix
+%%STABLE%%@dirrm lib/sml-fxp/src/Unicode/Chars/CM/DEPEND
+%%STABLE%%@dirrm lib/sml-fxp/src/Unicode/Chars/CM
+%%STABLE%%@dirrm lib/sml-fxp/src/Unicode/CM/x86-unix
+%%STABLE%%@dirrm lib/sml-fxp/src/Unicode/CM/DEPEND
+%%STABLE%%@dirrm lib/sml-fxp/src/Unicode/CM
+%%STABLE%%@dirrm lib/sml-fxp/src/Parser/Parse/CM/x86-unix
+%%STABLE%%@dirrm lib/sml-fxp/src/Parser/Parse/CM/DEPEND
+%%STABLE%%@dirrm lib/sml-fxp/src/Parser/Parse/CM
+%%STABLE%%@dirrm lib/sml-fxp/src/Parser/Params/CM/x86-unix
+%%STABLE%%@dirrm lib/sml-fxp/src/Parser/Params/CM/DEPEND
+%%STABLE%%@dirrm lib/sml-fxp/src/Parser/Params/CM
+%%STABLE%%@dirrm lib/sml-fxp/src/Parser/Error/CM/x86-unix
+%%STABLE%%@dirrm lib/sml-fxp/src/Parser/Error/CM/DEPEND
+%%STABLE%%@dirrm lib/sml-fxp/src/Parser/Error/CM
+%%STABLE%%@dirrm lib/sml-fxp/src/Parser/Dtd/CM/x86-unix
+%%STABLE%%@dirrm lib/sml-fxp/src/Parser/Dtd/CM/DEPEND
+%%STABLE%%@dirrm lib/sml-fxp/src/Parser/Dtd/CM
+%%STABLE%%@dirrm lib/sml-fxp/src/Parser/Dfa/CM/x86-unix
+%%STABLE%%@dirrm lib/sml-fxp/src/Parser/Dfa/CM/DEPEND
+%%STABLE%%@dirrm lib/sml-fxp/src/Parser/Dfa/CM
+%%STABLE%%@dirrm lib/sml-fxp/src/Parser/CM/x86-unix
+%%STABLE%%@dirrm lib/sml-fxp/src/Parser/CM/DEPEND
+%%STABLE%%@dirrm lib/sml-fxp/src/Parser/CM
+%%STABLE%%@dirrm lib/sml-fxp/src/Parser/Base/CM/x86-unix
+%%STABLE%%@dirrm lib/sml-fxp/src/Parser/Base/CM/DEPEND
+%%STABLE%%@dirrm lib/sml-fxp/src/Parser/Base/CM
+%%STABLE%%@dirrm lib/sml-fxp/src/Catalog/CM/x86-unix
+%%STABLE%%@dirrm lib/sml-fxp/src/Catalog/CM/DEPEND
+%%STABLE%%@dirrm lib/sml-fxp/src/Catalog/CM
+%%STABLE%%@dirrm lib/sml-fxp/src/CM/x86-unix
+%%STABLE%%@dirrm lib/sml-fxp/src/CM/DEPEND
+%%STABLE%%@dirrm lib/sml-fxp/src/CM
+@dirrm lib/sml-fxp/src/Util/SymDict
+@dirrm lib/sml-fxp/src/Util
+@dirrm lib/sml-fxp/src/Unicode/Uri
+@dirrm lib/sml-fxp/src/Unicode/Encode
+@dirrm lib/sml-fxp/src/Unicode/Decode
+@dirrm lib/sml-fxp/src/Unicode/Chars
+@dirrm lib/sml-fxp/src/Unicode
+@dirrm lib/sml-fxp/src/Parser/Parse
+@dirrm lib/sml-fxp/src/Parser/Params
+@dirrm lib/sml-fxp/src/Parser/Error
+@dirrm lib/sml-fxp/src/Parser/Dtd
+@dirrm lib/sml-fxp/src/Parser/Dfa
+@dirrm lib/sml-fxp/src/Parser/Base
+@dirrm lib/sml-fxp/src/Parser
+@dirrm lib/sml-fxp/src/Catalog
+@dirrm lib/sml-fxp/src
+@dirrm lib/sml-fxp
+%%PORTDOCS%%@dirrm share/doc/fxp/Images
+%%PORTDOCS%%@dirrm share/doc/fxp/Examples
+%%PORTDOCS%%@dirrm share/doc/fxp