aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2013-11-15 21:48:38 +0800
committermat <mat@FreeBSD.org>2013-11-15 21:48:38 +0800
commit45fdd0a12bb5a752e22055294a113e0fbe938614 (patch)
tree14cf1497422c1a54423ecbd704c4a20c222e50bf /devel
parente31a5b6d04996f439c1d2020ea617a8a952cb4b6 (diff)
downloadfreebsd-ports-gnome-45fdd0a12bb5a752e22055294a113e0fbe938614.tar.gz
freebsd-ports-gnome-45fdd0a12bb5a752e22055294a113e0fbe938614.tar.zst
freebsd-ports-gnome-45fdd0a12bb5a752e22055294a113e0fbe938614.zip
Add p5-Class-Mixin 1.00, API for aliasing methods to/from other classes.
PR: ports/180293 Submitted by: Anes Mukhametov <anes@anes.su>
Diffstat (limited to 'devel')
-rw-r--r--devel/Makefile1
-rw-r--r--devel/p5-Class-Mixin/Makefile16
-rw-r--r--devel/p5-Class-Mixin/distinfo2
-rw-r--r--devel/p5-Class-Mixin/pkg-descr8
-rw-r--r--devel/p5-Class-Mixin/pkg-plist6
5 files changed, 33 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 68d7d7a55135..236665b8564c 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -1578,6 +1578,7 @@
SUBDIR += p5-Class-MethodMaker
SUBDIR += p5-Class-MethodMapper
SUBDIR += p5-Class-Mix
+ SUBDIR += p5-Class-Mixin
SUBDIR += p5-Class-MixinFactory
SUBDIR += p5-Class-Multimethods
SUBDIR += p5-Class-Multimethods-Pure
diff --git a/devel/p5-Class-Mixin/Makefile b/devel/p5-Class-Mixin/Makefile
new file mode 100644
index 000000000000..9406dacb8dfa
--- /dev/null
+++ b/devel/p5-Class-Mixin/Makefile
@@ -0,0 +1,16 @@
+# Created by: Anes Mukhametov <anes@anes.su>
+# $FreeBSD$
+
+PORTNAME= Class-Mixin
+PORTVERSION= 1.00
+CATEGORIES= devel perl5
+MASTER_SITES= CPAN
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= anes@anes.su
+COMMENT= API for aliasing methods to/from other classes
+
+USES= perl5
+USE_PERL5= configure
+
+.include <bsd.port.mk>
diff --git a/devel/p5-Class-Mixin/distinfo b/devel/p5-Class-Mixin/distinfo
new file mode 100644
index 000000000000..0eb4a35da534
--- /dev/null
+++ b/devel/p5-Class-Mixin/distinfo
@@ -0,0 +1,2 @@
+SHA256 (Class-Mixin-1.00.tar.gz) = 52a6babb5397a3ffa1c49a66e7eaba939169bc056e91df7da681716514d185df
+SIZE (Class-Mixin-1.00.tar.gz) = 5549
diff --git a/devel/p5-Class-Mixin/pkg-descr b/devel/p5-Class-Mixin/pkg-descr
new file mode 100644
index 000000000000..d2b4aac6ea36
--- /dev/null
+++ b/devel/p5-Class-Mixin/pkg-descr
@@ -0,0 +1,8 @@
+Class::Mixin provides a way to mix methods from one class into another,
+such that the target class can use both its methods as well as those of
+the source class.
+The primary advantage is that the behavior of a class can be modified
+to effectively be another class without changing any of the calling
+code -- just requires using the new class that mixes into the original.
+
+WWW: http://search.cpan.org/dist/Class-Mixin/
diff --git a/devel/p5-Class-Mixin/pkg-plist b/devel/p5-Class-Mixin/pkg-plist
new file mode 100644
index 000000000000..e62f6713bcfd
--- /dev/null
+++ b/devel/p5-Class-Mixin/pkg-plist
@@ -0,0 +1,6 @@
+%%SITE_PERL%%/Class/Mixin.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Class/Mixin/.packlist
+%%PERL5_MAN3%%/Class::Mixin.3.gz
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Class/Mixin
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Class
+@dirrmtry %%SITE_PERL%%/Class