summaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authorskv <skv@FreeBSD.org>2007-02-22 11:52:14 +0000
committerskv <skv@FreeBSD.org>2007-02-22 11:52:14 +0000
commitb4ec7c8e17faa83346d7f2f4937e3b76a928edb5 (patch)
tree587505ea5bc61525e0b87c10362794d8d9bdd2a9 /textproc
parentf3a211c498d407603d5212d21547fa048f2988c1 (diff)
downloadFreeBSD-ports-b4ec7c8e17faa83346d7f2f4937e3b76a928edb5.zip
FreeBSD-ports-b4ec7c8e17faa83346d7f2f4937e3b76a928edb5.tar.gz
Add asm-xml 0.2, very fast XML parser and decoder written in pure
assembler.
Diffstat (limited to 'textproc')
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/asm-xml/Makefile29
-rw-r--r--textproc/asm-xml/distinfo3
-rw-r--r--textproc/asm-xml/files/Makefile16
-rw-r--r--textproc/asm-xml/pkg-descr18
5 files changed, 67 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index bdcb59d..3d9a4b9 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -18,6 +18,7 @@
SUBDIR += archmage
SUBDIR += ascii2pdf
SUBDIR += asciidoc
+ SUBDIR += asm-xml
SUBDIR += asm2html
SUBDIR += aspell
SUBDIR += aspell-without-dicten
diff --git a/textproc/asm-xml/Makefile b/textproc/asm-xml/Makefile
new file mode 100644
index 0000000..aa08189
--- /dev/null
+++ b/textproc/asm-xml/Makefile
@@ -0,0 +1,29 @@
+# New ports collection makefile for: asm-xml
+# Date created: 22 February 2007
+# Whom: Sergey Skvortsov <skv@protey.ru>
+#
+# $FreeBSD$
+#
+
+PORTNAME= asm-xml
+PORTVERSION= 0.2
+CATEGORIES= textproc
+MASTER_SITES= SF
+
+MAINTAINER= skv@FreeBSD.org
+COMMENT= Very fast XML parser and decoder written in pure assembler
+
+BUILD_DEPENDS= fasm:${PORTSDIR}/lang/fasm
+
+ONLY_FOR_ARCHS= i386 amd64
+USE_DOS2UNIX= YES
+
+PLIST_FILES= include/asm-xml.h lib/libasm-xml.a
+
+post-extract:
+ ${RM} -rf ${WRKSRC}/obj
+
+post-patch:
+ @${CP} ${FILESDIR}/Makefile ${WRKSRC}/Makefile
+
+.include <bsd.port.mk>
diff --git a/textproc/asm-xml/distinfo b/textproc/asm-xml/distinfo
new file mode 100644
index 0000000..a1a7e5d
--- /dev/null
+++ b/textproc/asm-xml/distinfo
@@ -0,0 +1,3 @@
+MD5 (asm-xml-0.2.tar.gz) = c4cc84af69421aff4304addb0f6bd563
+SHA256 (asm-xml-0.2.tar.gz) = 3f02adf89f442e0f5f7796e0340fa3eebc4b62e33e5819c8abf9dfcf0eda0834
+SIZE (asm-xml-0.2.tar.gz) = 80400
diff --git a/textproc/asm-xml/files/Makefile b/textproc/asm-xml/files/Makefile
new file mode 100644
index 0000000..adeef0f
--- /dev/null
+++ b/textproc/asm-xml/files/Makefile
@@ -0,0 +1,16 @@
+# $FreeBSD$
+
+LIB = asm-xml
+OBJS= src/elf.So
+INCS= include/asm-xml.h
+
+NO_PIC=
+NO_PROFILE=
+
+LIBDIR= ${PREFIX}/lib
+INCLUDEDIR= ${PREFIX}/include
+
+src/elf.So:
+ ${LOCALBASE}/bin/fasm src/elf.asm src/elf.So
+
+.include <bsd.lib.mk>
diff --git a/textproc/asm-xml/pkg-descr b/textproc/asm-xml/pkg-descr
new file mode 100644
index 0000000..45ff5be
--- /dev/null
+++ b/textproc/asm-xml/pkg-descr
@@ -0,0 +1,18 @@
+AsmXml is a very fast XML parser and decoder for x86 platforms. It
+achieves high speed by using the following features:
+
+ * Support of an XML subset only
+ * Written in pure assembler
+ * Optimized memory accesses
+ * Parsing and decoding at the same time
+
+This parser is intended for applications that need intensive processing
+of XML. This project will likely appeal you if XML parsing is a
+bottleneck in your data-flow. It is expecially designed for bulk loads
+into databases.
+
+This is not an all-purpose library, it is not designed to be used with
+DOM, SAX, XPath and so on. Here, XML is just considered as an
+interchange format, not as a working format.
+
+WWW: http://mkerbiquet.free.fr/asm-xml/
OpenPOWER on IntegriCloud