Wed Aug 20 22:21:31 2008 UTC ()
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.

Status:

Vendor Tag:	TNF
Release Tags:	pkgsrc-base


(tonnerre)
diff -r0 -r1.1.1.1 pkgsrc/devel/p5-File-ShareDir/Makefile
diff -r0 -r1.1.1.1 pkgsrc/devel/p5-File-ShareDir/DESCR
diff -r0 -r1.1.1.1 pkgsrc/devel/p5-File-ShareDir/distinfo

File Added: pkgsrc/devel/p5-File-ShareDir/Makefile
# $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"

File Added: pkgsrc/devel/p5-File-ShareDir/DESCR
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.

File Added: pkgsrc/devel/p5-File-ShareDir/distinfo
$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