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 + +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 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