aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2024-09-05 05:13:54 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2024-09-05 06:11:18 +0000
commit32ae0f0601c821d773535bf7a86c003eac932fc0 (patch)
tree28769f29de26d07daffb2ddcb2c45e8a1a2a4b97
parent7fd42539c8bffb80ba0081aaf41567f20ff61abe (diff)
devel/p5-subroutines: Add p5-subroutines 0.001
subroutines declares routines in your module that are copied from another module.
-rw-r--r--devel/Makefile1
-rw-r--r--devel/p5-subroutines/Makefile21
-rw-r--r--devel/p5-subroutines/distinfo3
-rw-r--r--devel/p5-subroutines/pkg-descr2
-rw-r--r--devel/p5-subroutines/pkg-plist2
5 files changed, 29 insertions, 0 deletions
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