From owner-svn-ports-head@FreeBSD.ORG Sun Dec 1 15:07:56 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E6D72863; Sun, 1 Dec 2013 15:07:56 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id C791B1923; Sun, 1 Dec 2013 15:07:56 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rB1F7uxp081458; Sun, 1 Dec 2013 15:07:56 GMT (envelope-from sunpoet@svn.freebsd.org) Received: (from sunpoet@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id rB1F7tPc081449; Sun, 1 Dec 2013 15:07:55 GMT (envelope-from sunpoet@svn.freebsd.org) Message-Id: <201312011507.rB1F7tPc081449@svn.freebsd.org> From: Sunpoet Po-Chuan Hsieh Date: Sun, 1 Dec 2013 15:07:55 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r335391 - in head/devel: . p5-File-ConfigDir X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Dec 2013 15:07:57 -0000 Author: sunpoet Date: Sun Dec 1 15:07:55 2013 New Revision: 335391 URL: http://svnweb.freebsd.org/changeset/ports/335391 Log: - Add p5-File-ConfigDir 0.009 File::ConfigDir is a helper for installing, reading and finding configuration file locations. It's intended to work in every supported Perl5 environment and will always try to Do The Right Thing(TM). File::ConfigDir is a module to help out when perl modules (especially applications) need to read and store configuration files from more than one location. Writing user configuration is easy thanks to File::HomeDir, but what when the system administrator needs to place some global configuration or there will be system related configuration (in /etc on UNIX(TM) or $ENV{windir} on Windows(TM)) and some network configuration in nfs mapped /etc/p5-app or $ENV{ALLUSERSPROFILE} . "\\Application Data\\p5-app", respectively. File::ConfigDir has no "do what I mean" mode - it's entirely up to the user to pick the right directory for each particular application. WWW: http://search.cpan.org/dist/File-ConfigDir/ Added: head/devel/p5-File-ConfigDir/ head/devel/p5-File-ConfigDir/Makefile (contents, props changed) head/devel/p5-File-ConfigDir/distinfo (contents, props changed) head/devel/p5-File-ConfigDir/pkg-descr (contents, props changed) head/devel/p5-File-ConfigDir/pkg-plist (contents, props changed) Modified: head/devel/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Sun Dec 1 15:02:51 2013 (r335390) +++ head/devel/Makefile Sun Dec 1 15:07:55 2013 (r335391) @@ -1960,6 +1960,7 @@ SUBDIR += p5-File-Cache SUBDIR += p5-File-Cat SUBDIR += p5-File-ChangeNotify + SUBDIR += p5-File-ConfigDir SUBDIR += p5-File-Copy-Recursive SUBDIR += p5-File-CountLines SUBDIR += p5-File-CreationTime Added: head/devel/p5-File-ConfigDir/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/p5-File-ConfigDir/Makefile Sun Dec 1 15:07:55 2013 (r335391) @@ -0,0 +1,19 @@ +# Created by: Sunpoet Po-Chuan Hsieh +# $FreeBSD$ + +PORTNAME= File-ConfigDir +PORTVERSION= 0.009 +CATEGORIES= devel perl5 +MASTER_SITES= CPAN +PKGNAMEPREFIX= p5- + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Get directories of configuration files + +LICENSE= ART10 GPLv1 +LICENSE_COMB= dual + +USE_PERL5= configure +USES= perl5 + +.include Added: head/devel/p5-File-ConfigDir/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/p5-File-ConfigDir/distinfo Sun Dec 1 15:07:55 2013 (r335391) @@ -0,0 +1,2 @@ +SHA256 (File-ConfigDir-0.009.tar.gz) = d77c6ea4455d13898ccc1655fd1af3f10e6f378330f5b1b7215dbe58e069340e +SIZE (File-ConfigDir-0.009.tar.gz) = 8890 Added: head/devel/p5-File-ConfigDir/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/p5-File-ConfigDir/pkg-descr Sun Dec 1 15:07:55 2013 (r335391) @@ -0,0 +1,16 @@ +File::ConfigDir is a helper for installing, reading and finding configuration +file locations. It's intended to work in every supported Perl5 environment and +will always try to Do The Right Thing(TM). + +File::ConfigDir is a module to help out when perl modules (especially +applications) need to read and store configuration files from more than one +location. Writing user configuration is easy thanks to File::HomeDir, but what +when the system administrator needs to place some global configuration or there +will be system related configuration (in /etc on UNIX(TM) or $ENV{windir} on +Windows(TM)) and some network configuration in nfs mapped /etc/p5-app or +$ENV{ALLUSERSPROFILE} . "\\Application Data\\p5-app", respectively. + +File::ConfigDir has no "do what I mean" mode - it's entirely up to the user to +pick the right directory for each particular application. + +WWW: http://search.cpan.org/dist/File-ConfigDir/ Added: head/devel/p5-File-ConfigDir/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/p5-File-ConfigDir/pkg-plist Sun Dec 1 15:07:55 2013 (r335391) @@ -0,0 +1,6 @@ +%%SITE_PERL%%/File/ConfigDir.pm +%%SITE_PERL%%/%%PERL_ARCH%%/auto/File/ConfigDir/.packlist +%%PERL5_MAN3%%/File::ConfigDir.3.gz +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/File/ConfigDir +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/File +@dirrmtry %%SITE_PERL%%/File