BSD Ports

textproc/luaexpat 1.3.0 MidnightBSD

LuaExpat is a SAX XML parser based on the Expat library

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
License
mit
Categories
textproc

Description

LuaExpat is a SAX XML parser based on the Expat library. SAX is the Simple API for XML and allows programs to:

* process a XML document incrementally, thus being able to handle huge documents without memory penalties; * register handler functions which are called by the parser during the processing of the document, handling the document elements or text.

With an event-based API like SAX the XML document can be fed to the parser in chunks, and the parsing begins as soon as the parser receives the first document chunk. LuaExpat reports parsing events (such as the start and end of elements) directly to the application through callbacks. The parsing of huge documents can benefit from this piecemeal operation.

In the other systems

SystemPortVersion
MidnightBSDtextproc/luaexpat1.3.0
OpenBSDtextproc/luaexpat1.3.0p0

Install

Binary package:

mport install ${LUA_PKGNAMEPREFIX}luaexpat

From mports:

cd /usr/mports/textproc/luaexpat && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	${LUA_PKGNAMEPREFIX}luaexpat>0:textproc/luaexpat

Dependencies

As this port's Makefile names them.

Library 1

Build dependencies 1
Run dependencies 1

No port depends on this one.

Configuration

No options to configure.

USES
lua:module gmake
Service scripts
none

Files

pkg-plist 2
  • %%LUA_MODLIBDIR%%/lxp.so
  • %%LUA_MODSHAREDIR%%/lxp/lom.lua
distinfo 1
FileSizeSHA256
luaexpat-1.3.0.tar.gz29567d060397960d87b2c89cf490f330508b7def1a0677bdc120531c571609fc57dc3
Master sites 2
  • http://matthewwild.co.uk/projects/luaexpat/
  • http://redundancy.redundancy.org/mirror/