summaryrefslogtreecommitdiff
path: root/www/rubygem-rails-gitlab
diff options
context:
space:
mode:
Diffstat (limited to 'www/rubygem-rails-gitlab')
-rw-r--r--www/rubygem-rails-gitlab/Makefile49
-rw-r--r--www/rubygem-rails-gitlab/distinfo3
-rw-r--r--www/rubygem-rails-gitlab/pkg-descr23
3 files changed, 75 insertions, 0 deletions
diff --git a/www/rubygem-rails-gitlab/Makefile b/www/rubygem-rails-gitlab/Makefile
new file mode 100644
index 000000000000..fad6645b5e89
--- /dev/null
+++ b/www/rubygem-rails-gitlab/Makefile
@@ -0,0 +1,49 @@
+PORTNAME= rails
+PORTVERSION= ${RAILS_VERSION}
+CATEGORIES= www rubygems
+MASTER_SITES= RG
+PKGNAMESUFFIX= -gitlab
+
+MAINTAINER= mfechner@FreeBSD.org
+COMMENT= Full-stack web application framework
+WWW= https://rubyonrails.org/ \
+ https://github.com/rails/rails
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/MIT-LICENSE
+
+RUN_DEPENDS= rubygem-actioncable-gitlab>=${PORTVERSION}<${PORTVERSION}_99:www/rubygem-actioncable-gitlab \
+ rubygem-actionmailbox-gitlab>=${PORTVERSION}<${PORTVERSION}_99:mail/rubygem-actionmailbox-gitlab \
+ rubygem-actionmailer-gitlab>=${PORTVERSION}<${PORTVERSION}_99:mail/rubygem-actionmailer-gitlab \
+ rubygem-actionpack-gitlab>=${PORTVERSION}<${PORTVERSION}_99:www/rubygem-actionpack-gitlab \
+ rubygem-actiontext-gitlab>=${PORTVERSION}<${PORTVERSION}_99:textproc/rubygem-actiontext-gitlab \
+ rubygem-actionview-gitlab>=${PORTVERSION}<${PORTVERSION}_99:devel/rubygem-actionview-gitlab \
+ rubygem-activejob-gitlab>=${PORTVERSION}<${PORTVERSION}_99:devel/rubygem-activejob-gitlab \
+ rubygem-activemodel-gitlab>=${PORTVERSION}<${PORTVERSION}_99:databases/rubygem-activemodel-gitlab \
+ rubygem-activerecord-gitlab>=${PORTVERSION}<${PORTVERSION}_99:databases/rubygem-activerecord-gitlab \
+ rubygem-activestorage-gitlab>=${PORTVERSION}<${PORTVERSION}_99:net/rubygem-activestorage-gitlab \
+ rubygem-activesupport-gitlab>=${PORTVERSION}<${PORTVERSION}_99:devel/rubygem-activesupport-gitlab \
+ rubygem-bundler>=1.15.0:sysutils/rubygem-bundler \
+ rubygem-railties-gitlab>=${PORTVERSION}<${PORTVERSION}_99:www/rubygem-railties-gitlab
+
+USES= cpe gem
+
+NO_ARCH= yes
+
+CPE_VENDOR= rubyonrails
+CPE_PRODUCT= ruby_on_rails
+
+PORTSCOUT= limit:^7\.1\.
+
+.include <bsd.port.pre.mk>
+
+.if ${RUBY_VER} <= 3.1
+RUN_DEPENDS+= rubygem-cgi>=0.3.6:www/rubygem-cgi
+.endif
+
+.if ${RUBY_VER} == 3.1
+RUN_DEPENDS+= rubygem-error_highlight>=0.4.0:devel/rubygem-error_highlight
+.endif
+
+.include "${.CURDIR}/../../www/gitlab/Makefile.common"
+.include <bsd.port.post.mk>
diff --git a/www/rubygem-rails-gitlab/distinfo b/www/rubygem-rails-gitlab/distinfo
new file mode 100644
index 000000000000..1ca3ce97bc6c
--- /dev/null
+++ b/www/rubygem-rails-gitlab/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1734888826
+SHA256 (rubygem/rails-7.1.5.1.gem) = 05aea2ed7b6392b41ce0fc11455de118455025a431b6ea334a7ac2b101608804
+SIZE (rubygem/rails-7.1.5.1.gem) = 7168
diff --git a/www/rubygem-rails-gitlab/pkg-descr b/www/rubygem-rails-gitlab/pkg-descr
new file mode 100644
index 000000000000..5936b0adc42e
--- /dev/null
+++ b/www/rubygem-rails-gitlab/pkg-descr
@@ -0,0 +1,23 @@
+Rails is a web-application framework that includes everything needed to create
+database-backed web applications according to the Model-View-Controller (MVC)
+pattern.
+
+Understanding the MVC pattern is key to understanding Rails. MVC divides your
+application into three layers: Model, View, and Controller, each with a specific
+responsibility.
+
+Active Record, Active Model, Action Pack, and Action View can each be used
+independently outside Rails.
+
+In addition to that, Rails also comes with:
+- Action Mailer, a library to generate and send emails
+- Action Mailbox, a library to receive emails within a Rails application
+- Active Job, a framework for declaring jobs and making them run on a variety of
+ queuing backends
+- Action Cable, a framework to integrate WebSockets with a Rails application
+- Active Storage, a library to attach cloud and local files to Rails
+ applications
+- Action Text, a library to handle rich text content
+- Active Support, a collection of utility classes and standard library
+ extensions that are useful for Rails, and may also be used independently
+ outside Rails