aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2021-09-19 05:25:33 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2021-09-19 05:40:29 +0000
commit000040df0c32c12d75e571f0bbf9bccc6539fd94 (patch)
tree9d242964f6e31fa32ccc813531769aacb3e832bb
parent706aa4d599da514c93ec9def7856f313e3dcb8e4 (diff)
downloadports-000040df0c32c12d75e571f0bbf9bccc6539fd94.tar.gz
ports-000040df0c32c12d75e571f0bbf9bccc6539fd94.zip
devel/p5-alias-module: Add p5-alias-module 0.002
alias::module aliases one module name to another. It is useful if you want to let users access a module's functionality under a different (usually shorter) name. WWW: https://metacpan.org/dist/alias-module
-rw-r--r--devel/Makefile1
-rw-r--r--devel/p5-alias-module/Makefile22
-rw-r--r--devel/p5-alias-module/distinfo3
-rw-r--r--devel/p5-alias-module/pkg-descr5
-rw-r--r--devel/p5-alias-module/pkg-plist2
5 files changed, 33 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 9d6d724866f3..c33f904cad3b 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -3675,6 +3675,7 @@
SUBDIR += p5-ZML
SUBDIR += p5-accessors
SUBDIR += p5-accessors-fast
+ SUBDIR += p5-alias-module
SUBDIR += p5-aliased
SUBDIR += p5-asa
SUBDIR += p5-autobox
diff --git a/devel/p5-alias-module/Makefile b/devel/p5-alias-module/Makefile
new file mode 100644
index 000000000000..041100f772b8
--- /dev/null
+++ b/devel/p5-alias-module/Makefile
@@ -0,0 +1,22 @@
+# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+
+PORTNAME= alias-module
+PORTVERSION= 0.002
+CATEGORIES= devel perl5
+MASTER_SITES= CPAN
+MASTER_SITE_SUBDIR= CPAN:PERLANCAR
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Alias one module as another
+
+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-alias-module/distinfo b/devel/p5-alias-module/distinfo
new file mode 100644
index 000000000000..b4f15c073e40
--- /dev/null
+++ b/devel/p5-alias-module/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1629364642
+SHA256 (alias-module-0.002.tar.gz) = 65f177da67cb3078b4c22e3167f883a63dbb7f62c63944af40a72e22ca4415c8
+SIZE (alias-module-0.002.tar.gz) = 13897
diff --git a/devel/p5-alias-module/pkg-descr b/devel/p5-alias-module/pkg-descr
new file mode 100644
index 000000000000..a60072a6b60f
--- /dev/null
+++ b/devel/p5-alias-module/pkg-descr
@@ -0,0 +1,5 @@
+alias::module aliases one module name to another. It is useful if you want to
+let users access a module's functionality under a different (usually shorter)
+name.
+
+WWW: https://metacpan.org/dist/alias-module
diff --git a/devel/p5-alias-module/pkg-plist b/devel/p5-alias-module/pkg-plist
new file mode 100644
index 000000000000..1c35d1701f12
--- /dev/null
+++ b/devel/p5-alias-module/pkg-plist
@@ -0,0 +1,2 @@
+%%SITE_PERL%%/alias/module.pm
+%%PERL5_MAN3%%/alias::module.3.gz