Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Aug 2017 19:18:06 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r448876 - head/devel/rubygem-peek
Message-ID:  <201708281918.v7SJI6Bb097718@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Mon Aug 28 19:18:05 2017
New Revision: 448876
URL: https://svnweb.freebsd.org/changeset/ports/448876

Log:
  Add RAILS4 and RAILS5 options
  
  - Change default from Rails 5 to Rails 4 for www/gitlab
  - Bump PORTREVISION for dependency change
  
  Requested by:	tz

Modified:
  head/devel/rubygem-peek/Makefile

Modified: head/devel/rubygem-peek/Makefile
==============================================================================
--- head/devel/rubygem-peek/Makefile	Mon Aug 28 19:18:01 2017	(r448875)
+++ head/devel/rubygem-peek/Makefile	Mon Aug 28 19:18:05 2017	(r448876)
@@ -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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201708281918.v7SJI6Bb097718>