aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorclsung <clsung@FreeBSD.org>2004-12-29 09:35:12 +0800
committerclsung <clsung@FreeBSD.org>2004-12-29 09:35:12 +0800
commit8096f61509478000be5d3fc18a1bbe43fb34f333 (patch)
treebe8ea8dd1a180cd20d0ec7cb4d557e4108f556b6
parenta2789b711a626dd29f3ca2bf6805070f910aa7ad (diff)
downloadfreebsd-ports-gnome-8096f61509478000be5d3fc18a1bbe43fb34f333.tar.gz
freebsd-ports-gnome-8096f61509478000be5d3fc18a1bbe43fb34f333.tar.zst
freebsd-ports-gnome-8096f61509478000be5d3fc18a1bbe43fb34f333.zip
- This module prototypes the Perl 6 'exported' and 'exportable' traits
in Perl 5. PR: ports/73485 Submitted by: Yuan-Chung Hsiao <ychsiao AT ychsiao dot idv dot tw>
-rw-r--r--devel/Makefile1
-rw-r--r--devel/p5-Perl6-Export/Makefile31
-rw-r--r--devel/p5-Perl6-Export/distinfo2
-rw-r--r--devel/p5-Perl6-Export/pkg-descr4
-rw-r--r--devel/p5-Perl6-Export/pkg-plist5
5 files changed, 43 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index fef8098a53d6..83d73d232d0b 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -961,6 +961,7 @@
SUBDIR += p5-Path-Class
SUBDIR += p5-Penguin
SUBDIR += p5-Penguin-Easy
+ SUBDIR += p5-Perl6-Export
SUBDIR += p5-PerlIO-eol
SUBDIR += p5-PerlIO-via-dynamic
SUBDIR += p5-PerlIO-via-symlink
diff --git a/devel/p5-Perl6-Export/Makefile b/devel/p5-Perl6-Export/Makefile
new file mode 100644
index 000000000000..d0d97ea9745a
--- /dev/null
+++ b/devel/p5-Perl6-Export/Makefile
@@ -0,0 +1,31 @@
+# New ports collection makefile for: devel/p5-Perl6-Export
+# Date created: 21 Oct 2004
+# Whom: Yuan-Chung Hsiao <ychsiao@ychsiao.idv.tw>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Perl6-Export
+PORTVERSION= 0.07
+CATEGORIES= devel perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= ../../authors/id/D/DC/DCONWAY
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= ychsiao@ychsiao.idv.tw
+COMMENT= Implements the Perl 6 'is export(...)' trait
+
+BUILD_DEPENDS= ${SITE_PERL}/Filter/Simple.pm:${PORTSDIR}/textproc/p5-Filter-Simple
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+PERL_CONFIGURE= yes
+
+MAN3= Perl6::Export.3
+
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500800
+IGNORE= This program only support perl 5.8.0 or above
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/devel/p5-Perl6-Export/distinfo b/devel/p5-Perl6-Export/distinfo
new file mode 100644
index 000000000000..08d17399055b
--- /dev/null
+++ b/devel/p5-Perl6-Export/distinfo
@@ -0,0 +1,2 @@
+MD5 (Perl6-Export-0.07.tar.gz) = cd44b18fd589cee60aca6cfbe58f9c2e
+SIZE (Perl6-Export-0.07.tar.gz) = 3544
diff --git a/devel/p5-Perl6-Export/pkg-descr b/devel/p5-Perl6-Export/pkg-descr
new file mode 100644
index 000000000000..2a047f079866
--- /dev/null
+++ b/devel/p5-Perl6-Export/pkg-descr
@@ -0,0 +1,4 @@
+This module prototypes the Perl 6 'exported' and 'exportable' traits
+in Perl 5.
+
+WWW: http://search.cpan.org/~dconway/Perl6-Export-0.07/
diff --git a/devel/p5-Perl6-Export/pkg-plist b/devel/p5-Perl6-Export/pkg-plist
new file mode 100644
index 000000000000..43fa61a651e9
--- /dev/null
+++ b/devel/p5-Perl6-Export/pkg-plist
@@ -0,0 +1,5 @@
+%%SITE_PERL%%/Perl6/Export.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Perl6/Export/.packlist
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Perl6/Export
+@unexec rmdir %D/%%SITE_PERL%%/Perl6/Export 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Perl6/Export 2>/dev/null || true