diff options
author | chinsan <chinsan@FreeBSD.org> | 2007-07-28 20:27:22 +0800 |
---|---|---|
committer | chinsan <chinsan@FreeBSD.org> | 2007-07-28 20:27:22 +0800 |
commit | 7448aec218630029a6f63dba3e8d2b5c0bee9c20 (patch) | |
tree | 78d7d45079f66fe685ac7396cc6ae53880802b16 | |
parent | 005b1dcfd3c2c8577c1c4b1bee34a6e06f7e74c5 (diff) | |
download | freebsd-ports-gnome-7448aec218630029a6f63dba3e8d2b5c0bee9c20.tar.gz freebsd-ports-gnome-7448aec218630029a6f63dba3e8d2b5c0bee9c20.tar.zst freebsd-ports-gnome-7448aec218630029a6f63dba3e8d2b5c0bee9c20.zip |
Add p5-Perl6-Export-Attrs, Implements a Perl 5 native version of what the
Perl 6 symbol export mechanism will look like.
Approved by: rafan (mentor, implicit)
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/p5-Perl6-Export-Attrs/Makefile | 26 | ||||
-rw-r--r-- | devel/p5-Perl6-Export-Attrs/distinfo | 3 | ||||
-rw-r--r-- | devel/p5-Perl6-Export-Attrs/pkg-descr | 21 | ||||
-rw-r--r-- | devel/p5-Perl6-Export-Attrs/pkg-plist | 7 |
5 files changed, 58 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index a626ec887192..a42d6eb48fe1 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -1410,6 +1410,7 @@ SUBDIR += p5-Penguin SUBDIR += p5-Penguin-Easy SUBDIR += p5-Perl6-Export + SUBDIR += p5-Perl6-Export-Attrs SUBDIR += p5-Perl6-Form SUBDIR += p5-Perl6-Junction SUBDIR += p5-PerlIO-eol diff --git a/devel/p5-Perl6-Export-Attrs/Makefile b/devel/p5-Perl6-Export-Attrs/Makefile new file mode 100644 index 000000000000..336711d1294c --- /dev/null +++ b/devel/p5-Perl6-Export-Attrs/Makefile @@ -0,0 +1,26 @@ +# New ports collection makefile for: devel/p5-Perl6-Export-Attrs +# Date created: 2007/07/28 +# Whom: chinsan +# +# $FreeBSD$ +# + +PORTNAME= Perl6-Export-Attrs +PORTVERSION= 0.0.3 +CATEGORIES= devel perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= Perl6 +PKGNAMEPREFIX= p5- + +MAINTAINER= chinsan@FreeBSD.org +COMMENT= The Perl 6 'is export(...)' trait as a Perl 5 attribute + +BUILD_DEPENDS= p5-Attribute-Handlers>=0:${PORTSDIR}/devel/p5-Attribute-Handlers \ + p5-version>=0:${PORTSDIR}/devel/p5-version +RUN_DEPENDS= ${BUILD_DEPENDS} + +PERL_CONFIGURE= yes + +MAN3= Perl6::Export::Attrs.3 + +.include <bsd.port.mk> diff --git a/devel/p5-Perl6-Export-Attrs/distinfo b/devel/p5-Perl6-Export-Attrs/distinfo new file mode 100644 index 000000000000..844e70590ac6 --- /dev/null +++ b/devel/p5-Perl6-Export-Attrs/distinfo @@ -0,0 +1,3 @@ +MD5 (Perl6-Export-Attrs-0.0.3.tar.gz) = c8af78c4fec3351178d1de59cc9c8869 +SHA256 (Perl6-Export-Attrs-0.0.3.tar.gz) = 031c9b2c467423a513665ff0ab2d4c6e3412320bc5877c7ab734de869101b361 +SIZE (Perl6-Export-Attrs-0.0.3.tar.gz) = 5132 diff --git a/devel/p5-Perl6-Export-Attrs/pkg-descr b/devel/p5-Perl6-Export-Attrs/pkg-descr new file mode 100644 index 000000000000..6085c33bf1c3 --- /dev/null +++ b/devel/p5-Perl6-Export-Attrs/pkg-descr @@ -0,0 +1,21 @@ +Implements a Perl 5 native version of what the Perl 6 symbol export mechanism +will look like. + +It's very straightforward: + + * If you want a subroutine to be capable of being exported (when + explicitly requested in the use arguments), you mark it with the + :Export attribute. + * If you want a subroutine to be automatically exported when the module + is used (without specific overriding arguments), you mark it with the + :Export(:DEFAULT) attribute. + * If you want a subroutine to be automatically exported when the module + is used (even if the user specifies overriding arguments), you mark it + with the :Export(:MANDATORY) attribute. + * If the subroutine should also be exported when particular export + groups are requested, you add the names of those export groups to the + attribute's argument list. + +That's it. + +WWW: http://search.cpan.org/dist/Perl6-Export-Attrs/ diff --git a/devel/p5-Perl6-Export-Attrs/pkg-plist b/devel/p5-Perl6-Export-Attrs/pkg-plist new file mode 100644 index 000000000000..19c8c599d3fe --- /dev/null +++ b/devel/p5-Perl6-Export-Attrs/pkg-plist @@ -0,0 +1,7 @@ +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Perl6/Export/Attrs/.packlist +%%SITE_PERL%%/Perl6/Export/Attrs.pm +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Perl6/Export/Attrs +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Perl6/Export +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Perl6 +@dirrmtry %%SITE_PERL%%/Perl6/Export +@dirrmtry %%SITE_PERL%%/Perl6 |