Add devel/p5-Return-Value 1.30, a Perl module that provides polymorphic
return values.
This commit is contained in:
parent
4392416326
commit
611f19768d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=152164
5 changed files with 46 additions and 0 deletions
|
@ -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
|
||||
|
|
28
devel/p5-Return-Value/Makefile
Normal file
28
devel/p5-Return-Value/Makefile
Normal file
|
@ -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>
|
3
devel/p5-Return-Value/distinfo
Normal file
3
devel/p5-Return-Value/distinfo
Normal file
|
@ -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
|
9
devel/p5-Return-Value/pkg-descr
Normal file
9
devel/p5-Return-Value/pkg-descr
Normal file
|
@ -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/
|
5
devel/p5-Return-Value/pkg-plist
Normal file
5
devel/p5-Return-Value/pkg-plist
Normal file
|
@ -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
|
Loading…
Reference in a new issue