git: 32ae0f0601c8 - main - devel/p5-subroutines: Add p5-subroutines 0.001
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 05 Sep 2024 06:19:27 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=32ae0f0601c821d773535bf7a86c003eac932fc0
commit 32ae0f0601c821d773535bf7a86c003eac932fc0
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-09-05 05:13:54 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-09-05 06:11:18 +0000
devel/p5-subroutines: Add p5-subroutines 0.001
subroutines declares routines in your module that are copied from another
module.
---
devel/Makefile | 1 +
devel/p5-subroutines/Makefile | 21 +++++++++++++++++++++
devel/p5-subroutines/distinfo | 3 +++
devel/p5-subroutines/pkg-descr | 2 ++
devel/p5-subroutines/pkg-plist | 2 ++
5 files changed, 29 insertions(+)
diff --git a/devel/Makefile b/devel/Makefile
index 548054a60e1c..b5d9131c76b5 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -3960,6 +3960,7 @@
SUBDIR += p5-self-init
SUBDIR += p5-strictures
SUBDIR += p5-subatom
+ SUBDIR += p5-subroutines
SUBDIR += p5-subversion
SUBDIR += p5-superclass
SUBDIR += p5-syntax
diff --git a/devel/p5-subroutines/Makefile b/devel/p5-subroutines/Makefile
new file mode 100644
index 000000000000..11fe6e0d7d51
--- /dev/null
+++ b/devel/p5-subroutines/Makefile
@@ -0,0 +1,21 @@
+PORTNAME= subroutines
+PORTVERSION= 0.001
+CATEGORIES= devel perl5
+MASTER_SITES= CPAN
+MASTER_SITE_SUBDIR= CPAN:PERLANCAR
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Use subroutines from another module
+WWW= https://metacpan.org/dist/subroutines
+
+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-subroutines/distinfo b/devel/p5-subroutines/distinfo
new file mode 100644
index 000000000000..971eb338430c
--- /dev/null
+++ b/devel/p5-subroutines/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1724084472
+SHA256 (subroutines-0.001.tar.gz) = 063467f916c147e06cd051cbd849effdc937359c0f3966f48d06850aaec3ba90
+SIZE (subroutines-0.001.tar.gz) = 14259
diff --git a/devel/p5-subroutines/pkg-descr b/devel/p5-subroutines/pkg-descr
new file mode 100644
index 000000000000..436cf1509664
--- /dev/null
+++ b/devel/p5-subroutines/pkg-descr
@@ -0,0 +1,2 @@
+subroutines declares routines in your module that are copied from another
+module.
diff --git a/devel/p5-subroutines/pkg-plist b/devel/p5-subroutines/pkg-plist
new file mode 100644
index 000000000000..29a5fc0393d4
--- /dev/null
+++ b/devel/p5-subroutines/pkg-plist
@@ -0,0 +1,2 @@
+%%PERL5_MAN3%%/subroutines.3.gz
+%%SITE_PERL%%/subroutines.pm