diff options
author | sno <sno@pkgsrc.org> | 2010-11-14 20:42:57 +0000 |
---|---|---|
committer | sno <sno@pkgsrc.org> | 2010-11-14 20:42:57 +0000 |
commit | 524f70d9b69e75897dcb534be051f6a27503a7d1 (patch) | |
tree | 977337bc4642b8161271b05221dd8e96e9c9fc2e | |
parent | 7afd921b64273eb53a6a877b2de8ebe1350db134 (diff) | |
download | pkgsrc-524f70d9b69e75897dcb534be051f6a27503a7d1.tar.gz |
Importing Perl5 module File::ConfigDir 0.004 into devel/p5-File-ConfigDir.
This module 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.
-rw-r--r-- | devel/p5-File-ConfigDir/DESCR | 15 | ||||
-rw-r--r-- | devel/p5-File-ConfigDir/Makefile | 27 | ||||
-rw-r--r-- | devel/p5-File-ConfigDir/distinfo | 5 |
3 files changed, 47 insertions, 0 deletions
diff --git a/devel/p5-File-ConfigDir/DESCR b/devel/p5-File-ConfigDir/DESCR new file mode 100644 index 00000000000..9b9788b2725 --- /dev/null +++ b/devel/p5-File-ConfigDir/DESCR @@ -0,0 +1,15 @@ +This module 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. diff --git a/devel/p5-File-ConfigDir/Makefile b/devel/p5-File-ConfigDir/Makefile new file mode 100644 index 00000000000..7b6462d4bcf --- /dev/null +++ b/devel/p5-File-ConfigDir/Makefile @@ -0,0 +1,27 @@ +# $NetBSD: Makefile,v 1.1.1.1 2010/11/14 20:42:57 sno Exp $ +# + +DISTNAME= File-ConfigDir-0.004 +PKGNAME= p5-${DISTNAME} +CATEGORIES= devel perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=File/} + +MAINTAINER= pkgsrc-p5-people@NetBSD.org +HOMEPAGE= http://search.cpan.org/dist/File-ShareDir/ +COMMENT= Get directories of configuration files +LICENSE= ${PERL5_LICENSE} + +USE_LANGUAGES= # empty + +PERL5_PACKLIST= auto/File/ConfigDir/.packlist +PERL5_MODULE_TYPE= Module::Build + +PKG_DESTDIR_SUPPORT= user-destdir + +.include "../../mk/bsd.prefs.mk" + +DEPENDS+= p5-File-HomeDir>=0.50:../../devel/p5-File-HomeDir +DEPENDS+= p5-List-MoreUtils>=0.22:../../devel/p5-List-MoreUtils + +.include "../../lang/perl5/module.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/devel/p5-File-ConfigDir/distinfo b/devel/p5-File-ConfigDir/distinfo new file mode 100644 index 00000000000..60e14ddfad4 --- /dev/null +++ b/devel/p5-File-ConfigDir/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2010/11/14 20:42:57 sno Exp $ + +SHA1 (File-ConfigDir-0.004.tar.gz) = c8e9b83a6ea83fdbb198247c9bc3d2f0a69ce583 +RMD160 (File-ConfigDir-0.004.tar.gz) = b073cdf1e042dc3f35190a4ff74d5d5c65005127 +Size (File-ConfigDir-0.004.tar.gz) = 7593 bytes |