Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F133561187
D3582.id8586.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
3 KB
Referenced Files
None
Subscribers
None
D3582.id8586.diff
View Options
Index: devel/Makefile
===================================================================
--- devel/Makefile
+++ devel/Makefile
@@ -476,6 +476,7 @@
SUBDIR += erlang-msgpack
SUBDIR += erlang-neotoma
SUBDIR += erlang-oserl
+ SUBDIR += erlang-p1xml
SUBDIR += erlang-parse_trans
SUBDIR += erlang-poolboy
SUBDIR += erlang-protobuffs
Index: devel/erlang-p1xml/Makefile
===================================================================
--- /dev/null
+++ devel/erlang-p1xml/Makefile
@@ -0,0 +1,34 @@
+# Created by: Babak Farrokhi <farrokhi@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= p1xml
+PORTVERSION= 0.20150724
+CATEGORIES= devel textproc
+PKGNAMEPREFIX= erlang-
+
+MAINTAINER= farrokhi@FreeBSD.org
+COMMENT= Fast Expat based Erlang XML parsing library
+
+LICENSE= GPLv2
+
+LIB_DEPENDS= libexpat.so:${PORTSDIR}/textproc/expat2
+
+USES= erlang:rebar
+USE_GITHUB= yes
+GH_ACCOUNT= processone
+GH_PROJECT= xml
+GH_TAGNAME= 7ff90b7
+
+USE_LDCONFIG= yes
+GNU_CONFIGURE= yes
+CFLAGS+= -I${LOCALBASE}/include
+LDFLAGS+= -L${LOCALBASE}/lib -l expat
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|{"CFLAGS", ".*"|{"CFLAGS", "${CFLAGS}"|' \
+ -e 's|{"LDFLAGS", ".*"|{"LDFLAGS", "${LDFLAGS}"|' ${WRKSRC}/rebar.config.script.in
+
+post-install:
+ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/erlang/lib/${PORTNAME}-${PORTVERSION}/priv/lib/*.so
+
+.include <bsd.port.mk>
Index: devel/erlang-p1xml/distinfo
===================================================================
--- /dev/null
+++ devel/erlang-p1xml/distinfo
@@ -0,0 +1,2 @@
+SHA256 (processone-xml-0.20150724-7ff90b7_GH0.tar.gz) = b6534ea960172ebe77389b37c4b26f46b6dab0c547641996c52b15b576007b84
+SIZE (processone-xml-0.20150724-7ff90b7_GH0.tar.gz) = 78848
Index: devel/erlang-p1xml/pkg-descr
===================================================================
--- /dev/null
+++ devel/erlang-p1xml/pkg-descr
@@ -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/xml
Index: devel/erlang-p1xml/pkg-plist
===================================================================
--- /dev/null
+++ devel/erlang-p1xml/pkg-plist
@@ -0,0 +1,23 @@
+lib/erlang/lib/p1xml-%%VERSION%%/ebin/p1_xml.app
+lib/erlang/lib/p1xml-%%VERSION%%/ebin/p1_xmlrpc.beam
+lib/erlang/lib/p1xml-%%VERSION%%/ebin/xml.beam
+lib/erlang/lib/p1xml-%%VERSION%%/ebin/xml_app.beam
+lib/erlang/lib/p1xml-%%VERSION%%/ebin/xml_gen.beam
+lib/erlang/lib/p1xml-%%VERSION%%/ebin/xml_stream.beam
+lib/erlang/lib/p1xml-%%VERSION%%/ebin/xml_sup.beam
+lib/erlang/lib/p1xml-%%VERSION%%/ebin/xml_util.beam
+lib/erlang/lib/p1xml-%%VERSION%%/ebin/xmlrpc_codec.beam
+lib/erlang/lib/p1xml-%%VERSION%%/include/xml.hrl
+lib/erlang/lib/p1xml-%%VERSION%%/include/xml_gen.hrl
+lib/erlang/lib/p1xml-%%VERSION%%/priv/lib/expat_erl.so
+lib/erlang/lib/p1xml-%%VERSION%%/priv/lib/xml.so
+lib/erlang/lib/p1xml-%%VERSION%%/src/p1_xml.app.src
+lib/erlang/lib/p1xml-%%VERSION%%/src/p1_xmlrpc.erl
+lib/erlang/lib/p1xml-%%VERSION%%/src/xml.erl
+lib/erlang/lib/p1xml-%%VERSION%%/src/xml_app.erl
+lib/erlang/lib/p1xml-%%VERSION%%/src/xml_gen.erl
+lib/erlang/lib/p1xml-%%VERSION%%/src/xml_stream.erl
+lib/erlang/lib/p1xml-%%VERSION%%/src/xml_sup.erl
+lib/erlang/lib/p1xml-%%VERSION%%/src/xml_util.erl
+lib/erlang/lib/p1xml-%%VERSION%%/src/xmlrpc_codec.erl
+%%PORTDOCS%%%%DOCSDIR%%/README.md
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Oct 27, 4:26 PM (6 h, 21 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
24303009
Default Alt Text
D3582.id8586.diff (3 KB)
Attached To
Mode
D3582: New Port: devel/erlang-p1xml - Fast Expat based Erlang XML parsing library
Attached
Detach File
Event Timeline
Log In to Comment