aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2022-11-23 19:06:03 +0000
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2022-11-23 19:06:03 +0000
commit377e806f2b0b8391bd7d695f73da31dcdcea45b9 (patch)
treee57248a95639c343bc594052baf44a8f44250606
parentaec0b9091841ca7eaa85afec47ac50e0f70910ed (diff)
downloadports-377e806f2b0b8391bd7d695f73da31dcdcea45b9.tar.gz
ports-377e806f2b0b8391bd7d695f73da31dcdcea45b9.zip
devel/rubygem-cocoon: New port
Cocoon makes it easier to handle nested forms. Nested forms are forms that handle nested models and attributes in one form; e.g. a project with its tasks or an invoice with its line items. Cocoon is form builder-agnostic, so it works with standard Rails, Formtastic, or SimpleForm. It is compatible with rails 3, 4 and 5. This project is not related to Apache Cocoon. Sponsored by: Nepustil
-rw-r--r--devel/Makefile1
-rw-r--r--devel/rubygem-cocoon/Makefile18
-rw-r--r--devel/rubygem-cocoon/distinfo3
-rw-r--r--devel/rubygem-cocoon/pkg-descr9
4 files changed, 31 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 49b84f7f9478..7c17a6155677 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -6369,6 +6369,7 @@
SUBDIR += rubygem-cloudfiles
SUBDIR += rubygem-cms_scanner
SUBDIR += rubygem-cocaine
+ SUBDIR += rubygem-cocoon
SUBDIR += rubygem-coercible
SUBDIR += rubygem-coffee-rails-rails5
SUBDIR += rubygem-coffee-rails-rails50
diff --git a/devel/rubygem-cocoon/Makefile b/devel/rubygem-cocoon/Makefile
new file mode 100644
index 000000000000..7775a9cc7ffa
--- /dev/null
+++ b/devel/rubygem-cocoon/Makefile
@@ -0,0 +1,18 @@
+PORTNAME= cocoon
+PORTVERSION= 1.2.15
+CATEGORIES= devel rubygems
+MASTER_SITES= RG
+
+MAINTAINER= bofh@FreeBSD.org
+COMMENT= Unobtrusive nested forms handling, using jQuery
+WWW= https://github.com/nathanvda/cocoon
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+USES= cpe gem
+USE_RUBY= yes
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/devel/rubygem-cocoon/distinfo b/devel/rubygem-cocoon/distinfo
new file mode 100644
index 000000000000..bd26964ed350
--- /dev/null
+++ b/devel/rubygem-cocoon/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1669229211
+SHA256 (rubygem/cocoon-1.2.15.gem) = d08f14e69653287d7a060ee43389b8c824e55191dffbca0c5c586f38ef491f0d
+SIZE (rubygem/cocoon-1.2.15.gem) = 95744
diff --git a/devel/rubygem-cocoon/pkg-descr b/devel/rubygem-cocoon/pkg-descr
new file mode 100644
index 000000000000..00553d3b28e3
--- /dev/null
+++ b/devel/rubygem-cocoon/pkg-descr
@@ -0,0 +1,9 @@
+Cocoon makes it easier to handle nested forms.
+
+Nested forms are forms that handle nested models and attributes in one form;
+e.g. a project with its tasks or an invoice with its line items.
+
+Cocoon is form builder-agnostic, so it works with standard Rails, Formtastic, or
+SimpleForm. It is compatible with rails 3, 4 and 5.
+
+This project is not related to Apache Cocoon.