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.
This commit is contained in:
Antoine Brodin 2025-04-21 06:48:43 +00:00
parent 6738c0773c
commit 78d57397cf
5 changed files with 50 additions and 0 deletions

View file

@ -2376,6 +2376,7 @@
SUBDIR += rubygem-sinatra-respond_to SUBDIR += rubygem-sinatra-respond_to
SUBDIR += rubygem-sinatra1 SUBDIR += rubygem-sinatra1
SUBDIR += rubygem-sinatra2 SUBDIR += rubygem-sinatra2
SUBDIR += rubygem-sinatra3
SUBDIR += rubygem-sitemap_generator SUBDIR += rubygem-sitemap_generator
SUBDIR += rubygem-smashing SUBDIR += rubygem-smashing
SUBDIR += rubygem-socksify SUBDIR += rubygem-socksify

View file

@ -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 <bsd.port.mk>

View file

@ -0,0 +1,3 @@
TIMESTAMP = 1745004041
SHA256 (rubygem/sinatra-3.2.0.gem) = 6e727f4d034e87067d9aab37f328021d7c16722ffd293ef07b6e968915109807
SIZE (rubygem/sinatra-3.2.0.gem) = 134656

View file

@ -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.

View file

@ -0,0 +1,14 @@
[
{ type: install
message: <<EOM
Sinatra optionally integrates with haml/sass or Builder
for templating and mongrel or thin as an HTTP server.
To use them, install the respective ports separately:
www/rubygem-haml
devel/rubygem-builder
www/rubygem-mongrel
www/rubygem-thin
EOM
}
]