git: 377e806f2b0b - main - devel/rubygem-cocoon: New port
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 23 Nov 2022 19:07:34 UTC
The branch main has been updated by bofh:
URL: https://cgit.FreeBSD.org/ports/commit/?id=377e806f2b0b8391bd7d695f73da31dcdcea45b9
commit 377e806f2b0b8391bd7d695f73da31dcdcea45b9
Author: Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2022-11-23 19:06:03 +0000
Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2022-11-23 19:06:03 +0000
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
---
devel/Makefile | 1 +
devel/rubygem-cocoon/Makefile | 18 ++++++++++++++++++
devel/rubygem-cocoon/distinfo | 3 +++
devel/rubygem-cocoon/pkg-descr | 9 +++++++++
4 files changed, 31 insertions(+)
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.