diff options
author | sunpoet <sunpoet@FreeBSD.org> | 2011-08-17 19:11:05 +0800 |
---|---|---|
committer | sunpoet <sunpoet@FreeBSD.org> | 2011-08-17 19:11:05 +0800 |
commit | 9732920ad23a6178f38eb2914a09c471bc75af0b (patch) | |
tree | 19770573e9e9824f356bbd09b6c41aad77a69092 /devel | |
parent | 11490b2db414f8d0a03b6ebf4e82a8cb0e9a9555 (diff) | |
download | freebsd-ports-gnome-9732920ad23a6178f38eb2914a09c471bc75af0b.tar.gz freebsd-ports-gnome-9732920ad23a6178f38eb2914a09c471bc75af0b.tar.zst freebsd-ports-gnome-9732920ad23a6178f38eb2914a09c471bc75af0b.zip |
- Add p5-MouseX-Foreign 0.004
MouseX::Foreign provides an ability for Mouse classes to extend any classes,
including non-Mouse classes, including Moose classes.
WWW: http://search.cpan.org/dist/MouseX-Foreign/
Diffstat (limited to 'devel')
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/p5-MouseX-Foreign/Makefile | 39 | ||||
-rw-r--r-- | devel/p5-MouseX-Foreign/distinfo | 2 | ||||
-rw-r--r-- | devel/p5-MouseX-Foreign/pkg-descr | 4 | ||||
-rw-r--r-- | devel/p5-MouseX-Foreign/pkg-plist | 12 |
5 files changed, 58 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index 37b637603808..97ff6fe4bfec 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -2047,6 +2047,7 @@ SUBDIR += p5-Mouse SUBDIR += p5-MouseX-AttributeHelpers SUBDIR += p5-MouseX-ConfigFromFile + SUBDIR += p5-MouseX-Foreign SUBDIR += p5-MouseX-Getopt SUBDIR += p5-MouseX-NativeTraits SUBDIR += p5-MouseX-StrictConstructor diff --git a/devel/p5-MouseX-Foreign/Makefile b/devel/p5-MouseX-Foreign/Makefile new file mode 100644 index 000000000000..9d65daaba3d2 --- /dev/null +++ b/devel/p5-MouseX-Foreign/Makefile @@ -0,0 +1,39 @@ +# New ports collection makefile for: p5-MouseX-Foreign +# Date created: 2011-08-15 +# Whom: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= MouseX-Foreign +PORTVERSION= 0.004 +CATEGORIES= devel perl5 +MASTER_SITES= CPAN +PKGNAMEPREFIX= p5- + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Extends non-Mouse classes as well as Mouse classes + +BUILD_DEPENDS= p5-Mouse>=0.77:${PORTSDIR}/devel/p5-Mouse +RUN_DEPENDS= p5-Mouse>=0.77:${PORTSDIR}/devel/p5-Mouse +TEST_DEPENDS= p5-Test-Exception>=0:${PORTSDIR}/devel/p5-Test-Exception \ + p5-Test-Requires>=0:${PORTSDIR}/devel/p5-Test-Requires + +PERL_CONFIGURE= 5.8.1+ + +MAN3= MouseX::Foreign.3 \ + MouseX::Foreign::Meta::Role::Class.3 \ + MouseX::Foreign::Meta::Role::Method::Constructor.3 \ + MouseX::Foreign::Meta::Role::Method::Destructor.3 + +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 501000 +BUILD_DEPENDS+= p5-ExtUtils-MakeMaker>=6.42:${PORTSDIR}/devel/p5-ExtUtils-MakeMaker +.endif + +.if ${PERL_LEVEL} < 501001 +TEST_DEPENDS+= p5-Test-Simple>=0.88:${PORTSDIR}/devel/p5-Test-Simple +.endif + +.include <bsd.port.post.mk> diff --git a/devel/p5-MouseX-Foreign/distinfo b/devel/p5-MouseX-Foreign/distinfo new file mode 100644 index 000000000000..9c22cfe225b1 --- /dev/null +++ b/devel/p5-MouseX-Foreign/distinfo @@ -0,0 +1,2 @@ +SHA256 (MouseX-Foreign-0.004.tar.gz) = 835df601809129af9f14ae7206f6e6e202345d3ee3b0c7f4da20cb486b0e4791 +SIZE (MouseX-Foreign-0.004.tar.gz) = 23554 diff --git a/devel/p5-MouseX-Foreign/pkg-descr b/devel/p5-MouseX-Foreign/pkg-descr new file mode 100644 index 000000000000..2988118a1c85 --- /dev/null +++ b/devel/p5-MouseX-Foreign/pkg-descr @@ -0,0 +1,4 @@ +MouseX::Foreign provides an ability for Mouse classes to extend any classes, +including non-Mouse classes, including Moose classes. + +WWW: http://search.cpan.org/dist/MouseX-Foreign/ diff --git a/devel/p5-MouseX-Foreign/pkg-plist b/devel/p5-MouseX-Foreign/pkg-plist new file mode 100644 index 000000000000..56b674821c65 --- /dev/null +++ b/devel/p5-MouseX-Foreign/pkg-plist @@ -0,0 +1,12 @@ +%%SITE_PERL%%/MouseX/Foreign.pm +%%SITE_PERL%%/MouseX/Foreign/Meta/Role/Class.pm +%%SITE_PERL%%/MouseX/Foreign/Meta/Role/Method/Constructor.pm +%%SITE_PERL%%/MouseX/Foreign/Meta/Role/Method/Destructor.pm +%%SITE_PERL%%/%%PERL_ARCH%%/auto/MouseX/Foreign/.packlist +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/MouseX/Foreign +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/MouseX +@dirrm %%SITE_PERL%%/MouseX/Foreign/Meta/Role/Method +@dirrm %%SITE_PERL%%/MouseX/Foreign/Meta/Role +@dirrm %%SITE_PERL%%/MouseX/Foreign/Meta +@dirrm %%SITE_PERL%%/MouseX/Foreign +@dirrmtry %%SITE_PERL%%/MouseX |