From 78d57397cf31fc8d10da751d0ebf0a289e6e1f28 Mon Sep 17 00:00:00 2001 From: Antoine Brodin Date: Mon, 21 Apr 2025 06:48:43 +0000 Subject: [PATCH] www/rubygem-sinatra3: new port Sinatra is a DSL for quickly creating web-applications in Ruby with minimal effort. It sits on top of Rack, a minimal standard interface for Ruby web frameworks. For templating, the choices include erb, haml, sass and Builder. --- www/Makefile | 1 + www/rubygem-sinatra3/Makefile | 28 ++++++++++++++++++++++++++++ www/rubygem-sinatra3/distinfo | 3 +++ www/rubygem-sinatra3/pkg-descr | 4 ++++ www/rubygem-sinatra3/pkg-message | 14 ++++++++++++++ 5 files changed, 50 insertions(+) create mode 100644 www/rubygem-sinatra3/Makefile create mode 100644 www/rubygem-sinatra3/distinfo create mode 100644 www/rubygem-sinatra3/pkg-descr create mode 100644 www/rubygem-sinatra3/pkg-message diff --git a/www/Makefile b/www/Makefile index d752ee17a1b7..bf53162365ad 100644 --- a/www/Makefile +++ b/www/Makefile @@ -2376,6 +2376,7 @@ SUBDIR += rubygem-sinatra-respond_to SUBDIR += rubygem-sinatra1 SUBDIR += rubygem-sinatra2 + SUBDIR += rubygem-sinatra3 SUBDIR += rubygem-sitemap_generator SUBDIR += rubygem-smashing SUBDIR += rubygem-socksify diff --git a/www/rubygem-sinatra3/Makefile b/www/rubygem-sinatra3/Makefile new file mode 100644 index 000000000000..9400624883df --- /dev/null +++ b/www/rubygem-sinatra3/Makefile @@ -0,0 +1,28 @@ +PORTNAME= sinatra +PORTVERSION= 3.2.0 +CATEGORIES= www rubygems +MASTER_SITES= RG +PKGNAMESUFFIX= 3 + +MAINTAINER= ruby@FreeBSD.org +COMMENT= Classy web development framework in ruby +WWW= https://sinatrarb.com/ \ + https://github.com/sinatra/sinatra + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= rubygem-mustermann>=3.0<4:devel/rubygem-mustermann \ + rubygem-rack22>=2.2,3<3,3:www/rubygem-rack22 \ + rubygem-rack-protection3>=3.2<4:www/rubygem-rack-protection3 \ + rubygem-tilt>=2.0<3:devel/rubygem-tilt + +USES= cpe gem + +NO_ARCH= yes + +CPE_VENDOR= sinatrarb + +PORTSCOUT= limit:^3\. + +.include diff --git a/www/rubygem-sinatra3/distinfo b/www/rubygem-sinatra3/distinfo new file mode 100644 index 000000000000..eef8a2c543b2 --- /dev/null +++ b/www/rubygem-sinatra3/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1745004041 +SHA256 (rubygem/sinatra-3.2.0.gem) = 6e727f4d034e87067d9aab37f328021d7c16722ffd293ef07b6e968915109807 +SIZE (rubygem/sinatra-3.2.0.gem) = 134656 diff --git a/www/rubygem-sinatra3/pkg-descr b/www/rubygem-sinatra3/pkg-descr new file mode 100644 index 000000000000..8fae27543e0a --- /dev/null +++ b/www/rubygem-sinatra3/pkg-descr @@ -0,0 +1,4 @@ +Sinatra is a DSL for quickly creating web-applications in Ruby +with minimal effort. It sits on top of Rack, a minimal standard +interface for Ruby web frameworks. For templating, the choices +include erb, haml, sass and Builder. diff --git a/www/rubygem-sinatra3/pkg-message b/www/rubygem-sinatra3/pkg-message new file mode 100644 index 000000000000..12315e90d3e8 --- /dev/null +++ b/www/rubygem-sinatra3/pkg-message @@ -0,0 +1,14 @@ +[ +{ type: install + message: <