diff options
author | tonnerre <tonnerre> | 2008-08-20 22:13:52 +0000 |
---|---|---|
committer | tonnerre <tonnerre> | 2008-08-20 22:13:52 +0000 |
commit | 3c448f84c97e0b82431cfe372eab6deb29843e13 (patch) | |
tree | 607032a0f96ee1baea2cbc479aca15ab71271250 /devel/p5-File-ShareDir | |
parent | 67464669aa70f9df855d2e7a9039b0bca8fd7f57 (diff) | |
download | pkgsrc-3c448f84c97e0b82431cfe372eab6deb29843e13.tar.gz |
Import the File-ShareDir Perl module. This module can be used to portably
discover the directory for shared files (equivalent to /usr/share) and
is required for current versions of rt3.
Diffstat (limited to 'devel/p5-File-ShareDir')
-rw-r--r-- | devel/p5-File-ShareDir/DESCR | 12 | ||||
-rw-r--r-- | devel/p5-File-ShareDir/Makefile | 25 | ||||
-rw-r--r-- | devel/p5-File-ShareDir/distinfo | 5 |
3 files changed, 42 insertions, 0 deletions
diff --git a/devel/p5-File-ShareDir/DESCR b/devel/p5-File-ShareDir/DESCR new file mode 100644 index 00000000000..1d7788afd85 --- /dev/null +++ b/devel/p5-File-ShareDir/DESCR @@ -0,0 +1,12 @@ +The intent of File::ShareDir is to provide a companion to Class::Inspector +and File::HomeDir, modules that take a process that is well-known by +advanced Perl developers but gets a little tricky, and make it more +available to the larger Perl community. + +Quite often you want or need your Perl module (CPAN or otherwise) to have +access to a large amount of read-only data that is stored on the +file-system at run-time. + +On a linux-like system, this would be in a place such as /usr/share, +however Perl runs on a wide variety of different systems, and so the use +of any one location is unreliable. diff --git a/devel/p5-File-ShareDir/Makefile b/devel/p5-File-ShareDir/Makefile new file mode 100644 index 00000000000..4a708c8fb4b --- /dev/null +++ b/devel/p5-File-ShareDir/Makefile @@ -0,0 +1,25 @@ +# $NetBSD: Makefile,v 1.1.1.1 2008/08/20 22:16:34 tonnerre Exp $ +# + +DISTNAME= File-ShareDir-1.00 +PKGNAME= p5-${DISTNAME} +CATEGORIES= devel perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=File/} + +MAINTAINER= tonnerre@NetBSD.org +HOMEPAGE= http://search.cpan.org/dist/File-ShareDir/ +COMMENT= Get a generic path to the share directory + +USE_LANGUAGES= # empty + +PERL5_PACKLIST= auto/File/ShareDir/.packlist + +PKG_DESTDIR_SUPPORT= user-destdir + +.include "../../mk/bsd.prefs.mk" + +DEPENDS+= p5-Params-Util>=0.07:../../devel/p5-Params-Util +DEPENDS+= p5-Class-Inspector>=1.12:../../devel/p5-Class-Inspector + +.include "../../lang/perl5/module.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/devel/p5-File-ShareDir/distinfo b/devel/p5-File-ShareDir/distinfo new file mode 100644 index 00000000000..3a6b5eecee6 --- /dev/null +++ b/devel/p5-File-ShareDir/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2008/08/20 22:16:49 tonnerre Exp $ + +SHA1 (File-ShareDir-1.00.tar.gz) = e5ed9782df855940c2bdcc846b43c102654e5b5a +RMD160 (File-ShareDir-1.00.tar.gz) = e3f1da6681eb23789a3514b3826949e6279fb5e6 +Size (File-ShareDir-1.00.tar.gz) = 27905 bytes |