git: d94a3db61613 - main - devel/p5-Sub-HandlesVia: Add p5-Sub-HandlesVia 0.016

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Mon, 18 Apr 2022 00:00:17 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=d94a3db6161308a6b4f44b0f9380328f40d83266

commit d94a3db6161308a6b4f44b0f9380328f40d83266
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-04-17 23:39:06 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-04-17 23:39:06 +0000

    devel/p5-Sub-HandlesVia: Add p5-Sub-HandlesVia 0.016
    
    If you've used Moose's native attribute traits, or MooX::HandlesVia before, you
    should have a fairly good idea what this does.
    
    Why re-invent the wheel? Well, this is an implementation that should work okay
    with Moo, Moose, Mouse, and any other OO toolkit you throw at it. One ring to
    rule them all, so to speak.
    
    Also, unlike MooX::HandlesVia, it honours type constraints, plus it doesn't have
    the limitation that it can't mutate non-reference values.
    
    WWW: https://metacpan.org/dist/Sub-HandlesVia
---
 devel/Makefile                    |  1 +
 devel/p5-Sub-HandlesVia/Makefile  | 30 ++++++++++++++++++++++++++++++
 devel/p5-Sub-HandlesVia/distinfo  |  3 +++
 devel/p5-Sub-HandlesVia/pkg-descr | 11 +++++++++++
 devel/p5-Sub-HandlesVia/pkg-plist | 18 ++++++++++++++++++
 5 files changed, 63 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index 7fd90a3152b0..c09e3acb10c2 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -3317,6 +3317,7 @@
     SUBDIR += p5-Sub-Exporter-GlobExporter
     SUBDIR += p5-Sub-Exporter-Lexical
     SUBDIR += p5-Sub-Exporter-Progressive
+    SUBDIR += p5-Sub-HandlesVia
     SUBDIR += p5-Sub-Identify
     SUBDIR += p5-Sub-Infix
     SUBDIR += p5-Sub-Info
diff --git a/devel/p5-Sub-HandlesVia/Makefile b/devel/p5-Sub-HandlesVia/Makefile
new file mode 100644
index 000000000000..d5b8633f3177
--- /dev/null
+++ b/devel/p5-Sub-HandlesVia/Makefile
@@ -0,0 +1,30 @@
+# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+
+PORTNAME=	Sub-HandlesVia
+PORTVERSION=	0.016
+CATEGORIES=	devel perl5
+MASTER_SITES=	CPAN
+PKGNAMEPREFIX=	p5-
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Alternative handles_via implementation
+
+LICENSE=	ART10 GPLv1+
+LICENSE_COMB=	dual
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+BUILD_DEPENDS=	${RUN_DEPENDS}
+RUN_DEPENDS=	p5-Class-Method-Modifiers>=0:devel/p5-Class-Method-Modifiers \
+		p5-Class-Tiny>=0:devel/p5-Class-Tiny \
+		p5-Exporter-Tiny>=0:devel/p5-Exporter-Tiny \
+		p5-Role-Tiny>=0:devel/p5-Role-Tiny \
+		p5-Type-Tiny>=0:devel/p5-Type-Tiny
+TEST_DEPENDS=	p5-Test-Fatal>=0:devel/p5-Test-Fatal \
+		p5-Test-Requires>=0:devel/p5-Test-Requires
+
+USES=		perl5
+USE_PERL5=	configure
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/devel/p5-Sub-HandlesVia/distinfo b/devel/p5-Sub-HandlesVia/distinfo
new file mode 100644
index 000000000000..3ef69be51be7
--- /dev/null
+++ b/devel/p5-Sub-HandlesVia/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1650228648
+SHA256 (Sub-HandlesVia-0.016.tar.gz) = 69ded44ae54724027401667476c8af268a900af4ea6047ff44f283bc5e2cf9d5
+SIZE (Sub-HandlesVia-0.016.tar.gz) = 99771
diff --git a/devel/p5-Sub-HandlesVia/pkg-descr b/devel/p5-Sub-HandlesVia/pkg-descr
new file mode 100644
index 000000000000..4a86fedd6a13
--- /dev/null
+++ b/devel/p5-Sub-HandlesVia/pkg-descr
@@ -0,0 +1,11 @@
+If you've used Moose's native attribute traits, or MooX::HandlesVia before, you
+should have a fairly good idea what this does.
+
+Why re-invent the wheel? Well, this is an implementation that should work okay
+with Moo, Moose, Mouse, and any other OO toolkit you throw at it. One ring to
+rule them all, so to speak.
+
+Also, unlike MooX::HandlesVia, it honours type constraints, plus it doesn't have
+the limitation that it can't mutate non-reference values.
+
+WWW: https://metacpan.org/dist/Sub-HandlesVia
diff --git a/devel/p5-Sub-HandlesVia/pkg-plist b/devel/p5-Sub-HandlesVia/pkg-plist
new file mode 100644
index 000000000000..19ecaa6b7a5d
--- /dev/null
+++ b/devel/p5-Sub-HandlesVia/pkg-plist
@@ -0,0 +1,18 @@
+%%SITE_PERL%%/Sub/HandlesVia.pm
+%%SITE_PERL%%/Sub/HandlesVia/Handler.pm
+%%SITE_PERL%%/Sub/HandlesVia/HandlerLibrary.pm
+%%SITE_PERL%%/Sub/HandlesVia/HandlerLibrary/Array.pm
+%%SITE_PERL%%/Sub/HandlesVia/HandlerLibrary/Bool.pm
+%%SITE_PERL%%/Sub/HandlesVia/HandlerLibrary/Code.pm
+%%SITE_PERL%%/Sub/HandlesVia/HandlerLibrary/Counter.pm
+%%SITE_PERL%%/Sub/HandlesVia/HandlerLibrary/Hash.pm
+%%SITE_PERL%%/Sub/HandlesVia/HandlerLibrary/Number.pm
+%%SITE_PERL%%/Sub/HandlesVia/HandlerLibrary/Scalar.pm
+%%SITE_PERL%%/Sub/HandlesVia/HandlerLibrary/String.pm
+%%SITE_PERL%%/Sub/HandlesVia/Toolkit.pm
+%%SITE_PERL%%/Sub/HandlesVia/Toolkit/Moo.pm
+%%SITE_PERL%%/Sub/HandlesVia/Toolkit/Moose.pm
+%%SITE_PERL%%/Sub/HandlesVia/Toolkit/Mouse.pm
+%%SITE_PERL%%/Sub/HandlesVia/Toolkit/Plain.pm
+%%PERL5_MAN3%%/Sub::HandlesVia.3.gz
+%%PERL5_MAN3%%/Sub::HandlesVia::Toolkit.3.gz