git: cdcb83bfbffa - main - devel/p5-File-ShareDir-Dist: Add p5-File-ShareDir-Dist 0.07

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Mon, 03 Oct 2022 02:24:27 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=cdcb83bfbffa5c0ecf5135e9247f9f5c14915fec

commit cdcb83bfbffa5c0ecf5135e9247f9f5c14915fec
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-10-03 02:10:15 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-10-03 02:10:15 +0000

    devel/p5-File-ShareDir-Dist: Add p5-File-ShareDir-Dist 0.07
    
    File::ShareDir::Dist finds share directories for distributions. It is similar to
    File::ShareDir with a few differences:
    - Only supports distribution directories.
    - Doesn't compute filenames.
    - Doesn't compute filenames.
    - Hopefully doesn't find the wrong directory.
    - No non-core dependencies.
    - Works in your development tree.
    - Built in override.
---
 devel/Makefile                        |  1 +
 devel/p5-File-ShareDir-Dist/Makefile  | 20 ++++++++++++++++++++
 devel/p5-File-ShareDir-Dist/distinfo  |  3 +++
 devel/p5-File-ShareDir-Dist/pkg-descr |  9 +++++++++
 devel/p5-File-ShareDir-Dist/pkg-plist |  8 ++++++++
 5 files changed, 41 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index 177ec1acc79a..6bd5c3949494 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -2447,6 +2447,7 @@
     SUBDIR += p5-File-SearchPath
     SUBDIR += p5-File-Share
     SUBDIR += p5-File-ShareDir
+    SUBDIR += p5-File-ShareDir-Dist
     SUBDIR += p5-File-ShareDir-Install
     SUBDIR += p5-File-ShareDir-PAR
     SUBDIR += p5-File-ShareDir-PathClass
diff --git a/devel/p5-File-ShareDir-Dist/Makefile b/devel/p5-File-ShareDir-Dist/Makefile
new file mode 100644
index 000000000000..d3542fba6332
--- /dev/null
+++ b/devel/p5-File-ShareDir-Dist/Makefile
@@ -0,0 +1,20 @@
+PORTNAME=	File-ShareDir-Dist
+PORTVERSION=	0.07
+CATEGORIES=	devel perl5
+MASTER_SITES=	CPAN
+PKGNAMEPREFIX=	p5-
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Locate per-dist shared files
+WWW=		https://metacpan.org/dist/File-ShareDir-Dist
+
+LICENSE=	ART10 GPLv1+
+LICENSE_COMB=	dual
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+USES=		perl5
+USE_PERL5=	configure
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/devel/p5-File-ShareDir-Dist/distinfo b/devel/p5-File-ShareDir-Dist/distinfo
new file mode 100644
index 000000000000..4d6f29b8e1af
--- /dev/null
+++ b/devel/p5-File-ShareDir-Dist/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1663672728
+SHA256 (File-ShareDir-Dist-0.07.tar.gz) = 8d7fe5d0ee22351f41ef95adc22dbd56c31ffa2a9b2c1984300e92ff7e9fe86d
+SIZE (File-ShareDir-Dist-0.07.tar.gz) = 20321
diff --git a/devel/p5-File-ShareDir-Dist/pkg-descr b/devel/p5-File-ShareDir-Dist/pkg-descr
new file mode 100644
index 000000000000..6647298f7cde
--- /dev/null
+++ b/devel/p5-File-ShareDir-Dist/pkg-descr
@@ -0,0 +1,9 @@
+File::ShareDir::Dist finds share directories for distributions. It is similar to
+File::ShareDir with a few differences:
+- Only supports distribution directories.
+- Doesn't compute filenames.
+- Doesn't compute filenames.
+- Hopefully doesn't find the wrong directory.
+- No non-core dependencies.
+- Works in your development tree.
+- Built in override.
diff --git a/devel/p5-File-ShareDir-Dist/pkg-plist b/devel/p5-File-ShareDir-Dist/pkg-plist
new file mode 100644
index 000000000000..50588ed7dd06
--- /dev/null
+++ b/devel/p5-File-ShareDir-Dist/pkg-plist
@@ -0,0 +1,8 @@
+%%SITE_PERL%%/App/Prove/Plugin/ShareDirDist.pm
+%%SITE_PERL%%/App/Yath/Plugin/ShareDirDist.pm
+%%SITE_PERL%%/File/ShareDir/Dist.pm
+%%SITE_PERL%%/File/ShareDir/Dist/Install.pm
+%%PERL5_MAN3%%/App::Prove::Plugin::ShareDirDist.3.gz
+%%PERL5_MAN3%%/App::Yath::Plugin::ShareDirDist.3.gz
+%%PERL5_MAN3%%/File::ShareDir::Dist.3.gz
+%%PERL5_MAN3%%/File::ShareDir::Dist::Install.3.gz