aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorclsung <clsung@FreeBSD.org>2005-01-25 14:45:43 +0800
committerclsung <clsung@FreeBSD.org>2005-01-25 14:45:43 +0800
commit71b2d7b945b762cd8e9822fdb6857bec01b1a038 (patch)
tree6957635bf9438536af59101bf684bb504f4d720e /devel
parent28d7cce01497de766901b5c6f9a029804bae2c7d (diff)
downloadfreebsd-ports-gnome-71b2d7b945b762cd8e9822fdb6857bec01b1a038.tar.gz
freebsd-ports-gnome-71b2d7b945b762cd8e9822fdb6857bec01b1a038.tar.zst
freebsd-ports-gnome-71b2d7b945b762cd8e9822fdb6857bec01b1a038.zip
- This module implements the Perl 6 'form' built-in.
PR: ports/73486 Submitted by: Yuan-Chung Hsiao <ychsiao AT ychsiao dot org>
Diffstat (limited to 'devel')
-rw-r--r--devel/Makefile1
-rw-r--r--devel/p5-Perl6-Form/Makefile32
-rw-r--r--devel/p5-Perl6-Form/distinfo2
-rw-r--r--devel/p5-Perl6-Form/pkg-descr13
-rw-r--r--devel/p5-Perl6-Form/pkg-plist5
5 files changed, 53 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 8a4cdfc1307c..81ec461c2d07 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -968,6 +968,7 @@
SUBDIR += p5-Penguin
SUBDIR += p5-Penguin-Easy
SUBDIR += p5-Perl6-Export
+ SUBDIR += p5-Perl6-Form
SUBDIR += p5-PerlIO-eol
SUBDIR += p5-PerlIO-via-dynamic
SUBDIR += p5-PerlIO-via-symlink
diff --git a/devel/p5-Perl6-Form/Makefile b/devel/p5-Perl6-Form/Makefile
new file mode 100644
index 000000000000..f26c9055be21
--- /dev/null
+++ b/devel/p5-Perl6-Form/Makefile
@@ -0,0 +1,32 @@
+# New ports collection makefile for: devel/p5-Perl6-Form
+# Date created: 21 Oct 2004
+# Whom: Yuan-Chung Hsiao <ychsiao@ychsiao.idv.tw>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Perl6-Form
+PORTVERSION= 0.04
+CATEGORIES= devel perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= ../../authors/id/M/MA/MARCEL
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= ychsiao@ychsiao.idv.tw
+COMMENT= Implements the Perl 6 'form' built-in
+
+BUILD_DEPENDS= ${SITE_PERL}/Perl6/Export.pm:${PORTSDIR}/devel/p5-Perl6-Export \
+ ${SITE_PERL}/${PERL_ARCH}/Scalar/Util.pm:${PORTSDIR}/lang/p5-Scalar-List-Utils
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+PERL_CONFIGURE= yes
+
+MAN3= Perl6::Form.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-Form/distinfo b/devel/p5-Perl6-Form/distinfo
new file mode 100644
index 000000000000..a8fe6974a79f
--- /dev/null
+++ b/devel/p5-Perl6-Form/distinfo
@@ -0,0 +1,2 @@
+MD5 (Perl6-Form-0.04.tar.gz) = e3109dc701d99ed81f4d39a2605ac86a
+SIZE (Perl6-Form-0.04.tar.gz) = 70552
diff --git a/devel/p5-Perl6-Form/pkg-descr b/devel/p5-Perl6-Form/pkg-descr
new file mode 100644
index 000000000000..01db92232258
--- /dev/null
+++ b/devel/p5-Perl6-Form/pkg-descr
@@ -0,0 +1,13 @@
+Perl6::Form - Implements the Perl 6 'form' built-in
+
+This module implements virtually all of the functionality of the
+Perl 6 Form.pm module. The only differences are:
+
+ Option pairs must be passed in a hash reference;
+ Array data sources must be passed as array references;
+ Options specified on the use Perl6::Form line are not (yet)
+lexically scoped;
+ User-defined line-breaking subroutines are passed their data
+source as a reference to a scalar;
+
+WWW: http://search.cpan.org/dist/Perl6-Form/
diff --git a/devel/p5-Perl6-Form/pkg-plist b/devel/p5-Perl6-Form/pkg-plist
new file mode 100644
index 000000000000..e712a067326c
--- /dev/null
+++ b/devel/p5-Perl6-Form/pkg-plist
@@ -0,0 +1,5 @@
+%%SITE_PERL%%/Perl6/Form.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Perl6/Form/.packlist
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Perl6/Form
+@unexec rmdir %D/%%SITE_PERL%%/Perl6 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Perl6 2>/dev/null || true