svn commit: r420661 - in head/textproc: . erlang-fast_xml erlang-fast_xml/files
Jimmy Olgeni
olgeni at FreeBSD.org
Tue Aug 23 11:10:13 UTC 2016
Author: olgeni
Date: Tue Aug 23 11:10:11 2016
New Revision: 420661
URL: https://svnweb.freebsd.org/changeset/ports/420661
Log:
Add textproc/erlang-fast_xml, an XML parsing and manipulation library
for Erlang.
(requires erlang.mk from r420660)
Added:
head/textproc/erlang-fast_xml/
head/textproc/erlang-fast_xml/Makefile (contents, props changed)
head/textproc/erlang-fast_xml/distinfo (contents, props changed)
head/textproc/erlang-fast_xml/files/
head/textproc/erlang-fast_xml/files/patch-rebar.config (contents, props changed)
head/textproc/erlang-fast_xml/pkg-descr (contents, props changed)
head/textproc/erlang-fast_xml/pkg-plist (contents, props changed)
Modified:
head/textproc/Makefile
Modified: head/textproc/Makefile
==============================================================================
--- head/textproc/Makefile Tue Aug 23 11:00:57 2016 (r420660)
+++ head/textproc/Makefile Tue Aug 23 11:10:11 2016 (r420661)
@@ -173,6 +173,7 @@
SUBDIR += eo-aspell
SUBDIR += eqe
SUBDIR += erlang-edown
+ SUBDIR += erlang-fast_xml
SUBDIR += erlang-p1_utils
SUBDIR += erlang-p1xml
SUBDIR += erlang-yamerl
Added: head/textproc/erlang-fast_xml/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/textproc/erlang-fast_xml/Makefile Tue Aug 23 11:10:11 2016 (r420661)
@@ -0,0 +1,28 @@
+# $FreeBSD$
+
+PORTNAME= fast_xml
+PORTVERSION= 1.1.15
+CATEGORIES= textproc
+PKGNAMEPREFIX= erlang-
+
+MAINTAINER= olgeni at FreeBSD.org
+COMMENT= Erlang XML parsing and manipulation library
+
+LICENSE= APACHE20
+
+LIB_DEPENDS= libexpat.so:textproc/expat2
+
+USES= erlang:rebar
+USE_GITHUB= yes
+GH_ACCOUNT= processone
+
+ERL_BUILD_DEPS= textproc/erlang-p1_utils
+ERL_RUN_DEPS:= ${ERL_BUILD_DEPS}
+
+CFLAGS+= -I${LOCALBASE}/include
+LDFLAGS+= -L${LOCALBASE}/lib -l expat
+
+pre-install:
+ ${STRIP_CMD} ${WRKSRC}/priv/lib/*.so
+
+.include <bsd.port.mk>
Added: head/textproc/erlang-fast_xml/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/textproc/erlang-fast_xml/distinfo Tue Aug 23 11:10:11 2016 (r420661)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1471945280
+SHA256 (processone-fast_xml-1.1.15_GH0.tar.gz) = 3cab1d45b67ae9f703e51480a4607f670caafede6fbdb4126e94a34b56a381f5
+SIZE (processone-fast_xml-1.1.15_GH0.tar.gz) = 86948
Added: head/textproc/erlang-fast_xml/files/patch-rebar.config
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/textproc/erlang-fast_xml/files/patch-rebar.config Tue Aug 23 11:10:11 2016 (r420661)
@@ -0,0 +1,11 @@
+--- rebar.config.orig 2016-08-23 10:16:49 UTC
++++ rebar.config
+@@ -25,7 +25,7 @@
+ {port_specs, [{"priv/lib/fxml.so", ["c_src/fxml.c"]},
+ {"priv/lib/fxml_stream.so", ["c_src/fxml_stream.c"]}]}.
+
+-{deps, [{p1_utils, ".*", {git, "https://github.com/processone/p1_utils", {tag, "1.0.5"}}}]}.
++{deps, []}.
+
+ {clean_files, ["c_src/fxml.gcda", "c_src/fxml.gcno", "c_src/fxml_stream.gcda", "c_src/fxml_stream.gcno"]}.
+
Added: head/textproc/erlang-fast_xml/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/textproc/erlang-fast_xml/pkg-descr Tue Aug 23 11:10:11 2016 (r420661)
@@ -0,0 +1,4 @@
+Fast Expat based Erlang XML parsing library, with a strong focus
+on XML stream parsing from network.
+
+WWW: https://github.com/processone/fast_xml
Added: head/textproc/erlang-fast_xml/pkg-plist
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/textproc/erlang-fast_xml/pkg-plist Tue Aug 23 11:10:11 2016 (r420661)
@@ -0,0 +1,24 @@
+lib/erlang/lib/fast_xml-%%VERSION%%/ebin/fast_xml.app
+lib/erlang/lib/fast_xml-%%VERSION%%/ebin/fast_xml.beam
+lib/erlang/lib/fast_xml-%%VERSION%%/ebin/fxml.beam
+lib/erlang/lib/fast_xml-%%VERSION%%/ebin/fxml_gen.beam
+lib/erlang/lib/fast_xml-%%VERSION%%/ebin/fxml_gen_pt.beam
+lib/erlang/lib/fast_xml-%%VERSION%%/ebin/fxml_stream.beam
+lib/erlang/lib/fast_xml-%%VERSION%%/ebin/fxml_sup.beam
+lib/erlang/lib/fast_xml-%%VERSION%%/ebin/fxmlrpc.beam
+lib/erlang/lib/fast_xml-%%VERSION%%/ebin/fxmlrpc_codec.beam
+lib/erlang/lib/fast_xml-%%VERSION%%/include/fxml.hrl
+lib/erlang/lib/fast_xml-%%VERSION%%/include/fxml_gen.hrl
+lib/erlang/lib/fast_xml-%%VERSION%%/priv/lib/.keepme
+lib/erlang/lib/fast_xml-%%VERSION%%/priv/lib/fxml.so
+lib/erlang/lib/fast_xml-%%VERSION%%/priv/lib/fxml_stream.so
+lib/erlang/lib/fast_xml-%%VERSION%%/src/fast_xml.app.src
+lib/erlang/lib/fast_xml-%%VERSION%%/src/fast_xml.erl
+lib/erlang/lib/fast_xml-%%VERSION%%/src/fxml.erl
+lib/erlang/lib/fast_xml-%%VERSION%%/src/fxml_gen.erl
+lib/erlang/lib/fast_xml-%%VERSION%%/src/fxml_gen_pt.erl
+lib/erlang/lib/fast_xml-%%VERSION%%/src/fxml_stream.erl
+lib/erlang/lib/fast_xml-%%VERSION%%/src/fxml_sup.erl
+lib/erlang/lib/fast_xml-%%VERSION%%/src/fxmlrpc.erl
+lib/erlang/lib/fast_xml-%%VERSION%%/src/fxmlrpc_codec.erl
+%%PORTDOCS%%%%DOCSDIR%%/README.md
More information about the svn-ports-all
mailing list