git: 000040df0c32 - main - devel/p5-alias-module: Add p5-alias-module 0.002
Po-Chuan Hsieh
sunpoet at FreeBSD.org
Sun Sep 19 06:06:41 UTC 2021
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=000040df0c32c12d75e571f0bbf9bccc6539fd94
commit 000040df0c32c12d75e571f0bbf9bccc6539fd94
Author: Po-Chuan Hsieh <sunpoet at FreeBSD.org>
AuthorDate: 2021-09-19 05:25:33 +0000
Commit: Po-Chuan Hsieh <sunpoet at FreeBSD.org>
CommitDate: 2021-09-19 05:40:29 +0000
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
---
devel/Makefile | 1 +
devel/p5-alias-module/Makefile | 22 ++++++++++++++++++++++
devel/p5-alias-module/distinfo | 3 +++
devel/p5-alias-module/pkg-descr | 5 +++++
devel/p5-alias-module/pkg-plist | 2 ++
5 files changed, 33 insertions(+)
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 at FreeBSD.org>
+
+PORTNAME= alias-module
+PORTVERSION= 0.002
+CATEGORIES= devel perl5
+MASTER_SITES= CPAN
+MASTER_SITE_SUBDIR= CPAN:PERLANCAR
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= sunpoet at 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
More information about the dev-commits-ports-all
mailing list