diff options
author | abs <abs@pkgsrc.org> | 2006-06-07 11:56:15 +0000 |
---|---|---|
committer | abs <abs@pkgsrc.org> | 2006-06-07 11:56:15 +0000 |
commit | d73a4896457a0441a4760002a396c6226b2d2d40 (patch) | |
tree | 9e9c2b5ecc348e650d1c66effc1d1ddd4ffded64 /devel/p5-Perl6-Export | |
parent | b33579e478570c3fb1ebac2bf6a24d3b31f85664 (diff) | |
download | pkgsrc-d73a4896457a0441a4760002a396c6226b2d2d40.tar.gz |
Added devel/p5-Perl6-Export-0.07
This module prototypes the Perl 6 'exported' and 'exportable' traits
in Perl 5.
Instead of messing around with @EXPORT arrays, you just declare which subs
are to be exported (or are exportable on request) as part of those subs.
For example:
sub foo is exported { # by default
...
}
sub bar is exportable { # on request
...
}
Diffstat (limited to 'devel/p5-Perl6-Export')
-rw-r--r-- | devel/p5-Perl6-Export/DESCR | 15 | ||||
-rw-r--r-- | devel/p5-Perl6-Export/Makefile | 19 | ||||
-rw-r--r-- | devel/p5-Perl6-Export/PLIST | 1 | ||||
-rw-r--r-- | devel/p5-Perl6-Export/distinfo | 5 |
4 files changed, 40 insertions, 0 deletions
diff --git a/devel/p5-Perl6-Export/DESCR b/devel/p5-Perl6-Export/DESCR new file mode 100644 index 00000000000..5c011ca68c0 --- /dev/null +++ b/devel/p5-Perl6-Export/DESCR @@ -0,0 +1,15 @@ +This module prototypes the Perl 6 'exported' and 'exportable' traits +in Perl 5. + +Instead of messing around with @EXPORT arrays, you just declare which subs +are to be exported (or are exportable on request) as part of those subs. + +For example: + + sub foo is exported { # by default + ... + } + + sub bar is exportable { # on request + ... + } diff --git a/devel/p5-Perl6-Export/Makefile b/devel/p5-Perl6-Export/Makefile new file mode 100644 index 00000000000..fbf2ccfcf41 --- /dev/null +++ b/devel/p5-Perl6-Export/Makefile @@ -0,0 +1,19 @@ +# $NetBSD: Makefile,v 1.1.1.1 2006/06/07 11:56:15 abs Exp $ +# + +DISTNAME= Perl6-Export-0.07 +PKGNAME= p5-${DISTNAME} +CATEGORIES= devel perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=../../authors/id/D/DC/DCONWAY/} + +MAINTAINER= abs@absd.org +HOMEPAGE= http://search.cpan.org/dist/Perl6-Export/ +COMMENT= Implements the Perl 6 'is export(...)' trait + +PKG_INSTALLATION_TYPES= overwrite pkgviews + +USE_LANGUAGES= # empty +PERL5_PACKLIST= auto/Perl6/Export/.packlist + +.include "../../lang/perl5/module.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/devel/p5-Perl6-Export/PLIST b/devel/p5-Perl6-Export/PLIST new file mode 100644 index 00000000000..0be36ad605b --- /dev/null +++ b/devel/p5-Perl6-Export/PLIST @@ -0,0 +1 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2006/06/07 11:56:15 abs Exp $ diff --git a/devel/p5-Perl6-Export/distinfo b/devel/p5-Perl6-Export/distinfo new file mode 100644 index 00000000000..3cae28a9bfe --- /dev/null +++ b/devel/p5-Perl6-Export/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2006/06/07 11:56:15 abs Exp $ + +SHA1 (Perl6-Export-0.07.tar.gz) = 23c4516253fa4390ea4a1be49563b29c7180ace4 +RMD160 (Perl6-Export-0.07.tar.gz) = 2293703d8a3d9306b98ac8fbc08cbf84deb3308e +Size (Perl6-Export-0.07.tar.gz) = 3544 bytes |