Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Dec 2020 20:52:56 +0000 (UTC)
From:      =?UTF-8?Q?Romain_Tarti=c3=a8re?= <romain@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r557086 - head/textproc/rubygem-puppet-strings
Message-ID:  <202012052052.0B5Kquki064451@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: romain
Date: Sat Dec  5 20:52:56 2020
New Revision: 557086
URL: https://svnweb.freebsd.org/changeset/ports/557086

Log:
  Make it possible to choose which version of Puppet to depend on
  
  Since we do not change the default, no need to rebuild packages so no
  PORTREVISION bump.
  
  With hat:	puppet

Modified:
  head/textproc/rubygem-puppet-strings/Makefile

Modified: head/textproc/rubygem-puppet-strings/Makefile
==============================================================================
--- head/textproc/rubygem-puppet-strings/Makefile	Sat Dec  5 20:42:42 2020	(r557085)
+++ head/textproc/rubygem-puppet-strings/Makefile	Sat Dec  5 20:52:56 2020	(r557086)
@@ -11,11 +11,22 @@ COMMENT=	Puppet documentation extraction and presentat
 LICENSE=	APACHE20
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-RUN_DEPENDS=	puppet:sysutils/puppet6 \
-		rubygem-rgen>=0:devel/rubygem-rgen \
+RUN_DEPENDS=	rubygem-rgen>=0:devel/rubygem-rgen \
 		rubygem-yard>=0:textproc/rubygem-yard
 
 USES=		gem
 USE_RUBY=	yes
+
+OPTIONS_SINGLE=	PUPPET
+OPTIONS_SINGLE_PUPPET=PUPPET5 PUPPET6 PUPPET7
+OPTIONS_DEFAULT=PUPPET6
+
+PUPPET5_DESC=	Depend on sysutils/puppet5
+PUPPET6_DESC=	Depend on sysutils/puppet6
+PUPPET7_DESC=	Depend on sysutils/puppet7
+
+PUPPET5_RUN_DEPENDS=puppet:sysutils/puppet5
+PUPPET6_RUN_DEPENDS=puppet:sysutils/puppet6
+PUPPET7_RUN_DEPENDS=puppet:sysutils/puppet7
 
 .include <bsd.port.mk>



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