git: c1a7fa9a720f - main - devel/p5-Module-Extract-VERSION: new port had been added (+)

From: Alexey Dokuchaev <danfe_at_FreeBSD.org>
Date: Mon, 25 Dec 2023 14:20:57 UTC
The branch main has been updated by danfe:

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

commit c1a7fa9a720f4609868904538058cfe5479dd33c
Author:     Alexey Dokuchaev <danfe@FreeBSD.org>
AuthorDate: 2023-12-25 14:16:32 +0000
Commit:     Alexey Dokuchaev <danfe@FreeBSD.org>
CommitDate: 2023-12-25 14:16:32 +0000

    devel/p5-Module-Extract-VERSION: new port had been added (+)
    
    It allows to pull the version number for the Perl module out of its
    source.  It assumes that there is only one $VERSION in the file and
    the entire $VERSION statement is on the same line.
---
 devel/Makefile                            |  1 +
 devel/p5-Module-Extract-VERSION/Makefile  | 19 +++++++++++++++++++
 devel/p5-Module-Extract-VERSION/distinfo  |  3 +++
 devel/p5-Module-Extract-VERSION/pkg-descr |  3 +++
 devel/p5-Module-Extract-VERSION/pkg-plist |  2 ++
 5 files changed, 28 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index 8ae43b3e9003..5bc88c0af040 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -2875,6 +2875,7 @@
     SUBDIR += p5-Module-Depends
     SUBDIR += p5-Module-Extract
     SUBDIR += p5-Module-Extract-Use
+    SUBDIR += p5-Module-Extract-VERSION
     SUBDIR += p5-Module-ExtractUse
     SUBDIR += p5-Module-Find
     SUBDIR += p5-Module-Functions
diff --git a/devel/p5-Module-Extract-VERSION/Makefile b/devel/p5-Module-Extract-VERSION/Makefile
new file mode 100644
index 000000000000..3226fd0b9dd2
--- /dev/null
+++ b/devel/p5-Module-Extract-VERSION/Makefile
@@ -0,0 +1,19 @@
+PORTNAME=	Module-Extract-VERSION
+PORTVERSION=	1.116
+CATEGORIES=	devel perl5
+MASTER_SITES=	CPAN
+PKGNAMEPREFIX=	p5-
+
+MAINTAINER=	perl@FreeBSD.org
+COMMENT=	Extract the version of a Perl module
+WWW=		https://metacpan.org/dist/Module-Extract-VERSION
+
+LICENSE=	ART20
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+USES=		perl5
+USE_PERL5=	configure
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/devel/p5-Module-Extract-VERSION/distinfo b/devel/p5-Module-Extract-VERSION/distinfo
new file mode 100644
index 000000000000..8ca50b141b97
--- /dev/null
+++ b/devel/p5-Module-Extract-VERSION/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1666701509
+SHA256 (Module-Extract-VERSION-1.116.tar.gz) = 41903a0685178285345f5da855d925b9454ee710a9795e3c4c327bae2f557698
+SIZE (Module-Extract-VERSION-1.116.tar.gz) = 12653
diff --git a/devel/p5-Module-Extract-VERSION/pkg-descr b/devel/p5-Module-Extract-VERSION/pkg-descr
new file mode 100644
index 000000000000..db7e1a276c5b
--- /dev/null
+++ b/devel/p5-Module-Extract-VERSION/pkg-descr
@@ -0,0 +1,3 @@
+This module allows to pull out of module source code the version number
+for the module.  It assumes that there is only one $VERSION in the file
+and the entire $VERSION statement is on the same line.
diff --git a/devel/p5-Module-Extract-VERSION/pkg-plist b/devel/p5-Module-Extract-VERSION/pkg-plist
new file mode 100644
index 000000000000..01c66a6ee29c
--- /dev/null
+++ b/devel/p5-Module-Extract-VERSION/pkg-plist
@@ -0,0 +1,2 @@
+%%SITE_PERL%%/Module/Extract/VERSION.pm
+%%PERL5_MAN3%%/Module::Extract::VERSION.3.gz