Add devel/p5-Guard 1.02, a Perl module that provides safe cleanup

blocks.
This commit is contained in:
Anton Berezin 2009-04-28 10:12:21 +00:00
parent c14d54870a
commit bb04adbc12
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=232894
5 changed files with 36 additions and 0 deletions

View file

@ -1419,6 +1419,7 @@
SUBDIR += p5-Gnome2-GConf
SUBDIR += p5-Google-Checkout
SUBDIR += p5-Gtk2-Spell
SUBDIR += p5-Guard
SUBDIR += p5-Hash-AsObject
SUBDIR += p5-Hash-Case
SUBDIR += p5-Hash-Flatten

22
devel/p5-Guard/Makefile Normal file
View file

@ -0,0 +1,22 @@
# New ports collection makefile for: devel/p5-Guard
# Date created: 28 April 2009
# Whom: Anton Berezin <tobez@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= Guard
PORTVERSION= 1.02
CATEGORIES= devel perl5
MASTER_SITES= CPAN
MASTER_SITE_SUBDIR= ../../authors/id/M/ML/MLEHMANN
PKGNAMEPREFIX= p5-
MAINTAINER= tobez@FreeBSD.org
COMMENT= Safe cleanup blocks
PERL_CONFIGURE= 5.8.0+
MAN3= Guard.3
.include <bsd.port.mk>

3
devel/p5-Guard/distinfo Normal file
View file

@ -0,0 +1,3 @@
MD5 (Guard-1.02.tar.gz) = c5ffd0db77ead5b8236dd7aad068bdf1
SHA256 (Guard-1.02.tar.gz) = 5b33625c014ced34658dddea15b216aab52bc7b6fb7ef52ce649865230740322
SIZE (Guard-1.02.tar.gz) = 6418

5
devel/p5-Guard/pkg-descr Normal file
View file

@ -0,0 +1,5 @@
This module implements so-called "guards". A guard is something (usually
an object) that "guards" a resource, ensuring that it is cleaned up when
expected.
WWW: http://search.cpan.org/dist/Guard/

5
devel/p5-Guard/pkg-plist Normal file
View file

@ -0,0 +1,5 @@
%%SITE_PERL%%/%%PERL_ARCH%%/Guard.pm
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Guard/.packlist
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Guard/Guard.bs
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Guard/Guard.so
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Guard