1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-29 10:18:30 +00:00
freebsd-ports/devel/p5-Data-Object-Role-Proxyable/Makefile
Sunpoet Po-Chuan Hsieh e9d48ff501 Add p5-Data-Object-Role-Proxyable 2.03
Data::Object::Role::Proxyable provides a wrapper around the AUTOLOAD routine
which processes calls to routines which don't exist. Adding a build_proxy method
to the consuming class acts as a hook into routine dispatching, which processes
calls to routines which don't exist. The build_proxy routine is called as a
method and receives $self, $package, $method, and any arguments passed to the
method as a list of arguments, e.g. @args. The build_proxy method must return a
routine (i.e. a callback) or the undefined value which results in a "method
missing" error.

WWW: https://metacpan.org/release/Data-Object-Role-Proxyable
2020-04-24 17:59:48 +00:00

26 lines
503 B
Makefile

# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
# $FreeBSD$
PORTNAME= Data-Object-Role-Proxyable
PORTVERSION= 2.03
CATEGORIES= devel perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Proxyable Role for Data::Object
LICENSE= APACHE20
BUILD_DEPENDS= ${RUN_DEPENDS}
RUN_DEPENDS= p5-Moo>=0:devel/p5-Moo \
p5-routines>=0:devel/p5-routines
TEST_DEPENDS= p5-Test-Auto>=0.05:devel/p5-Test-Auto
USES= perl5
USE_PERL5= configure
NO_ARCH= yes
.include <bsd.port.mk>