freebsd-ports/devel/p5-Scope-Guard/Makefile
Martin Wilke e9378167b7 This module provides a convenient way to perform cleanup or other forms of
resource management at the end of a scope. It is particularly useful when
dealing with exceptions: the Scope::Guard constructor takes a reference to a
subroutine that is guaranteed to be called even if the thread of execution is
aborted prematurely. This effectively allows lexically-scoped "promises" to be
made that are automatically honoured by perl's garbage collector.

For more info, see: http://www.cuj.com/documents/s=8000/cujcexp1812alexandr/

WWW: http://search.cpan.org/dist/Scope-Guard/

PR:		ports/107321
Submitted by:	Craig Manley <cmanley@xs4all.nl>
2006-12-30 22:09:16 +00:00

29 lines
603 B
Makefile

# New ports collection makefile for: Scope-Guard
# Date created: 29 December 2006
# Whom: Craig Manley
#
# $FreeBSD$
#
PORTNAME= Scope-Guard
PORTVERSION= 0.02
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
#MASTER_SITE_SUBDIR= Scope
MASTER_SITE_SUBDIR= ../by-authors/id/C/CH/CHOCOLATE
PKGNAMEPREFIX= p5-
MAINTAINER= cmanley@xs4all.nl
COMMENT= Lexically scoped resource management
PERL_CONFIGURE= yes
MAN3= Scope::Guard.3
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 500600
IGNORE= requires perl 5.6.0 or later
.endif
.include <bsd.port.post.mk>