summaryrefslogtreecommitdiff
path: root/textproc/erlang-stringprep
diff options
context:
space:
mode:
authorfhajny <fhajny>2016-04-25 14:46:56 +0000
committerfhajny <fhajny>2016-04-25 14:46:56 +0000
commit802e8140e1ec1d29ec50ee170057ef60162a2086 (patch)
tree4798a41d281e5470927f7c21300ccd05c1bf4bfb /textproc/erlang-stringprep
parent6e30793b6cb5296f25ce950a4fc93d07091fa909 (diff)
downloadpkgsrc-802e8140e1ec1d29ec50ee170057ef60162a2086.tar.gz
Import stringprep-1.0.2 as textproc/erlang-stringprep.
Stringprep is a framework for preparing Unicode test strings in order to increase the likelihood that string input and string comparison work.
Diffstat (limited to 'textproc/erlang-stringprep')
-rw-r--r--textproc/erlang-stringprep/DESCR3
-rw-r--r--textproc/erlang-stringprep/Makefile20
-rw-r--r--textproc/erlang-stringprep/PLIST6
-rw-r--r--textproc/erlang-stringprep/distinfo7
-rw-r--r--textproc/erlang-stringprep/patches/patch-rebar.config15
5 files changed, 51 insertions, 0 deletions
diff --git a/textproc/erlang-stringprep/DESCR b/textproc/erlang-stringprep/DESCR
new file mode 100644
index 00000000000..97317786283
--- /dev/null
+++ b/textproc/erlang-stringprep/DESCR
@@ -0,0 +1,3 @@
+Stringprep is a framework for preparing Unicode test strings in
+order to increase the likelihood that string input and string
+comparison work.
diff --git a/textproc/erlang-stringprep/Makefile b/textproc/erlang-stringprep/Makefile
new file mode 100644
index 00000000000..35eae715598
--- /dev/null
+++ b/textproc/erlang-stringprep/Makefile
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.1 2016/04/25 14:46:56 fhajny Exp $
+
+DISTNAME= stringprep-1.0.2
+CATEGORIES= textproc
+MASTER_SITES= ${MASTER_SITE_GITHUB:=processone/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://github.com/processone/stringprep/
+COMMENT= Fast Stringprep implementation for Erlang / Elixir
+LICENSE= apache-2.0
+
+GITHUB_PROJECT= stringprep
+
+DEPENDS+= erlang-p1_utils>=1.0.3:../../misc/erlang-p1_utils
+
+GNU_CONFIGURE= yes
+USE_LANGUAGES= c c++
+
+.include "../../lang/erlang/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/erlang-stringprep/PLIST b/textproc/erlang-stringprep/PLIST
new file mode 100644
index 00000000000..8f0cddbadbc
--- /dev/null
+++ b/textproc/erlang-stringprep/PLIST
@@ -0,0 +1,6 @@
+@comment $NetBSD: PLIST,v 1.1 2016/04/25 14:46:56 fhajny Exp $
+lib/erlang/lib/stringprep-${PKGVERSION}/ebin/stringprep.app
+lib/erlang/lib/stringprep-${PKGVERSION}/ebin/stringprep.beam
+lib/erlang/lib/stringprep-${PKGVERSION}/ebin/stringprep_app.beam
+lib/erlang/lib/stringprep-${PKGVERSION}/ebin/stringprep_sup.beam
+lib/erlang/lib/stringprep-${PKGVERSION}/priv/lib/stringprep.so
diff --git a/textproc/erlang-stringprep/distinfo b/textproc/erlang-stringprep/distinfo
new file mode 100644
index 00000000000..87cb64df820
--- /dev/null
+++ b/textproc/erlang-stringprep/distinfo
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2016/04/25 14:46:56 fhajny Exp $
+
+SHA1 (stringprep-1.0.2.tar.gz) = d2c6374daaffec51d5fdd567cb14433808c01516
+RMD160 (stringprep-1.0.2.tar.gz) = c9ff6427977d89b0912e7253c0f14278d754c19e
+SHA512 (stringprep-1.0.2.tar.gz) = 0c0bb2ef663035a6c791f94d5140f27cc7d1d0e165d338653abcb591f422203e0c2db6d9c7cd3226e66984f8cfa227c608bd50a02d6170856a29711d9e4ca326
+Size (stringprep-1.0.2.tar.gz) = 95131 bytes
+SHA1 (patch-rebar.config) = aced4f2212d683e38221a5bd8b2a2c1e3657abe7
diff --git a/textproc/erlang-stringprep/patches/patch-rebar.config b/textproc/erlang-stringprep/patches/patch-rebar.config
new file mode 100644
index 00000000000..6a2e55145e3
--- /dev/null
+++ b/textproc/erlang-stringprep/patches/patch-rebar.config
@@ -0,0 +1,15 @@
+$NetBSD: patch-rebar.config,v 1.1 2016/04/25 14:46:56 fhajny Exp $
+
+Deps are handled by pkgsrc.
+
+--- rebar.config.orig 2016-02-03 09:10:59.000000000 +0000
++++ rebar.config
+@@ -22,8 +22,6 @@
+
+ {erl_opts, [debug_info]}.
+
+-{deps, [{p1_utils, ".*", {git, "https://github.com/processone/p1_utils", {tag, "1.0.3"}}}]}.
+-
+ {port_env, [
+ {"CXXFLAGS", "-O3 -Wall"},
+ {"(linux|solaris|freebsd|netbsd|openbsd|dragonfly|darwin|gnu)",