summaryrefslogtreecommitdiff
path: root/textproc/luaexpat
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2024-09-05 13:19:23 +0800
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2024-09-05 14:11:21 +0800
commitd6de2c128d16a0c1edd7a5670386fb2cbbb92c00 (patch)
treeb80b749530d8dab56ea94975f5a5bd9f1a768274 /textproc/luaexpat
parentnet/lua-luasocket: Move net/luasocket to net/lua-luasocket (diff)
textproc/lua-luaexpat: Move textproc/luaexpat to textproc/lua-luaexpat
- Bump PORTREVISION of dependent ports for dependency change
Diffstat (limited to 'textproc/luaexpat')
-rw-r--r--textproc/luaexpat/Makefile29
-rw-r--r--textproc/luaexpat/distinfo3
-rw-r--r--textproc/luaexpat/files/patch-Makefile19
-rw-r--r--textproc/luaexpat/pkg-descr12
-rw-r--r--textproc/luaexpat/pkg-plist4
5 files changed, 0 insertions, 67 deletions
diff --git a/textproc/luaexpat/Makefile b/textproc/luaexpat/Makefile
deleted file mode 100644
index d65adb15d2e1..000000000000
--- a/textproc/luaexpat/Makefile
+++ /dev/null
@@ -1,29 +0,0 @@
-PORTNAME= luaexpat
-PORTVERSION= 1.5.2
-CATEGORIES= textproc
-PKGNAMEPREFIX= ${LUA_PKGNAMEPREFIX}
-
-MAINTAINER= sunpoet@FreeBSD.org
-COMMENT= SAX XML parser based on the Expat library
-WWW= https://lunarmodules.github.io/luaexpat/ \
- https://github.com/lunarmodules/luaexpat
-
-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} LUA_V=${LUA_VER}
-
-post-install:
- ${STRIP_CMD} ${STAGEDIR}${LUA_MODLIBDIR}/lxp.so
-
-.include <bsd.port.mk>
diff --git a/textproc/luaexpat/distinfo b/textproc/luaexpat/distinfo
deleted file mode 100644
index 7f504d456eff..000000000000
--- a/textproc/luaexpat/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-TIMESTAMP = 1720022714
-SHA256 (lunarmodules-luaexpat-1.5.2_GH0.tar.gz) = 89d83f2141edec31be576425637216928221918fe95dc3854d1b7fd4c627213f
-SIZE (lunarmodules-luaexpat-1.5.2_GH0.tar.gz) = 54072
diff --git a/textproc/luaexpat/files/patch-Makefile b/textproc/luaexpat/files/patch-Makefile
deleted file mode 100644
index 42ad927f5d63..000000000000
--- a/textproc/luaexpat/files/patch-Makefile
+++ /dev/null
@@ -1,19 +0,0 @@
---- Makefile.orig 2022-10-03 09:23:43 UTC
-+++ Makefile
-@@ -27,10 +27,12 @@ src/$(LIBNAME):
- $(CC) $(CF) $(RPM_OPT_FLAGS) $(RPM_LD_FLAGS) -o $@ src/$(T)lib.c $(LF)
-
- install:
-- $(INSTALL_PROGRAM) -D src/$(LIBNAME) $(DESTDIR)$(LUA_CDIR)/$(LIBNAME)
-- $(INSTALL_DATA) -D src/$T/lom.lua $(DESTDIR)$(LUA_LDIR)/$T/lom.lua
-- $(INSTALL_DATA) -D src/$T/totable.lua $(DESTDIR)$(LUA_LDIR)/$T/totable.lua
-- $(INSTALL_DATA) -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_DATA) src/$T/lom.lua $(DESTDIR)$(LUA_LDIR)/$T/lom.lua
-+ $(INSTALL_DATA) src/$T/totable.lua $(DESTDIR)$(LUA_LDIR)/$T/totable.lua
-+ $(INSTALL_DATA) src/$T/threat.lua $(DESTDIR)$(LUA_LDIR)/$T/threat.lua
-
- clean:
- $(RM) src/$(LIBNAME) $(OBJS)
diff --git a/textproc/luaexpat/pkg-descr b/textproc/luaexpat/pkg-descr
deleted file mode 100644
index 8109063588e0..000000000000
--- a/textproc/luaexpat/pkg-descr
+++ /dev/null
@@ -1,12 +0,0 @@
-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.
diff --git a/textproc/luaexpat/pkg-plist b/textproc/luaexpat/pkg-plist
deleted file mode 100644
index 0c507687f33a..000000000000
--- a/textproc/luaexpat/pkg-plist
+++ /dev/null
@@ -1,4 +0,0 @@
-%%LUA_MODLIBDIR%%/lxp.so
-%%LUA_MODSHAREDIR%%/lxp/lom.lua
-%%LUA_MODSHAREDIR%%/lxp/threat.lua
-%%LUA_MODSHAREDIR%%/lxp/totable.lua