BSD Ports

devel/p5-File-ShareDir 1.118 FreeBSD

Locate per-dist and per-module shared files

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
ART10, GPLv1+
Categories
devel, perl5
Package size
18.5 KiB, 59.6 KiB installed

Description

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.

Perl provides a little-known method for doing this, but almost nobody is aware that it exists. As a result, module authors often go through some very strange ways to make the data available to their code.

In the other systems

SystemPortVersion
FreeBSDdevel/p5-File-ShareDir1.118
OpenBSDdevel/p5-File-ShareDir1.118
NetBSDdevel/p5-File-ShareDir1.118nb9
DragonFlydevel/p5-File-ShareDir1.118
MidnightBSDdevel/p5-File-ShareDir1.118

Install

Binary package:

pkg install p5-File-ShareDir

From the ports tree:

cd /usr/ports/devel/p5-File-ShareDir/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	p5-File-ShareDir>0:devel/p5-File-ShareDir

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest1.1181.1181.1181.1181.118
FreeBSD:14:quarterly1.1181.118n/a1.1181.118
FreeBSD:15:latest1.1181.118n/a1.1181.118
FreeBSD:15:quarterly1.1181.118n/an/an/a
FreeBSD:16:latest1.1181.118n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 1

Runtime 1

The full lists below include those, and their dependencies in turn.

Build dependencies 2
Run dependencies 2
Required by 564

The first 100 are listed.

Configuration

No options to configure.

USES
perl5
Service scripts
none

Files

pkg-plist 5
  • %%SITE_PERL%%/File/ShareDir.pm
  • %%SITE_PERL%%/auto/share/dist/File-ShareDir/sample.txt
  • %%SITE_PERL%%/auto/share/dist/File-ShareDir/subdir/sample.txt
  • %%SITE_PERL%%/auto/share/module/File-ShareDir/test_file.txt
  • %%PERL5_MAN3%%/File::ShareDir.3.gz
distinfo 1
FileSizeSHA256
File-ShareDir-1.118.tar.gz296313bb2a20ba35df958dc0a4f2306fc05d903d8b8c4de3c8beefce17739d281c958
Master sites 1
  • CPAN

Commit history 0

No commits in the history this site was built from.