From 611f19768d8c6a137ce9400a6504ecb07dfc6871 Mon Sep 17 00:00:00 2001 From: Anton Berezin Date: Tue, 27 Dec 2005 09:35:56 +0000 Subject: [PATCH] Add devel/p5-Return-Value 1.30, a Perl module that provides polymorphic return values. --- devel/Makefile | 1 + devel/p5-Return-Value/Makefile | 28 ++++++++++++++++++++++++++++ devel/p5-Return-Value/distinfo | 3 +++ devel/p5-Return-Value/pkg-descr | 9 +++++++++ devel/p5-Return-Value/pkg-plist | 5 +++++ 5 files changed, 46 insertions(+) create mode 100644 devel/p5-Return-Value/Makefile create mode 100644 devel/p5-Return-Value/distinfo create mode 100644 devel/p5-Return-Value/pkg-descr create mode 100644 devel/p5-Return-Value/pkg-plist 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 +# +# $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 + +.if ${PERL_LEVEL} < 500600 +IGNORE= requires perl 5.6.0 or later. Install lang/perl5.8 and try again +.endif + +.include 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