pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/p5-File-pushd Adding perl module File::pushd ad ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/5be1f1401b00
branches: trunk
changeset: 555422:5be1f1401b00
user: sno <sno%pkgsrc.org@localhost>
date: Sun Mar 01 23:25:15 2009 +0000
description:
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.
diffstat:
devel/p5-File-pushd/DESCR | 6 ++++++
devel/p5-File-pushd/Makefile | 20 ++++++++++++++++++++
devel/p5-File-pushd/distinfo | 5 +++++
3 files changed, 31 insertions(+), 0 deletions(-)
diffs (43 lines):
diff -r 702d6c00c47f -r 5be1f1401b00 devel/p5-File-pushd/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-File-pushd/DESCR Sun Mar 01 23:25:15 2009 +0000
@@ -0,0 +1,6 @@
+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.
diff -r 702d6c00c47f -r 5be1f1401b00 devel/p5-File-pushd/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-File-pushd/Makefile Sun Mar 01 23:25:15 2009 +0000
@@ -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@localhost
+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"
diff -r 702d6c00c47f -r 5be1f1401b00 devel/p5-File-pushd/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-File-pushd/distinfo Sun Mar 01 23:25:15 2009 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2009/03/01 23:25:15 sno Exp $
+
+SHA1 (File-pushd-1.00.tar.gz) = 1c78a35d0876c64ceeadeb305ef1813a27c6bc14
+RMD160 (File-pushd-1.00.tar.gz) = b0c608ae730cd8a09678612cf9b2a7efaf8259ac
+Size (File-pushd-1.00.tar.gz) = 11246 bytes
Home |
Main Index |
Thread Index |
Old Index