aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjrm <jrm@FreeBSD.org>2017-05-25 09:43:37 +0800
committerjrm <jrm@FreeBSD.org>2017-05-25 09:43:37 +0800
commitb176a458c5143549323e888e565947e98482eb40 (patch)
treed8c651c52956bf49badf4ab4f19dfade4d0d53a2
parentda16c9f141dc38761167c71803dd741d2d6accdc (diff)
downloadfreebsd-ports-gnome-b176a458c5143549323e888e565947e98482eb40.tar.gz
freebsd-ports-gnome-b176a458c5143549323e888e565947e98482eb40.tar.zst
freebsd-ports-gnome-b176a458c5143549323e888e565947e98482eb40.zip
devel/rubygem-devise-rails50: Create rails version 5.0 port by copying
devel/rubygem-devise-rails5 Approved by: swills (mentor, implicit)
-rw-r--r--devel/Makefile1
-rw-r--r--devel/rubygem-devise-rails50/Makefile29
-rw-r--r--devel/rubygem-devise-rails50/distinfo3
-rw-r--r--devel/rubygem-devise-rails50/pkg-descr3
4 files changed, 36 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index d7e00ea0b7fb..b88098d9b6bc 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -5254,6 +5254,7 @@
SUBDIR += rubygem-descendants_tracker
SUBDIR += rubygem-devise
SUBDIR += rubygem-devise-rails5
+ SUBDIR += rubygem-devise-rails50
SUBDIR += rubygem-directory_watcher
SUBDIR += rubygem-ditz
SUBDIR += rubygem-docile
diff --git a/devel/rubygem-devise-rails50/Makefile b/devel/rubygem-devise-rails50/Makefile
new file mode 100644
index 000000000000..4acf944ad61b
--- /dev/null
+++ b/devel/rubygem-devise-rails50/Makefile
@@ -0,0 +1,29 @@
+# Created by: rpsfa@rit.edu
+# $FreeBSD$
+
+PORTNAME= devise
+PORTVERSION= 4.3.0
+CATEGORIES= devel rubygems
+MASTER_SITES= RG
+PKGNAMESUFFIX= -rails50
+
+MAINTAINER= jrm@FreeBSD.org
+COMMENT= Flexible authentication solution for Rails with Warden
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/MIT-LICENSE
+
+RUN_DEPENDS= rubygem-bcrypt>=3.0:security/rubygem-bcrypt \
+ rubygem-orm_adapter>=0.1:devel/rubygem-orm_adapter \
+ rubygem-railties50>0:www/rubygem-railties50 \
+ rubygem-responders-rails50>=0:www/rubygem-responders-rails50 \
+ rubygem-warden>=1.2.3:devel/rubygem-warden
+
+NO_ARCH= yes
+USE_RUBY= yes
+USES= gem
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|, "test/rails_app/config/routes.rb"||' ${WRKSRC}/${PORTNAME}.gemspec
+
+.include <bsd.port.mk>
diff --git a/devel/rubygem-devise-rails50/distinfo b/devel/rubygem-devise-rails50/distinfo
new file mode 100644
index 000000000000..f6fd450dcc0e
--- /dev/null
+++ b/devel/rubygem-devise-rails50/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1494855856
+SHA256 (rubygem/devise-4.3.0.gem) = 86213c8252e9804baafe09e62cd6b0cddd2695d7a02a4748d4cb89891d3a6355
+SIZE (rubygem/devise-4.3.0.gem) = 167936
diff --git a/devel/rubygem-devise-rails50/pkg-descr b/devel/rubygem-devise-rails50/pkg-descr
new file mode 100644
index 000000000000..2d4458f47fc1
--- /dev/null
+++ b/devel/rubygem-devise-rails50/pkg-descr
@@ -0,0 +1,3 @@
+Flexible authentication solution for Rails with Warden
+
+WWW: https://github.com/plataformatec/devise