aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authortobez <tobez@FreeBSD.org>2003-01-26 10:01:58 +0800
committertobez <tobez@FreeBSD.org>2003-01-26 10:01:58 +0800
commit68c045f08d72d76c3c1b30282320c5c95ff01a38 (patch)
tree4392454472494030a2e78031a3c10c8a38aa81da /devel
parentfc80cc6ef56b817f119659e31cb799fbbe87ba81 (diff)
downloadfreebsd-ports-gnome-68c045f08d72d76c3c1b30282320c5c95ff01a38.tar.gz
freebsd-ports-gnome-68c045f08d72d76c3c1b30282320c5c95ff01a38.tar.zst
freebsd-ports-gnome-68c045f08d72d76c3c1b30282320c5c95ff01a38.zip
Add p5-Class-ReturnValue, a perl class that implements return-value
objects that can be treated as a boolean, array or object, depending on what the user needs.
Diffstat (limited to 'devel')
-rw-r--r--devel/Makefile1
-rw-r--r--devel/p5-Class-ReturnValue/Makefile27
-rw-r--r--devel/p5-Class-ReturnValue/distinfo1
-rw-r--r--devel/p5-Class-ReturnValue/pkg-comment1
-rw-r--r--devel/p5-Class-ReturnValue/pkg-descr7
-rw-r--r--devel/p5-Class-ReturnValue/pkg-plist5
6 files changed, 42 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index a4fbbda11329..184fb42d1ef8 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -447,6 +447,7 @@
SUBDIR += p5-Class-MethodMaker
SUBDIR += p5-Class-ObjectTemplate
SUBDIR += p5-Class-ObjectTemplate-DB
+ SUBDIR += p5-Class-ReturnValue
SUBDIR += p5-Class-Singleton
SUBDIR += p5-Class-Tangram
SUBDIR += p5-Class-Tom
diff --git a/devel/p5-Class-ReturnValue/Makefile b/devel/p5-Class-ReturnValue/Makefile
new file mode 100644
index 000000000000..1447713903ca
--- /dev/null
+++ b/devel/p5-Class-ReturnValue/Makefile
@@ -0,0 +1,27 @@
+# New ports collection makefile for: Class::ReturnValue
+# Date created: 26 Jan 2003
+# Whom: tobez
+#
+# $FreeBSD$
+#
+
+PORTNAME= Class-ReturnValue
+PORTVERSION= 0.40
+CATEGORIES= devel
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Class
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= tobez@FreeBSD.org
+
+BUILD_DEPENDS= ${SITE_PERL}/Devel/StackTrace.pm:${PORTSDIR}/devel/p5-Devel-StackTrace \
+ ${SITE_PERL}/Test/Inline.pm:${PORTSDIR}/devel/p5-Test-Inline
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+SITE_PERL= ${PREFIX}/lib/perl5/site_perl/${PERL_VER}
+PERL_CONFIGURE= yes
+
+MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
+MAN3= Class::ReturnValue.3
+
+.include <bsd.port.mk>
diff --git a/devel/p5-Class-ReturnValue/distinfo b/devel/p5-Class-ReturnValue/distinfo
new file mode 100644
index 000000000000..de45a5c9c833
--- /dev/null
+++ b/devel/p5-Class-ReturnValue/distinfo
@@ -0,0 +1 @@
+MD5 (Class-ReturnValue-0.40.tar.gz) = 861ca8fa929e4650275099a8d3250204
diff --git a/devel/p5-Class-ReturnValue/pkg-comment b/devel/p5-Class-ReturnValue/pkg-comment
new file mode 100644
index 000000000000..d94efe89614a
--- /dev/null
+++ b/devel/p5-Class-ReturnValue/pkg-comment
@@ -0,0 +1 @@
+A return-value object that can be treated as a boolean,array or object
diff --git a/devel/p5-Class-ReturnValue/pkg-descr b/devel/p5-Class-ReturnValue/pkg-descr
new file mode 100644
index 000000000000..5d37452ff34a
--- /dev/null
+++ b/devel/p5-Class-ReturnValue/pkg-descr
@@ -0,0 +1,7 @@
+Class::ReturnValue is a "clever" return value object that can allow
+code calling your routine to expect:
+ a boolean value (did it fail)
+or a list (what are the return values)
+
+WWW: http://search.cpan.org/search?dist=Class-ReturnValue
+Author: Jesse Vincent <jesse@bestpractical.com>
diff --git a/devel/p5-Class-ReturnValue/pkg-plist b/devel/p5-Class-ReturnValue/pkg-plist
new file mode 100644
index 000000000000..0ece6e1729bc
--- /dev/null
+++ b/devel/p5-Class-ReturnValue/pkg-plist
@@ -0,0 +1,5 @@
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Class/ReturnValue/.packlist
+lib/perl5/site_perl/%%PERL_VER%%/Class/ReturnValue.pm
+@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Class/ReturnValue
+@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Class 2>/dev/null || true
+@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Class 2>/dev/null || true