95c4e3cff7
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. Specifically, this module supports two different types of guards: guard objects, which execute a given code block when destroyed, and scoped guards, which are tied to the scope exit.
20 lines
559 B
Makefile
20 lines
559 B
Makefile
# $NetBSD: Makefile,v 1.1.1.1 2009/08/08 20:52:22 sno Exp $
|
|
|
|
DISTNAME= Guard-1.021
|
|
PKGNAME= p5-${DISTNAME}
|
|
CATEGORIES= devel perl5
|
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=../../authors/id/M/ML/MLEHMANN/}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://search.cpan.org/dist/Guard/
|
|
COMMENT= Perl5 module to safe cleanup blocks
|
|
LICENSE= ${PERL5_LICENSE}
|
|
|
|
PKG_INSTALLATION_TYPES= overwrite pkgviews
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
USE_LANGUAGES= c
|
|
PERL5_PACKLIST= auto/Guard/.packlist
|
|
|
|
.include "../../lang/perl5/module.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|