diff options
| author | Matthias Fechner <mfechner@FreeBSD.org> | 2025-03-15 08:32:30 +0000 |
|---|---|---|
| committer | Matthias Fechner <mfechner@FreeBSD.org> | 2025-03-15 09:05:56 +0000 |
| commit | 427b8633cf063e3135361c1ed2cd33defba759f2 (patch) | |
| tree | ec5c9988338fea0f3e8500c6900abc030e316918 | |
| parent | 9630bdc16b3e7f9c75cb18c2bf42457a8cea5655 (diff) | |
www/gitlab: fix regression from 8fdf4e8916af8fe76b78eb4efe50d8f178b29527
Make a dedicated port for rubygem-cssbundling available for gitlab
| -rw-r--r-- | www/Makefile | 1 | ||||
| -rw-r--r-- | www/gitlab/Makefile | 2 | ||||
| -rw-r--r-- | www/gitlab/Makefile.common | 2 | ||||
| -rw-r--r-- | www/rubygem-cssbundling-rails-gitlab/Makefile | 20 | ||||
| -rw-r--r-- | www/rubygem-cssbundling-rails-gitlab/distinfo | 3 | ||||
| -rw-r--r-- | www/rubygem-cssbundling-rails-gitlab/pkg-descr | 12 |
6 files changed, 38 insertions, 2 deletions
diff --git a/www/Makefile b/www/Makefile index dfe0231e90eb..ce73a5fc45eb 100644 --- a/www/Makefile +++ b/www/Makefile @@ -2054,6 +2054,7 @@ SUBDIR += rubygem-coverband SUBDIR += rubygem-crass SUBDIR += rubygem-cssbundling-rails + SUBDIR += rubygem-cssbundling-rails-gitlab SUBDIR += rubygem-cssbundling-rails-rails70 SUBDIR += rubygem-cssbundling-rails-rails71 SUBDIR += rubygem-cssbundling-rails-rails72 diff --git a/www/gitlab/Makefile b/www/gitlab/Makefile index d2291dc01df7..ad597506b8a4 100644 --- a/www/gitlab/Makefile +++ b/www/gitlab/Makefile @@ -201,7 +201,7 @@ MY_DEPENDS= gitaly>=${GITLAB_VERSION}:devel/gitaly \ rubygem-gitlab-chronic>=0.10.6<0.11.0:devel/rubygem-gitlab-chronic \ rubygem-gitlab_chronic_duration>=0.12<1:devel/rubygem-gitlab_chronic_duration \ rubygem-rack-proxy>=0.7.7<0.8.0:www/rubygem-rack-proxy \ - rubygem-cssbundling-rails-rails70>=1.4.1<1.5:www/rubygem-cssbundling-rails-rails70 \ + rubygem-cssbundling-rails-gitlab>=1.4.1<1.5:www/rubygem-cssbundling-rails-gitlab \ rubygem-terser>=1.0.2<1.0.3:textproc/rubygem-terser \ rubygem-addressable>=2.8<3:www/rubygem-addressable \ rubygem-gon-rails70>=6.4.0<6.5:www/rubygem-gon-rails70 \ diff --git a/www/gitlab/Makefile.common b/www/gitlab/Makefile.common index a397183d7be9..605a6fa0b199 100644 --- a/www/gitlab/Makefile.common +++ b/www/gitlab/Makefile.common @@ -1,5 +1,5 @@ GITLAB_VERSION= 17.9.2 -GITLAB_PORTREVISION= 0 +GITLAB_PORTREVISION= 1 # Git version gitaly should use (from gitlab mirror) # Find current tag from Makefile and .gitlab-ci.yaml diff --git a/www/rubygem-cssbundling-rails-gitlab/Makefile b/www/rubygem-cssbundling-rails-gitlab/Makefile new file mode 100644 index 000000000000..ef8690441c9e --- /dev/null +++ b/www/rubygem-cssbundling-rails-gitlab/Makefile @@ -0,0 +1,20 @@ +PORTNAME= cssbundling-rails +PORTVERSION= 1.4.1 +CATEGORIES= www rubygems +MASTER_SITES= RG +PKGNAMESUFFIX= -gitlab + +MAINTAINER= mfechner@FreeBSD.org +COMMENT= Bundle and process CSS with Tailwind, Bootstrap, PostCSS, Sass in Rails via Node.js +WWW= https://github.com/rails/cssbundling-rails + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/MIT-LICENSE + +RUN_DEPENDS= rubygem-railties70>=6.0.0:www/rubygem-railties70 + +USES= gem + +NO_ARCH= yes + +.include <bsd.port.mk> diff --git a/www/rubygem-cssbundling-rails-gitlab/distinfo b/www/rubygem-cssbundling-rails-gitlab/distinfo new file mode 100644 index 000000000000..d3ccb0709cac --- /dev/null +++ b/www/rubygem-cssbundling-rails-gitlab/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1742027301 +SHA256 (rubygem/cssbundling-rails-1.4.1.gem) = 4b21273d627b21890da9155c88c67efc9274373d8b0add09149c262cf56c7ce1 +SIZE (rubygem/cssbundling-rails-1.4.1.gem) = 11776 diff --git a/www/rubygem-cssbundling-rails-gitlab/pkg-descr b/www/rubygem-cssbundling-rails-gitlab/pkg-descr new file mode 100644 index 000000000000..3bf0ef49a085 --- /dev/null +++ b/www/rubygem-cssbundling-rails-gitlab/pkg-descr @@ -0,0 +1,12 @@ +Use Tailwind CSS, Bootstrap, Bulma, PostCSS, or Dart Sass to bundle and process +your CSS, then deliver it via the asset pipeline in Rails. This gem provides +installers to get you going with the bundler of your choice in a new Rails +application, and a convention to use app/assets/builds to hold your bundled +output as artifacts that are not checked into source control (the installer adds +this directory to .gitignore by default). + +You develop using this approach by running the bundler in watch mode in a +terminal with yarn build:css --watch (and your Rails server in another, if +you're not using something like puma-dev). You can also use ./bin/dev, which +will start both the Rails server and the CSS build watcher (along with a JS +build watcher, if you're also using jsbundling-rails). |
