diff options
| author | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2025-05-18 03:14:38 +0000 |
|---|---|---|
| committer | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2025-05-18 03:14:38 +0000 |
| commit | cc192148c4e367fea3afb2adff01bf77edf68c99 (patch) | |
| tree | 055ea12c9480f7b30fa3598c022493129028a547 | |
| parent | c477ca64c34a4ca28031e668fcec1d80832efc8a (diff) | |
devel/p5-File-ShareDir-Tiny: Add p5-File-ShareDir-Tiny 0.001
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::ShareDir::Tiny provides a more portable way to have (read-only) data for
your module.
| -rw-r--r-- | devel/Makefile | 1 | ||||
| -rw-r--r-- | devel/p5-File-ShareDir-Tiny/Makefile | 20 | ||||
| -rw-r--r-- | devel/p5-File-ShareDir-Tiny/distinfo | 3 | ||||
| -rw-r--r-- | devel/p5-File-ShareDir-Tiny/pkg-descr | 10 | ||||
| -rw-r--r-- | devel/p5-File-ShareDir-Tiny/pkg-plist | 2 |
5 files changed, 36 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index 98cfd96da9ec..a3fa8e498474 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -2687,6 +2687,7 @@ SUBDIR += p5-File-ShareDir-PathClass SUBDIR += p5-File-ShareDir-ProjectDistDir SUBDIR += p5-File-ShareDir-Tarball + SUBDIR += p5-File-ShareDir-Tiny SUBDIR += p5-File-Slurp SUBDIR += p5-File-Slurp-Tiny SUBDIR += p5-File-Slurp-Tree diff --git a/devel/p5-File-ShareDir-Tiny/Makefile b/devel/p5-File-ShareDir-Tiny/Makefile new file mode 100644 index 000000000000..21ad136425ba --- /dev/null +++ b/devel/p5-File-ShareDir-Tiny/Makefile @@ -0,0 +1,20 @@ +PORTNAME= File-ShareDir-Tiny +PORTVERSION= 0.001 +CATEGORIES= devel perl5 +MASTER_SITES= CPAN +PKGNAMEPREFIX= p5- + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Locate per-dist and per-module shared files +WWW= https://metacpan.org/dist/File-ShareDir-Tiny + +LICENSE= ART10 GPLv1+ +LICENSE_COMB= dual +LICENSE_FILE_GPLv1+ = ${WRKSRC}/LICENSE + +USES= perl5 +USE_PERL5= configure + +NO_ARCH= yes + +.include <bsd.port.mk> diff --git a/devel/p5-File-ShareDir-Tiny/distinfo b/devel/p5-File-ShareDir-Tiny/distinfo new file mode 100644 index 000000000000..4cddf6bb9a93 --- /dev/null +++ b/devel/p5-File-ShareDir-Tiny/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1745936002 +SHA256 (File-ShareDir-Tiny-0.001.tar.gz) = 16d6e0352d02402cdd46bc8d7c426c66cd8488d7066878b250e50a6a34e47b58 +SIZE (File-ShareDir-Tiny-0.001.tar.gz) = 13964 diff --git a/devel/p5-File-ShareDir-Tiny/pkg-descr b/devel/p5-File-ShareDir-Tiny/pkg-descr new file mode 100644 index 000000000000..ca2f48644816 --- /dev/null +++ b/devel/p5-File-ShareDir-Tiny/pkg-descr @@ -0,0 +1,10 @@ +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::ShareDir::Tiny provides a more portable way to have (read-only) data for +your module. diff --git a/devel/p5-File-ShareDir-Tiny/pkg-plist b/devel/p5-File-ShareDir-Tiny/pkg-plist new file mode 100644 index 000000000000..5177be5ed67f --- /dev/null +++ b/devel/p5-File-ShareDir-Tiny/pkg-plist @@ -0,0 +1,2 @@ +%%SITE_PERL%%/File/ShareDir/Tiny.pm +%%PERL5_MAN3%%/File::ShareDir::Tiny.3.gz |
