From dbe271208afd40b3c54e6256dbd9f8322c7d4093 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Romain=20Tarti=C3=A8re?= Date: Sat, 5 Dec 2020 20:52:56 +0000 Subject: [PATCH] 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 --- textproc/rubygem-puppet-strings/Makefile | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/textproc/rubygem-puppet-strings/Makefile b/textproc/rubygem-puppet-strings/Makefile index dee387cd17ae..ff54369d3adf 100644 --- a/textproc/rubygem-puppet-strings/Makefile +++ b/textproc/rubygem-puppet-strings/Makefile @@ -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