www/rubygem-sinatra2: Add rubygem-sinatra2 2.2.2 (copied from rubygem-sinatra)
- Change RUN_DEPENDS from rubygem-rack-protection to rubygem-rack-protection2 - Add PORTSCOUT
This commit is contained in:
parent
615af6e0c7
commit
c6ae153176
@ -2137,6 +2137,7 @@
|
||||
SUBDIR += rubygem-sinatra-r18n
|
||||
SUBDIR += rubygem-sinatra-respond_to
|
||||
SUBDIR += rubygem-sinatra1
|
||||
SUBDIR += rubygem-sinatra2
|
||||
SUBDIR += rubygem-sitemap_generator
|
||||
SUBDIR += rubygem-smashing
|
||||
SUBDIR += rubygem-socksify
|
||||
|
28
www/rubygem-sinatra2/Makefile
Normal file
28
www/rubygem-sinatra2/Makefile
Normal file
@ -0,0 +1,28 @@
|
||||
PORTNAME= sinatra
|
||||
PORTVERSION= 2.2.2
|
||||
CATEGORIES= www rubygems
|
||||
MASTER_SITES= RG
|
||||
PKGNAMESUFFIX= 2
|
||||
|
||||
MAINTAINER= sunpoet@FreeBSD.org
|
||||
COMMENT= Classy web development framework in ruby
|
||||
WWW= http://www.sinatrarb.com/
|
||||
|
||||
LICENSE= MIT
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
RUN_DEPENDS= rubygem-mustermann>=2.0:devel/rubygem-mustermann \
|
||||
rubygem-rack>=2.2,3<3,3:www/rubygem-rack \
|
||||
rubygem-rack-protection2>=${PORTVERSION}<${PORTVERSION}_99:www/rubygem-rack-protection2 \
|
||||
rubygem-tilt>=2.0<3:devel/rubygem-tilt
|
||||
|
||||
USES= cpe gem
|
||||
USE_RUBY= yes
|
||||
|
||||
NO_ARCH= yes
|
||||
|
||||
CPE_VENDOR= sinatrarb
|
||||
|
||||
PORTSCOUT= limit:^2\.
|
||||
|
||||
.include <bsd.port.mk>
|
3
www/rubygem-sinatra2/distinfo
Normal file
3
www/rubygem-sinatra2/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1659161337
|
||||
SHA256 (rubygem/sinatra-2.2.2.gem) = 7f335aa51fbe8e70452606e1c1c42b65bee3f58fa865154d3ab80cdfcab97255
|
||||
SIZE (rubygem/sinatra-2.2.2.gem) = 383488
|
11
www/rubygem-sinatra2/files/patch-gemspec
Normal file
11
www/rubygem-sinatra2/files/patch-gemspec
Normal file
@ -0,0 +1,11 @@
|
||||
--- sinatra.gemspec.orig 2022-09-11 06:39:09 UTC
|
||||
+++ sinatra.gemspec
|
||||
@@ -29,7 +29,7 @@ Gem::Specification.new do |s|
|
||||
s.add_runtime_dependency(%q<rack>.freeze, ["~> 2.2"])
|
||||
s.add_runtime_dependency(%q<tilt>.freeze, ["~> 2.0"])
|
||||
s.add_runtime_dependency(%q<rack-protection>.freeze, ["= 2.2.2"])
|
||||
- s.add_runtime_dependency(%q<mustermann>.freeze, ["~> 2.0"])
|
||||
+ s.add_runtime_dependency(%q<mustermann>.freeze, [">= 2.0"])
|
||||
else
|
||||
s.add_dependency(%q<rack>.freeze, ["~> 2.2"])
|
||||
s.add_dependency(%q<tilt>.freeze, ["~> 2.0"])
|
4
www/rubygem-sinatra2/pkg-descr
Normal file
4
www/rubygem-sinatra2/pkg-descr
Normal 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.
|
14
www/rubygem-sinatra2/pkg-message
Normal file
14
www/rubygem-sinatra2/pkg-message
Normal 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
|
||||
}
|
||||
]
|
Loading…
Reference in New Issue
Block a user