pkgsrc/devel/p5-Scope-Guard/Makefile
abs 7170e63368 Added devel/p5-Scope-Guard version 0.03
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.
2008-07-14 09:26:16 +00:00

18 lines
521 B
Makefile

# $NetBSD: Makefile,v 1.1.1.1 2008/07/14 09:26:16 abs Exp $
DISTNAME= Scope-Guard-0.03
PKGNAME= p5-${DISTNAME}
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=../../authors/id/C/CH/CHOCOLATE/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://search.cpan.org/perldoc?Scope::Guard
COMMENT= Lexically scoped resource management
USE_LANGUAGES= # empty
PERL5_PACKLIST= auto/Scope/Guard/.packlist
PKG_DESTDIR_SUPPORT= user-destdir
.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"