summaryrefslogtreecommitdiff
path: root/textproc/erlang-fast_yaml
diff options
context:
space:
mode:
authorfhajny <fhajny>2016-04-25 14:37:08 +0000
committerfhajny <fhajny>2016-04-25 14:37:08 +0000
commit33b2d778290091eecb4a62eec6b694086946c5c9 (patch)
tree0aa618b22030b2325d1475f4191fe7ca15fb81b0 /textproc/erlang-fast_yaml
parentd907770139924cbc4ebb62adea95e4edf4101666 (diff)
downloadpkgsrc-33b2d778290091eecb4a62eec6b694086946c5c9.tar.gz
Import fast_yaml-1.0.3 as textproc/erlang-fast_yaml.
Fast YAML is an Erlang wrapper for libyaml "C" library. It is designed to be fast and efficient.
Diffstat (limited to 'textproc/erlang-fast_yaml')
-rw-r--r--textproc/erlang-fast_yaml/DESCR2
-rw-r--r--textproc/erlang-fast_yaml/Makefile20
-rw-r--r--textproc/erlang-fast_yaml/PLIST6
-rw-r--r--textproc/erlang-fast_yaml/distinfo7
-rw-r--r--textproc/erlang-fast_yaml/patches/patch-rebar.config15
5 files changed, 50 insertions, 0 deletions
diff --git a/textproc/erlang-fast_yaml/DESCR b/textproc/erlang-fast_yaml/DESCR
new file mode 100644
index 00000000000..72215746ded
--- /dev/null
+++ b/textproc/erlang-fast_yaml/DESCR
@@ -0,0 +1,2 @@
+Fast YAML is an Erlang wrapper for libyaml "C" library. It is
+designed to be fast and efficient.
diff --git a/textproc/erlang-fast_yaml/Makefile b/textproc/erlang-fast_yaml/Makefile
new file mode 100644
index 00000000000..5fba4db7226
--- /dev/null
+++ b/textproc/erlang-fast_yaml/Makefile
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.1 2016/04/25 14:37:08 fhajny Exp $
+
+DISTNAME= fast_yaml-1.0.3
+CATEGORIES= textproc
+MASTER_SITES= ${MASTER_SITE_GITHUB:=processone/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://github.com/processone/fast_yaml/
+COMMENT= Fast YAML native library for Erlang / Elixir
+LICENSE= apache-2.0
+
+DEPENDS+= erlang-p1_utils>=1.0.3:../../misc/erlang-p1_utils
+
+GITHUB_PROJECT= fast_yaml
+
+GNU_CONFIGURE= yes
+
+.include "../../textproc/libyaml/buildlink3.mk"
+.include "../../lang/erlang/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/erlang-fast_yaml/PLIST b/textproc/erlang-fast_yaml/PLIST
new file mode 100644
index 00000000000..c9db95aedaf
--- /dev/null
+++ b/textproc/erlang-fast_yaml/PLIST
@@ -0,0 +1,6 @@
+@comment $NetBSD: PLIST,v 1.1 2016/04/25 14:37:08 fhajny Exp $
+lib/erlang/lib/fast_yaml-${PKGVERSION}/ebin/fast_yaml.app
+lib/erlang/lib/fast_yaml-${PKGVERSION}/ebin/fast_yaml.beam
+lib/erlang/lib/fast_yaml-${PKGVERSION}/ebin/fast_yaml_app.beam
+lib/erlang/lib/fast_yaml-${PKGVERSION}/ebin/fast_yaml_sup.beam
+lib/erlang/lib/fast_yaml-${PKGVERSION}/priv/lib/fast_yaml.so
diff --git a/textproc/erlang-fast_yaml/distinfo b/textproc/erlang-fast_yaml/distinfo
new file mode 100644
index 00000000000..73bd53f96ef
--- /dev/null
+++ b/textproc/erlang-fast_yaml/distinfo
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2016/04/25 14:37:08 fhajny Exp $
+
+SHA1 (fast_yaml-1.0.3.tar.gz) = 7490eda176e2155f0355f216927acf99c1c2564a
+RMD160 (fast_yaml-1.0.3.tar.gz) = efce78a3312ae0545e580843c75703c77efd8b62
+SHA512 (fast_yaml-1.0.3.tar.gz) = 321de1c0ff830de8a556bd661e600a66bccd944d6503a87a02111bcfb0b23c8c60b128296e7bb07ea39f923a04ebc7cd15e33971ca6691f16a75340c0695aee9
+Size (fast_yaml-1.0.3.tar.gz) = 49351 bytes
+SHA1 (patch-rebar.config) = 0670e32bcd0c5dfae9013fc46160631b806168e6
diff --git a/textproc/erlang-fast_yaml/patches/patch-rebar.config b/textproc/erlang-fast_yaml/patches/patch-rebar.config
new file mode 100644
index 00000000000..db05bf6e659
--- /dev/null
+++ b/textproc/erlang-fast_yaml/patches/patch-rebar.config
@@ -0,0 +1,15 @@
+$NetBSD: patch-rebar.config,v 1.1 2016/04/25 14:37:08 fhajny Exp $
+
+Deps are handled by pkgsrc.
+
+--- rebar.config.orig 2016-02-03 09:23:06.000000000 +0000
++++ rebar.config
+@@ -24,8 +24,6 @@
+ {port_env, [{"CFLAGS", "$CFLAGS"}, {"LDFLAGS", "$LDFLAGS"}]}.
+ {port_specs, [{"priv/lib/fast_yaml.so", ["c_src/fast_yaml.c"]}]}.
+
+-{deps, [{p1_utils, ".*", {git, "git://github.com/processone/p1_utils", {tag, "1.0.3"}}}]}.
+-
+ {clean_files, ["c_src/fast_yaml.gcda", "c_src/fast_yaml.gcno"]}.
+
+ {cover_enabled, true}.