summaryrefslogtreecommitdiff
path: root/textproc/asm-xml
diff options
context:
space:
mode:
authorSergey Skvortsov <skv@FreeBSD.org>2007-02-22 11:52:14 +0000
committerSergey Skvortsov <skv@FreeBSD.org>2007-02-22 11:52:14 +0000
commit652bb9d0c6525333a8ffba7cc0fa36845cdbdd08 (patch)
treeafcc823ea33b0d397e871ac5e624c077a8d23fe4 /textproc/asm-xml
parentAdd fasm 1.67.21, flat, multiple-pass assembler for IA-32 & x86-64 (diff)
Add asm-xml 0.2, very fast XML parser and decoder written in pure
assembler.
Notes
Notes: svn path=/head/; revision=185690
Diffstat (limited to 'textproc/asm-xml')
-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
4 files changed, 66 insertions, 0 deletions
diff --git a/textproc/asm-xml/Makefile b/textproc/asm-xml/Makefile
new file mode 100644
index 000000000000..aa08189a0987
--- /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 000000000000..a1a7e5d25ad6
--- /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 000000000000..adeef0fe52cc
--- /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 000000000000..45ff5be4f656
--- /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/