Date: Sun, 1 Dec 2013 15:07:55 +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: r335391 - in head/devel: . p5-File-ConfigDir Message-ID: <201312011507.rB1F7tPc081449@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <sunpoet@FreeBSD.org> +# $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 <bsd.port.mk> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312011507.rB1F7tPc081449>