aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormmoll <mmoll@FreeBSD.org>2015-10-09 21:14:10 +0800
committermmoll <mmoll@FreeBSD.org>2015-10-09 21:14:10 +0800
commitbcd5ae88438282f6909f9524bcbc06c955b14ba6 (patch)
tree6f5f641129a5b3be39a8f8c1fcd0292ec00aae94
parent4ea0fb95dfc69bc98ed8bdc517413130d9df7adb (diff)
downloadfreebsd-ports-gnome-bcd5ae88438282f6909f9524bcbc06c955b14ba6.tar.gz
freebsd-ports-gnome-bcd5ae88438282f6909f9524bcbc06c955b14ba6.tar.zst
freebsd-ports-gnome-bcd5ae88438282f6909f9524bcbc06c955b14ba6.zip
new port: devel/rubygem-apipie-params
DSL for Hash/JSON descriptions. Allows description of hash formats using Ruby code, generating a json-schema for it and validating values against it. It's based on the DSL of apipie-rails. WWW: https://github.com/iNecas/apipie-params
-rw-r--r--devel/Makefile1
-rw-r--r--devel/rubygem-apipie-params/Makefile21
-rw-r--r--devel/rubygem-apipie-params/distinfo2
-rw-r--r--devel/rubygem-apipie-params/pkg-descr6
4 files changed, 30 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 8bf358463937..f6514de23483 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -4596,6 +4596,7 @@
SUBDIR += rubygem-annoy
SUBDIR += rubygem-ansi
SUBDIR += rubygem-apipie-bindings
+ SUBDIR += rubygem-apipie-params
SUBDIR += rubygem-app_config
SUBDIR += rubygem-arrayfields
SUBDIR += rubygem-ascii85
diff --git a/devel/rubygem-apipie-params/Makefile b/devel/rubygem-apipie-params/Makefile
new file mode 100644
index 000000000000..24cf5c370bcc
--- /dev/null
+++ b/devel/rubygem-apipie-params/Makefile
@@ -0,0 +1,21 @@
+# $FreeBSD$
+
+PORTNAME= apipie-params
+PORTVERSION= 0.0.4
+CATEGORIES= devel rubygems
+MASTER_SITES= RG
+
+MAINTAINER= mmoll@FreeBSD.org
+COMMENT= DSL for describing data structures with json-schema bindings
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/MIT-LICENSE
+
+NO_ARCH= yes
+
+USE_RAKE= yes
+USE_RUBY= yes
+USE_RUBYGEMS= yes
+RUBYGEM_AUTOPLIST= yes
+
+.include <bsd.port.mk>
diff --git a/devel/rubygem-apipie-params/distinfo b/devel/rubygem-apipie-params/distinfo
new file mode 100644
index 000000000000..ffe86c8d000c
--- /dev/null
+++ b/devel/rubygem-apipie-params/distinfo
@@ -0,0 +1,2 @@
+SHA256 (rubygem/apipie-params-0.0.4.gem) = 2b6235b54f6b5cb8a5ca90fe2ebcc851adf4a346a99c71370839b9ab54d8563f
+SIZE (rubygem/apipie-params-0.0.4.gem) = 10240
diff --git a/devel/rubygem-apipie-params/pkg-descr b/devel/rubygem-apipie-params/pkg-descr
new file mode 100644
index 000000000000..88adfa5fbc4e
--- /dev/null
+++ b/devel/rubygem-apipie-params/pkg-descr
@@ -0,0 +1,6 @@
+DSL for Hash/JSON descriptions. Allows description of hash formats using Ruby
+code, generating a json-schema for it and validating values against it.
+
+It's based on the DSL of apipie-rails.
+
+WWW: https://github.com/iNecas/apipie-params