diff options
author | fhajny <fhajny@pkgsrc.org> | 2017-01-03 18:35:54 +0000 |
---|---|---|
committer | fhajny <fhajny@pkgsrc.org> | 2017-01-03 18:35:54 +0000 |
commit | 4b1812039d01db3acf1a750aabfc3ec22a2fb3e0 (patch) | |
tree | a3c6e6b93d0d479508fa4fdcb43a34a7d2e5cc9d | |
parent | b558e9c4efc2c25ae0adf15a833525d759e77b40 (diff) | |
download | pkgsrc-4b1812039d01db3acf1a750aabfc3ec22a2fb3e0.tar.gz |
Import erlang-xmpp-1.1.14 as net/erlang-xmpp.
Fast Expat based Erlang XML parsing and manipulation library, with
a strong focus on XML stream parsing from network.
-rw-r--r-- | net/erlang-xmpp/DESCR | 2 | ||||
-rw-r--r-- | net/erlang-xmpp/Makefile | 30 | ||||
-rw-r--r-- | net/erlang-xmpp/PLIST | 34 | ||||
-rw-r--r-- | net/erlang-xmpp/distinfo | 7 | ||||
-rw-r--r-- | net/erlang-xmpp/patches/patch-rebar.config | 19 |
5 files changed, 92 insertions, 0 deletions
diff --git a/net/erlang-xmpp/DESCR b/net/erlang-xmpp/DESCR new file mode 100644 index 00000000000..94a0cf936f0 --- /dev/null +++ b/net/erlang-xmpp/DESCR @@ -0,0 +1,2 @@ +Fast Expat based Erlang XML parsing and manipulation library, with +a strong focus on XML stream parsing from network. diff --git a/net/erlang-xmpp/Makefile b/net/erlang-xmpp/Makefile new file mode 100644 index 00000000000..b1d3eba1109 --- /dev/null +++ b/net/erlang-xmpp/Makefile @@ -0,0 +1,30 @@ +# $NetBSD: Makefile,v 1.1 2017/01/03 18:35:54 fhajny Exp $ + +DISTNAME= xmpp-1.1.4 +CATEGORIES= net +MASTER_SITES= ${MASTER_SITE_GITHUB:=processone/} + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= http://github.com/processone/xmpp/ +COMMENT= XMPP parsing and serialization library on top of Fast XML +LICENSE= apache-2.0 + +DEPENDS+= erlang-fast_xml>=1.1.18:../../textproc/erlang-fast_xml +DEPENDS+= erlang-stringprep>=1.0.7:../../textproc/erlang-stringprep + +GITHUB_PROJECT= xmpp + +BUILD_TARGET= src + +SUBST_CLASSES+= path +SUBST_STAGE.path= pre-configure +SUBST_FILES.path= rebar.config +SUBST_MESSAGE.path= Fixing include path +SUBST_VARS.path= LOCALBASE + +# Leave a non-versioned symlink in place for net/erlang-esip to find +post-install: + ${LN} -sf ${DISTNAME} ${DESTDIR}${PREFIX}/lib/erlang/lib/xmpp + +.include "../../lang/erlang/module.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/net/erlang-xmpp/PLIST b/net/erlang-xmpp/PLIST new file mode 100644 index 00000000000..168982fd974 --- /dev/null +++ b/net/erlang-xmpp/PLIST @@ -0,0 +1,34 @@ +@comment $NetBSD: PLIST,v 1.1 2017/01/03 18:35:54 fhajny Exp $ +lib/erlang/lib/xmpp +lib/erlang/lib/xmpp-${PKGVERSION}/ebin/flex_offline.beam +lib/erlang/lib/xmpp-${PKGVERSION}/ebin/jid.beam +lib/erlang/lib/xmpp-${PKGVERSION}/ebin/mam_query.beam +lib/erlang/lib/xmpp-${PKGVERSION}/ebin/muc_register.beam +lib/erlang/lib/xmpp-${PKGVERSION}/ebin/muc_request.beam +lib/erlang/lib/xmpp-${PKGVERSION}/ebin/muc_roomconfig.beam +lib/erlang/lib/xmpp-${PKGVERSION}/ebin/muc_roominfo.beam +lib/erlang/lib/xmpp-${PKGVERSION}/ebin/pubsub_get_pending.beam +lib/erlang/lib/xmpp-${PKGVERSION}/ebin/pubsub_node_config.beam +lib/erlang/lib/xmpp-${PKGVERSION}/ebin/pubsub_publish_options.beam +lib/erlang/lib/xmpp-${PKGVERSION}/ebin/pubsub_subscribe_authorization.beam +lib/erlang/lib/xmpp-${PKGVERSION}/ebin/pubsub_subscribe_options.beam +lib/erlang/lib/xmpp-${PKGVERSION}/ebin/xdata_codec.beam +lib/erlang/lib/xmpp-${PKGVERSION}/ebin/xmpp.app +lib/erlang/lib/xmpp-${PKGVERSION}/ebin/xmpp.beam +lib/erlang/lib/xmpp-${PKGVERSION}/ebin/xmpp_codec.beam +lib/erlang/lib/xmpp-${PKGVERSION}/ebin/xmpp_util.beam +lib/erlang/lib/xmpp-${PKGVERSION}/include/flex_offline.hrl +lib/erlang/lib/xmpp-${PKGVERSION}/include/jid.hrl +lib/erlang/lib/xmpp-${PKGVERSION}/include/mam_query.hrl +lib/erlang/lib/xmpp-${PKGVERSION}/include/muc_register.hrl +lib/erlang/lib/xmpp-${PKGVERSION}/include/muc_request.hrl +lib/erlang/lib/xmpp-${PKGVERSION}/include/muc_roomconfig.hrl +lib/erlang/lib/xmpp-${PKGVERSION}/include/muc_roominfo.hrl +lib/erlang/lib/xmpp-${PKGVERSION}/include/ns.hrl +lib/erlang/lib/xmpp-${PKGVERSION}/include/pubsub_get_pending.hrl +lib/erlang/lib/xmpp-${PKGVERSION}/include/pubsub_node_config.hrl +lib/erlang/lib/xmpp-${PKGVERSION}/include/pubsub_publish_options.hrl +lib/erlang/lib/xmpp-${PKGVERSION}/include/pubsub_subscribe_authorization.hrl +lib/erlang/lib/xmpp-${PKGVERSION}/include/pubsub_subscribe_options.hrl +lib/erlang/lib/xmpp-${PKGVERSION}/include/xmpp.hrl +lib/erlang/lib/xmpp-${PKGVERSION}/include/xmpp_codec.hrl diff --git a/net/erlang-xmpp/distinfo b/net/erlang-xmpp/distinfo new file mode 100644 index 00000000000..188ba4abd55 --- /dev/null +++ b/net/erlang-xmpp/distinfo @@ -0,0 +1,7 @@ +$NetBSD: distinfo,v 1.1 2017/01/03 18:35:54 fhajny Exp $ + +SHA1 (xmpp-1.1.4.tar.gz) = d2c791766d09819ba54c2980f9317fdf01644302 +RMD160 (xmpp-1.1.4.tar.gz) = 03671fd8e1d7913b028838a5e5f26fd6d29100d5 +SHA512 (xmpp-1.1.4.tar.gz) = 430be850f500a76d9a34447f1e6169d0a4e8611bfb57109e5392844e7d681a54b18ec03c4b7bc0182284944328303ec3264fdb66eef965e610555692e0a2ddee +Size (xmpp-1.1.4.tar.gz) = 344660 bytes +SHA1 (patch-rebar.config) = 1d03a7f56107d057bf15a5981b041b334565ef80 diff --git a/net/erlang-xmpp/patches/patch-rebar.config b/net/erlang-xmpp/patches/patch-rebar.config new file mode 100644 index 00000000000..d35d6351639 --- /dev/null +++ b/net/erlang-xmpp/patches/patch-rebar.config @@ -0,0 +1,19 @@ +$NetBSD: patch-rebar.config,v 1.1 2017/01/03 18:35:54 fhajny Exp $ + +Deps are handled by pkgsrc. +Look up fast_xml includes properly. + +--- rebar.config.orig 2016-12-06 16:30:13.000000000 +0000 ++++ rebar.config +@@ -22,10 +22,7 @@ + {erl_opts, [debug_info, {src_dirs, ["src"]}, + {i, "include"}, + {i, "../fast_xml/include"}, +- {i, "deps/fast_xml/include"}]}. +- +-{deps, [{fast_xml, ".*", {git, "https://github.com/processone/fast_xml", {tag, "1.1.18"}}}, +- {stringprep, ".*", {git, "https://github.com/processone/stringprep", {tag, "1.0.7"}}}]}. ++ {i, "@LOCALBASE@/lib/erlang/lib/fast_xml/include"}]}. + + {cover_enabled, true}. + {cover_export_enabled, true}. |