Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F133577792
D3582.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.diff
View Options
Index: head/textproc/Makefile
===================================================================
--- head/textproc/Makefile
+++ head/textproc/Makefile
@@ -168,6 +168,7 @@
SUBDIR += eo-aspell
SUBDIR += eqe
SUBDIR += erlang-edown
+ SUBDIR += erlang-p1xml
SUBDIR += erlang-yamerl
SUBDIR += es-aspell
SUBDIR += es-hunspell
Index: head/textproc/erlang-p1xml/Makefile
===================================================================
--- head/textproc/erlang-p1xml/Makefile
+++ head/textproc/erlang-p1xml/Makefile
@@ -0,0 +1,34 @@
+# Created by: Babak Farrokhi <farrokhi@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= p1xml
+PORTVERSION= 0.20150724
+CATEGORIES= 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: head/textproc/erlang-p1xml/distinfo
===================================================================
--- head/textproc/erlang-p1xml/distinfo
+++ head/textproc/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: head/textproc/erlang-p1xml/pkg-descr
===================================================================
--- head/textproc/erlang-p1xml/pkg-descr
+++ head/textproc/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: head/textproc/erlang-p1xml/pkg-plist
===================================================================
--- head/textproc/erlang-p1xml/pkg-plist
+++ head/textproc/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, 6:58 PM (8 h, 53 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
24310380
Default Alt Text
D3582.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