aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authortobez <tobez@FreeBSD.org>2005-12-27 17:35:56 +0800
committertobez <tobez@FreeBSD.org>2005-12-27 17:35:56 +0800
commit8e478f9b89be40fde13b7270bbb0e11c086d6eba (patch)
tree0038eb298650ba904f010a840ed64e7549d6b489 /devel
parenta98593670409094ee354b5097d9f01a70284aa28 (diff)
downloadfreebsd-ports-gnome-8e478f9b89be40fde13b7270bbb0e11c086d6eba.tar.gz
freebsd-ports-gnome-8e478f9b89be40fde13b7270bbb0e11c086d6eba.tar.zst
freebsd-ports-gnome-8e478f9b89be40fde13b7270bbb0e11c086d6eba.zip
Add devel/p5-Return-Value 1.30, a Perl module that provides polymorphic
return values.
Diffstat (limited to 'devel')
-rw-r--r--devel/Makefile1
-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
5 files changed, 46 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index e4ffb72c8246..32c74a240a30 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -1105,6 +1105,7 @@
SUBDIR += p5-Religion
SUBDIR += p5-ResourcePool
SUBDIR += p5-Resources
+ SUBDIR += p5-Return-Value
SUBDIR += p5-SDL
SUBDIR += p5-SPOPS
SUBDIR += p5-SVN-Mirror
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