diff options
author | sunpoet <sunpoet@FreeBSD.org> | 2011-06-03 10:06:11 +0800 |
---|---|---|
committer | sunpoet <sunpoet@FreeBSD.org> | 2011-06-03 10:06:11 +0800 |
commit | 79508b421ffa329f5cea161883ce163f686685d0 (patch) | |
tree | ee9e54f0a76be6408135e5d01cf185c050f2e77a | |
parent | 8da545b2639714a30005cd05ce8d6a28baf87546 (diff) | |
download | freebsd-ports-gnome-79508b421ffa329f5cea161883ce163f686685d0.tar.gz freebsd-ports-gnome-79508b421ffa329f5cea161883ce163f686685d0.tar.zst freebsd-ports-gnome-79508b421ffa329f5cea161883ce163f686685d0.zip |
- Add p5-MouseX-Traits 0.1102
Often you want to create components that can be added to a class arbitrarily.
MouseX::Traits makes it easy for the end user to use these components. Instead
of requiring the user to create a named class with the desired roles applied,
or apply roles to the instance one-by-one, he can just create a new class from
yours with with_traits, and then instantiate that.
WWW: http://search.cpan.org/dist/MouseX-Traits/
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/p5-MouseX-Traits/Makefile | 25 | ||||
-rw-r--r-- | devel/p5-MouseX-Traits/distinfo | 2 | ||||
-rw-r--r-- | devel/p5-MouseX-Traits/pkg-descr | 7 | ||||
-rw-r--r-- | devel/p5-MouseX-Traits/pkg-plist | 5 |
5 files changed, 40 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index 1059b7a5ea11..341960b41907 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -2024,6 +2024,7 @@ SUBDIR += p5-MouseX-ConfigFromFile SUBDIR += p5-MouseX-Getopt SUBDIR += p5-MouseX-NativeTraits + SUBDIR += p5-MouseX-Traits SUBDIR += p5-MouseX-StrictConstructor SUBDIR += p5-MouseX-Types SUBDIR += p5-MouseX-Types-Path-Class diff --git a/devel/p5-MouseX-Traits/Makefile b/devel/p5-MouseX-Traits/Makefile new file mode 100644 index 000000000000..97aeb7025df6 --- /dev/null +++ b/devel/p5-MouseX-Traits/Makefile @@ -0,0 +1,25 @@ +# New ports collection makefile for: p5-MouseX-Traits +# Date created: 2011-06-02 +# Whom: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= MouseX-Traits +PORTVERSION= 0.1102 +CATEGORIES= devel perl5 +MASTER_SITES= CPAN +MASTER_SITE_SUBDIR= CPAN:GFUJI +PKGNAMEPREFIX= p5- + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Automatically apply roles at object creation time + +RUN_DEPENDS= p5-Mouse>=0.81:${PORTSDIR}/devel/p5-Mouse +TEST_DEPENDS= p5-Test-Exception>=0:${PORTSDIR}/devel/p5-Test-Exception + +PERL_CONFIGURE= yes + +MAN3= MouseX::Traits.3 + +.include <bsd.port.mk> diff --git a/devel/p5-MouseX-Traits/distinfo b/devel/p5-MouseX-Traits/distinfo new file mode 100644 index 000000000000..230eed626502 --- /dev/null +++ b/devel/p5-MouseX-Traits/distinfo @@ -0,0 +1,2 @@ +SHA256 (MouseX-Traits-0.1102.tar.gz) = 03a7c57b332b7f055127c81c189210801d4cf0f54c3f1040a1433043776735b2 +SIZE (MouseX-Traits-0.1102.tar.gz) = 18582 diff --git a/devel/p5-MouseX-Traits/pkg-descr b/devel/p5-MouseX-Traits/pkg-descr new file mode 100644 index 000000000000..0d99ff5b1f8d --- /dev/null +++ b/devel/p5-MouseX-Traits/pkg-descr @@ -0,0 +1,7 @@ +Often you want to create components that can be added to a class arbitrarily. +MouseX::Traits makes it easy for the end user to use these components. Instead +of requiring the user to create a named class with the desired roles applied, +or apply roles to the instance one-by-one, he can just create a new class from +yours with with_traits, and then instantiate that. + +WWW: http://search.cpan.org/dist/MouseX-Traits/ diff --git a/devel/p5-MouseX-Traits/pkg-plist b/devel/p5-MouseX-Traits/pkg-plist new file mode 100644 index 000000000000..1b6998a67978 --- /dev/null +++ b/devel/p5-MouseX-Traits/pkg-plist @@ -0,0 +1,5 @@ +%%SITE_PERL%%/MouseX/Traits.pm +%%SITE_PERL%%/%%PERL_ARCH%%/auto/MouseX/Traits/.packlist +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/MouseX/Traits +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/MouseX +@dirrmtry %%SITE_PERL%%/MouseX |