aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2017-08-29 03:18:05 +0800
committersunpoet <sunpoet@FreeBSD.org>2017-08-29 03:18:05 +0800
commit7fd2e187d394ca7ea09d4dcdc5a09aaa80aa2d03 (patch)
tree7822b75b976f6721d4da700e63a2f782c7b076eb
parent0f8f5a79b31a401c3f872fbfb1c120722cf0c3a4 (diff)
downloadfreebsd-ports-gnome-7fd2e187d394ca7ea09d4dcdc5a09aaa80aa2d03.tar.gz
freebsd-ports-gnome-7fd2e187d394ca7ea09d4dcdc5a09aaa80aa2d03.tar.zst
freebsd-ports-gnome-7fd2e187d394ca7ea09d4dcdc5a09aaa80aa2d03.zip
Add RAILS4 and RAILS5 options
- Change default from Rails 5 to Rails 4 for www/gitlab - Bump PORTREVISION for dependency change Requested by: tz
-rw-r--r--devel/rubygem-peek/Makefile13
1 files changed, 11 insertions, 2 deletions
diff --git a/devel/rubygem-peek/Makefile b/devel/rubygem-peek/Makefile
index 34fa5e80c31f..0512367870a6 100644
--- a/devel/rubygem-peek/Makefile
+++ b/devel/rubygem-peek/Makefile
@@ -3,6 +3,7 @@
PORTNAME= peek
PORTVERSION= 1.0.1
+PORTREVISION= 1
CATEGORIES= devel rubygems
MASTER_SITES= RG
@@ -13,11 +14,19 @@ LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
RUN_DEPENDS?= rubygem-concurrent-ruby>=0.9.0:devel/rubygem-concurrent-ruby \
- rubygem-concurrent-ruby-ext>=0.9.0:devel/rubygem-concurrent-ruby-ext \
- rubygem-railties5>=4.0.0:www/rubygem-railties5
+ rubygem-concurrent-ruby-ext>=0.9.0:devel/rubygem-concurrent-ruby-ext
+
+OPTIONS_RADIO= RAILS
+OPTIONS_RADIO_RAILS= RAILS4 RAILS5
+OPTIONS_DEFAULT=RAILS4
+RAILS4_DESC= Use Rails 4
+RAILS5_DESC= Use Rails 5
NO_ARCH= yes
USE_RUBY= yes
USES= gem
+RAILS4_RUN_DEPENDS= rubygem-railties4>=4.0.0:www/rubygem-railties4
+RAILS5_RUN_DEPENDS= rubygem-railties5>=4.0.0:www/rubygem-railties5
+
.include <bsd.port.mk>