aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrobak <robak@FreeBSD.org>2014-06-24 17:02:17 +0800
committerrobak <robak@FreeBSD.org>2014-06-24 17:02:17 +0800
commit1e0c62ae72a23b54e34ee825adc854eaf11725f9 (patch)
tree39e59609a253c11298ac384786ae78826a9a897d
parent27719487d4765141cc937ec05d0858610112cc38 (diff)
downloadfreebsd-ports-gnome-1e0c62ae72a23b54e34ee825adc854eaf11725f9.tar.gz
freebsd-ports-gnome-1e0c62ae72a23b54e34ee825adc854eaf11725f9.tar.zst
freebsd-ports-gnome-1e0c62ae72a23b54e34ee825adc854eaf11725f9.zip
New port www/rubygem-sinatra-contrib: Collection of useful Sinatra extensions
Collection of common Sinatra extensions, semi-officially supported. Approved by: swills (mentor)
-rw-r--r--www/Makefile1
-rw-r--r--www/rubygem-sinatra-contrib/Makefile25
-rw-r--r--www/rubygem-sinatra-contrib/distinfo2
-rw-r--r--www/rubygem-sinatra-contrib/pkg-descr3
4 files changed, 31 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile
index 194569b3a23d..ec6d2c621483 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -1876,6 +1876,7 @@
SUBDIR += rubygem-selenium-webdriver
SUBDIR += rubygem-simple-rss
SUBDIR += rubygem-sinatra
+ SUBDIR += rubygem-sinatra-contrib
SUBDIR += rubygem-sinatra-r18n
SUBDIR += rubygem-sinatra-respond_to
SUBDIR += rubygem-taggable
diff --git a/www/rubygem-sinatra-contrib/Makefile b/www/rubygem-sinatra-contrib/Makefile
new file mode 100644
index 000000000000..2dd726761201
--- /dev/null
+++ b/www/rubygem-sinatra-contrib/Makefile
@@ -0,0 +1,25 @@
+# $FreeBSD$
+
+PORTNAME= sinatra-contrib
+PORTVERSION= 1.4.2
+CATEGORIES= www rubygems
+MASTER_SITES= RG
+
+MAINTAINER= robak@FreeBSD.org
+COMMENT= Collection of useful Sinatra extensions
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+RUN_DEPENDS= rubygem-backports>=2.0:${PORTSDIR}/devel/rubygem-backports \
+ rubygem-multi_json>=0:${PORTSDIR}/devel/rubygem-multi_json \
+ rubygem-rack-protection>=0:${PORTSDIR}/www/rubygem-rack-protection \
+ rubygem-rack-test>=0:${PORTSDIR}/www/rubygem-rack-test \
+ rubygem-sinatra>=1.4:${PORTSDIR}/www/rubygem-sinatra \
+ rubygem-tilt>=1.3:${PORTSDIR}/devel/rubygem-tilt
+
+USE_RUBY= yes
+USE_RUBYGEMS= yes
+RUBYGEM_AUTOPLIST= yes
+
+.include <bsd.port.mk>
diff --git a/www/rubygem-sinatra-contrib/distinfo b/www/rubygem-sinatra-contrib/distinfo
new file mode 100644
index 000000000000..a2d6e40819b7
--- /dev/null
+++ b/www/rubygem-sinatra-contrib/distinfo
@@ -0,0 +1,2 @@
+SHA256 (rubygem/sinatra-contrib-1.4.2.gem) = 6f4ee213c67636d6ba06b8d8311e3a99dde2fcb8de06c954bd0e5f2ca7efabb6
+SIZE (rubygem/sinatra-contrib-1.4.2.gem) = 52224
diff --git a/www/rubygem-sinatra-contrib/pkg-descr b/www/rubygem-sinatra-contrib/pkg-descr
new file mode 100644
index 000000000000..2966a19d33b7
--- /dev/null
+++ b/www/rubygem-sinatra-contrib/pkg-descr
@@ -0,0 +1,3 @@
+Collection of common Sinatra extensions, semi-officially supported.
+
+WWW: https://github.com/sinatra/sinatra-contrib