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
This commit is contained in:
Romain Tartière 2020-12-05 20:52:56 +00:00
parent 29742375c8
commit dbe271208a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=557086

View File

@ -11,11 +11,22 @@ COMMENT= Puppet documentation extraction and presentation tool
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>