From owner-svn-ports-all@FreeBSD.ORG Fri Feb 1 21:00:59 2013 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 059DDB17; Fri, 1 Feb 2013 21:00:59 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id EC9EFEA6; Fri, 1 Feb 2013 21:00:58 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id r11L0wV9062172; Fri, 1 Feb 2013 21:00:58 GMT (envelope-from sunpoet@svn.freebsd.org) Received: (from sunpoet@localhost) by svn.freebsd.org (8.14.5/8.14.5/Submit) id r11L0wMU062170; Fri, 1 Feb 2013 21:00:58 GMT (envelope-from sunpoet@svn.freebsd.org) Message-Id: <201302012100.r11L0wMU062170@svn.freebsd.org> From: Sunpoet Po-Chuan Hsieh Date: Fri, 1 Feb 2013 21:00:58 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r311397 - head/devel/p5-Config-Any X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Feb 2013 21:00:59 -0000 Author: sunpoet Date: Fri Feb 1 21:00:58 2013 New Revision: 311397 URL: http://svnweb.freebsd.org/changeset/ports/311397 Log: - Fix *_DEPENDS: - Add missing dependencies - version is already in core since Perl 5.9.0 - Add OPTIONS: INI, JSON, XML and YAML - Bump PORTREVISION for dependency change - Cleanup Makefile header - Reformat pkg-descr Modified: head/devel/p5-Config-Any/Makefile (contents, props changed) head/devel/p5-Config-Any/pkg-descr (contents, props changed) Modified: head/devel/p5-Config-Any/Makefile ============================================================================== --- head/devel/p5-Config-Any/Makefile Fri Feb 1 20:58:58 2013 (r311396) +++ head/devel/p5-Config-Any/Makefile Fri Feb 1 21:00:58 2013 (r311397) @@ -1,12 +1,9 @@ -# New ports collection makefile for: devel/p5-Config-Any -# Date created: Sep 3, 2006 -# Whom: Lars Balker Rasmussen -# +# Created by: Lars Balker Rasmussen # $FreeBSD$ -# PORTNAME= Config-Any PORTVERSION= 0.23 +PORTREVISION= 1 CATEGORIES= devel perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- @@ -14,18 +11,43 @@ PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Load class configuration data from a number of file formats -RUN_DEPENDS= p5-version>=0:${PORTSDIR}/devel/p5-version -BUILD_DEPENDS:= ${RUN_DEPENDS} +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 PERL_CONFIGURE= yes -MAN3= Config::Any.3 \ - Config::Any::Base.3 \ - Config::Any::General.3 \ - Config::Any::INI.3 \ - Config::Any::JSON.3 \ - Config::Any::Perl.3 \ - Config::Any::XML.3 \ - Config::Any::YAML.3 +MAN3= Config::Any.3 \ + Config::Any::Base.3 \ + Config::Any::General.3 \ + Config::Any::INI.3 \ + Config::Any::JSON.3 \ + Config::Any::Perl.3 \ + Config::Any::XML.3 \ + Config::Any::YAML.3 + +.include + +.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 .include Modified: head/devel/p5-Config-Any/pkg-descr ============================================================================== --- head/devel/p5-Config-Any/pkg-descr Fri Feb 1 20:58:58 2013 (r311396) +++ head/devel/p5-Config-Any/pkg-descr Fri Feb 1 21:00:58 2013 (r311397) @@ -1,15 +1,13 @@ -Config::Any provides a facility for Perl applications and libraries to -load configuration data from multiple different file formats. It sup- -ports XML, YAML, JSON, Apache-style configuration, Windows INI files, -and even Perl code. +Config::Any provides a facility for Perl applications and libraries to load +configuration data from multiple different file formats. It supports XML, YAML, +JSON, Apache-style configuration, Windows INI files, and even Perl code. -The rationale for this module is as follows: Perl programs are deployed -on many different platforms and integrated with many different systems. -Systems administrators and end users may prefer different configuration -formats than the developers. The flexibility inherent in a multiple -format configuration loader allows different users to make different -choices, without generating extra work for the developers. As a devel- -oper you only need to learn a single interface to be able to use the -power of different configuration formats. +The rationale for this module is as follows: Perl programs are deployed on many +different platforms and integrated with many different systems. Systems +administrators and end users may prefer different configuration formats than the +developers. The flexibility inherent in a multiple format configuration loader +allows different users to make different choices, without generating extra work +for the developers. As a developer you only need to learn a single interface to +be able to use the power of different configuration formats. WWW: http://search.cpan.org/dist/Config-Any/