Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Update MASTER_SITES - Update WWW - While I'm here, update pkg-descr PR: 263978 Reported by: Thomas Morper <thomas@beingboiled.info>
- Loading branch information
Showing
5 changed files
with
27 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,26 @@ | ||
# Created by: Andrew Lewis <freeghb@gmail.com> | ||
|
||
PORTNAME= luaexpat | ||
PORTVERSION= 1.3.0 | ||
PORTREVISION= 5 | ||
PORTVERSION= 1.4.1 | ||
CATEGORIES= textproc | ||
MASTER_SITES= https://matthewwild.co.uk/projects/luaexpat/ | ||
PKGNAMEPREFIX= ${LUA_PKGNAMEPREFIX} | ||
|
||
MAINTAINER= sunpoet@FreeBSD.org | ||
COMMENT= SAX XML parser based on Expat library | ||
COMMENT= SAX XML parser based on the Expat library | ||
|
||
LICENSE= MIT | ||
|
||
LIB_DEPENDS= libexpat.so:textproc/expat2 | ||
|
||
USES= gmake lua:module | ||
|
||
USE_GITHUB= yes | ||
GH_ACCOUNT= lunarmodules | ||
|
||
ALL_TARGET= lib | ||
CFLAGS+= -fPIC | ||
LDFLAGS+= -L${LOCALBASE}/lib | ||
MAKE_ARGS= COMMON_CFLAGS="-Wall" | ||
MAKE_ENV= EXPAT_INC=-I${LOCALBASE}/include LUA_CDIR=${LUA_MODLIBDIR} LUA_INC=-I${LUA_INCDIR} LUA_LDIR=${LUA_MODSHAREDIR} | ||
MAKE_ARGS= COMMON_CFLAGS=-Wall | ||
MAKE_ENV= EXPAT_INC=-I${LOCALBASE}/include LUA_CDIR=${LUA_MODLIBDIR} LUA_INC=-I${LUA_INCDIR} LUA_LDIR=${LUA_MODSHAREDIR} LUA_V=${LUA_VER} | ||
|
||
.include <bsd.port.mk> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
SHA256 (luaexpat-1.3.0.tar.gz) = d060397960d87b2c89cf490f330508b7def1a0677bdc120531c571609fc57dc3 | ||
SIZE (luaexpat-1.3.0.tar.gz) = 29567 | ||
TIMESTAMP = 1653151296 | ||
SHA256 (lunarmodules-luaexpat-1.4.1_GH0.tar.gz) = d528060d45865b44bef7215ef8a440165b668f363a4af53358389f0315a8593c | ||
SIZE (lunarmodules-luaexpat-1.4.1_GH0.tar.gz) = 52159 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,19 @@ | ||
--- Makefile.orig 2014-04-02 23:30:37 UTC | ||
--- Makefile.orig 2022-04-01 08:20:20 UTC | ||
+++ Makefile | ||
@@ -27,8 +27,10 @@ src/$(LIBNAME): | ||
@@ -27,10 +27,12 @@ src/$(LIBNAME): | ||
$(CC) $(CF) -o $@ src/$(T)lib.c $(LF) | ||
|
||
install: | ||
- $(INSTALL_PROGRAM) -D src/$(LIBNAME) $(DESTDIR)$(LUA_CDIR)/$(LIBNAME) | ||
- $(INSTALL_PROGRAM) -D src/$T/lom.lua $(DESTDIR)$(LUA_LDIR)/$T/lom.lua | ||
- $(INSTALL_PROGRAM) -D src/$T/totable.lua $(DESTDIR)$(LUA_LDIR)/$T/totable.lua | ||
- $(INSTALL_PROGRAM) -D src/$T/threat.lua $(DESTDIR)$(LUA_LDIR)/$T/threat.lua | ||
+ mkdir -p $(DESTDIR)$(LUA_CDIR) | ||
+ mkdir -p $(DESTDIR)$(LUA_LDIR)/$T | ||
+ $(INSTALL_PROGRAM) src/$(LIBNAME) $(DESTDIR)$(LUA_CDIR)/$(LIBNAME) | ||
+ $(INSTALL_PROGRAM) src/$T/lom.lua $(DESTDIR)$(LUA_LDIR)/$T/lom.lua | ||
+ $(INSTALL_PROGRAM) src/$T/totable.lua $(DESTDIR)$(LUA_LDIR)/$T/totable.lua | ||
+ $(INSTALL_PROGRAM) src/$T/threat.lua $(DESTDIR)$(LUA_LDIR)/$T/threat.lua | ||
|
||
clean: | ||
$(RM) src/$(LIBNAME) $(OBJS) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
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 | ||
- 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. | ||
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. | ||
|
||
WWW: https://www.keplerproject.org/luaexpat/ | ||
WWW: https://lunarmodules.github.io/luaexpat/ | ||
WWW: https://github.com/lunarmodules/luaexpat |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
%%LUA_MODLIBDIR%%/lxp.so | ||
%%LUA_MODSHAREDIR%%/lxp/lom.lua | ||
%%LUA_MODSHAREDIR%%/lxp/threat.lua | ||
%%LUA_MODSHAREDIR%%/lxp/totable.lua |