BSD Ports

textproc/lua-luaexpat 1.5.2 FreeBSD

SAX XML parser based on the Expat library

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
MIT
Categories
textproc
Package size
15.0 KiB, 52.5 KiB installed

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
FreeBSDtextproc/lua-luaexpat1.5.2
DragonFlytextproc/lua-luaexpat1.5.2

Install

Binary package:

pkg install lua51-luaexpat

From the ports tree:

cd /usr/ports/textproc/lua-luaexpat/ && make install clean

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

RUN_DEPENDS=	lua51-luaexpat>0:textproc/lua-luaexpat

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest1.5.21.5.2-1.5.21.5.2
FreeBSD:14:quarterly1.5.21.5.2n/a1.5.21.5.2
FreeBSD:15:latest1.5.21.5.2n/a1.5.21.5.2
FreeBSD:15:quarterly1.5.21.5.2n/an/an/a
FreeBSD:16:latest1.5.21.5.2n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Library 1

The full lists below include those, and their dependencies in turn.

Build dependencies 6
Run dependencies 3

Configuration

No options to configure.

USES
gmake lua:module
Service scripts
none
Flavors
lua52-luaexpat-1.5.2, lua53-luaexpat-1.5.2, lua54-luaexpat-1.5.2, lua55-luaexpat-1.5.2

Files

pkg-plist 4
  • %%LUA_MODLIBDIR%%/lxp.so
  • %%LUA_MODSHAREDIR%%/lxp/lom.lua
  • %%LUA_MODSHAREDIR%%/lxp/threat.lua
  • %%LUA_MODSHAREDIR%%/lxp/totable.lua
distinfo 1
FileSizeSHA256
lunarmodules-luaexpat-1.5.2_GH0.tar.gz5407289d83f2141edec31be576425637216928221918fe95dc3854d1b7fd4c627213f

Commit history 0

No commits in the history this site was built from.