From 3d33a486522f3176bfd4d56957cfa0338bc2076c Mon Sep 17 00:00:00 2001 From: sno Date: Sun, 1 Mar 2009 23:25:15 +0000 Subject: Adding perl module File::pushd ad dependency for the CPAN::Reporter. File::pushd does a temporary chdir that is easily and automatically reverted, similar to pushd in some Unix command shells. It works by creating an object that caches the original working directory. When the object is destroyed, the destructor calls chdir to revert to the original working directory. By storing the object in a lexical variable with a limited scope, this happens automatically at the end of the scope. --- devel/p5-File-pushd/Makefile | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 devel/p5-File-pushd/Makefile (limited to 'devel/p5-File-pushd/Makefile') diff --git a/devel/p5-File-pushd/Makefile b/devel/p5-File-pushd/Makefile new file mode 100644 index 00000000000..de803dd944a --- /dev/null +++ b/devel/p5-File-pushd/Makefile @@ -0,0 +1,20 @@ +# $NetBSD: Makefile,v 1.1 2009/03/01 23:25:15 sno Exp $ +# + +DISTNAME= File-pushd-1.00 +PKGNAME= p5-${DISTNAME} +CATEGORIES= devel perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=File/} + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= http://search.cpan.org/dist/File-pushd/ +COMMENT= Perl module to change directory temporarily for a limited scope + +USE_LANGUAGES= # empty + +PERL5_PACKLIST= auto/File/pushd/.packlist + +PKG_DESTDIR_SUPPORT= user-destdir + +.include "../../lang/perl5/module.mk" +.include "../../mk/bsd.pkg.mk" -- cgit v1.2.3