summaryrefslogtreecommitdiff
path: root/devel/p5-Return-Value
diff options
context:
space:
mode:
authorAnton Berezin <tobez@FreeBSD.org>2005-12-27 09:35:56 +0000
committerAnton Berezin <tobez@FreeBSD.org>2005-12-27 09:35:56 +0000
commit611f19768d8c6a137ce9400a6504ecb07dfc6871 (patch)
treeb050a0f26d9fdb6e97873948167c9ce84c6c2cf3 /devel/p5-Return-Value
parentNew port: www/template_ (diff)
Add devel/p5-Return-Value 1.30, a Perl module that provides polymorphic
return values.
Notes
Notes: svn path=/head/; revision=152164
Diffstat (limited to 'devel/p5-Return-Value')
-rw-r--r--devel/p5-Return-Value/Makefile28
-rw-r--r--devel/p5-Return-Value/distinfo3
-rw-r--r--devel/p5-Return-Value/pkg-descr9
-rw-r--r--devel/p5-Return-Value/pkg-plist5
4 files changed, 45 insertions, 0 deletions
diff --git a/devel/p5-Return-Value/Makefile b/devel/p5-Return-Value/Makefile
new file mode 100644
index 000000000000..e025a3cf724e
--- /dev/null
+++ b/devel/p5-Return-Value/Makefile
@@ -0,0 +1,28 @@
+# New ports collection makefile for: devel/p5-Return-Value
+# Date created: 27 December 2005
+# Whom: Anton Berezin <tobez@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Return-Value
+PORTVERSION= 1.30
+CATEGORIES= devel perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= ../../authors/id/R/RJ/RJBS
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= tobez@FreeBSD.org
+COMMENT= Return::Value - Polymorphic Return Values
+
+PERL_CONFIGURE= yes
+
+MAN3= Return::Value.3
+
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500600
+IGNORE= requires perl 5.6.0 or later. Install lang/perl5.8 and try again
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/devel/p5-Return-Value/distinfo b/devel/p5-Return-Value/distinfo
new file mode 100644
index 000000000000..8dd08715d6f8
--- /dev/null
+++ b/devel/p5-Return-Value/distinfo
@@ -0,0 +1,3 @@
+MD5 (Return-Value-1.30.tar.gz) = 1c525118656c925b7822315ad96305bd
+SHA256 (Return-Value-1.30.tar.gz) = 0e2d643ef1974838ab026889131dd58973329046486e9066d69ff9d809978e50
+SIZE (Return-Value-1.30.tar.gz) = 6576
diff --git a/devel/p5-Return-Value/pkg-descr b/devel/p5-Return-Value/pkg-descr
new file mode 100644
index 000000000000..1fd9851f8f9c
--- /dev/null
+++ b/devel/p5-Return-Value/pkg-descr
@@ -0,0 +1,9 @@
+Polymorphic return values are really useful. Often, we just want to
+know if something worked or not. Other times, we'd like to know what
+the error text was. Still others, we may want to know what the error
+code was, and what the error properties were. We don't want to handle
+objects or data structures for every single return value, but we do want
+to check error conditions in our code because that's what good
+programmers do.
+
+WWW: http://search.cpan.org/dist/Return-Value/
diff --git a/devel/p5-Return-Value/pkg-plist b/devel/p5-Return-Value/pkg-plist
new file mode 100644
index 000000000000..b375d97b57d6
--- /dev/null
+++ b/devel/p5-Return-Value/pkg-plist
@@ -0,0 +1,5 @@
+%%SITE_PERL%%/Return/Value.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Return/Value/.packlist
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Return/Value 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Return 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/Return 2>/dev/null || true