Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Nov 2014 23:07:17 +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: r373381 - head/devel/p5-Config-Any
Message-ID:  <201411242307.sAON7HgN048843@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Mon Nov 24 23:07:17 2014
New Revision: 373381
URL: https://svnweb.freebsd.org/changeset/ports/373381
QAT: https://qat.redports.org/buildarchive/r373381/

Log:
  - Convert to new options helper

Modified:
  head/devel/p5-Config-Any/Makefile

Modified: head/devel/p5-Config-Any/Makefile
==============================================================================
--- head/devel/p5-Config-Any/Makefile	Mon Nov 24 22:35:08 2014	(r373380)
+++ head/devel/p5-Config-Any/Makefile	Mon Nov 24 23:07:17 2014	(r373381)
@@ -23,34 +23,21 @@ OPTIONS_DEFAULT=INI JSON XML YAML
 USES=		perl5
 USE_PERL5=	configure
 
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MINI}
-BUILD_DEPENDS+=	p5-Config-Tiny>=0:${PORTSDIR}/devel/p5-Config-Tiny
-RUN_DEPENDS+=	p5-Config-Tiny>=0:${PORTSDIR}/devel/p5-Config-Tiny
-.endif
-
-.if ${PORT_OPTIONS:MJSON}
-BUILD_DEPENDS+=	p5-JSON-XS>=0:${PORTSDIR}/converters/p5-JSON-XS
-RUN_DEPENDS+=	p5-JSON-XS>=0:${PORTSDIR}/converters/p5-JSON-XS
-.endif
-
-.if ${PORT_OPTIONS:MXML}
-BUILD_DEPENDS+=	p5-XML-Simple>=0:${PORTSDIR}/textproc/p5-XML-Simple
-RUN_DEPENDS+=	p5-XML-Simple>=0:${PORTSDIR}/textproc/p5-XML-Simple
-.endif
-
-.if ${PORT_OPTIONS:MYAML}
-BUILD_DEPENDS+=	p5-YAML-LibYAML>=0:${PORTSDIR}/textproc/p5-YAML-LibYAML
-RUN_DEPENDS+=	p5-YAML-LibYAML>=0:${PORTSDIR}/textproc/p5-YAML-LibYAML
-.endif
+INI_BUILD_DEPENDS=	p5-Config-Tiny>=0:${PORTSDIR}/devel/p5-Config-Tiny
+INI_RUN_DEPENDS=	p5-Config-Tiny>=0:${PORTSDIR}/devel/p5-Config-Tiny
+JSON_BUILD_DEPENDS=	p5-JSON-XS>=0:${PORTSDIR}/converters/p5-JSON-XS
+JSON_RUN_DEPENDS=	p5-JSON-XS>=0:${PORTSDIR}/converters/p5-JSON-XS
+XML_BUILD_DEPENDS=	p5-XML-Simple>=0:${PORTSDIR}/textproc/p5-XML-Simple
+XML_RUN_DEPENDS=	p5-XML-Simple>=0:${PORTSDIR}/textproc/p5-XML-Simple
+YAML_BUILD_DEPENDS=	p5-YAML-LibYAML>=0:${PORTSDIR}/textproc/p5-YAML-LibYAML
+YAML_RUN_DEPENDS=	p5-YAML-LibYAML>=0:${PORTSDIR}/textproc/p5-YAML-LibYAML
 
 .include <bsd.port.pre.mk>
 
 .if ${PERL_LEVEL} >= 502000
 # Module::Pluggable was first released with perl v5.8.9 and removed from v5.19.0
-RUN_DEPENDS+=	p5-Module-Pluggable>=0:${PORTSDIR}/devel/p5-Module-Pluggable
 BUILD_DEPENDS+=	p5-Module-Pluggable>=0:${PORTSDIR}/devel/p5-Module-Pluggable
+RUN_DEPENDS+=	p5-Module-Pluggable>=0:${PORTSDIR}/devel/p5-Module-Pluggable
 .endif
 
 .include <bsd.port.post.mk>



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