summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorChin-San Huang <chinsan@FreeBSD.org>2007-07-28 12:27:22 +0000
committerChin-San Huang <chinsan@FreeBSD.org>2007-07-28 12:27:22 +0000
commit7a58a475e7bd926d065dab0f108b18a67af0906b (patch)
treee1e5328efdfbed1745034f9988285cb78c894070 /devel
parent- Update to 1.2.0 (diff)
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)
Notes
Notes: svn path=/head/; revision=196461
Diffstat (limited to 'devel')
-rw-r--r--devel/Makefile1
-rw-r--r--devel/p5-Perl6-Export-Attrs/Makefile26
-rw-r--r--devel/p5-Perl6-Export-Attrs/distinfo3
-rw-r--r--devel/p5-Perl6-Export-Attrs/pkg-descr21
-rw-r--r--devel/p5-Perl6-Export-Attrs/pkg-plist7
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