2013-02-01 22:00:58 +01:00
|
|
|
# Created by: Lars Balker Rasmussen <lbr@FreeBSD.org>
|
2006-09-03 13:53:11 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= Config-Any
|
2013-09-12 16:27:34 +02:00
|
|
|
PORTVERSION= 0.24
|
2006-09-03 13:53:11 +02:00
|
|
|
CATEGORIES= devel perl5
|
2007-09-01 22:21:21 +02:00
|
|
|
MASTER_SITES= CPAN
|
2006-09-03 13:53:11 +02:00
|
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
|
2009-08-16 11:22:05 +02:00
|
|
|
MAINTAINER= perl@FreeBSD.org
|
2006-09-03 13:53:11 +02:00
|
|
|
COMMENT= Load class configuration data from a number of file formats
|
|
|
|
|
2013-02-01 22:00:58 +01:00
|
|
|
BUILD_DEPENDS= p5-Config-General>=2.47:${PORTSDIR}/devel/p5-Config-General
|
|
|
|
RUN_DEPENDS:= ${BUILD_DEPENDS}
|
|
|
|
|
|
|
|
OPTIONS_DEFINE= INI JSON XML YAML
|
|
|
|
OPTIONS_DEFAULT=INI JSON XML YAML
|
2006-09-03 13:53:11 +02:00
|
|
|
|
2013-08-02 20:52:07 +02:00
|
|
|
USES= perl5
|
|
|
|
USE_PERL5= configure
|
2006-09-03 13:53:11 +02:00
|
|
|
|
2013-02-01 22:00:58 +01:00
|
|
|
.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
|
2006-09-03 13:53:11 +02:00
|
|
|
|
2007-09-08 03:12:10 +02:00
|
|
|
.include <bsd.port.mk>
|