1 | # $Id$ |
---|
2 | PortSystem 1.0 |
---|
3 | PortGroup perl5 1.0 |
---|
4 | |
---|
5 | perl5.setup File-pushd 1.00 |
---|
6 | maintainers openmantainer |
---|
7 | description change directory temporarily for a limited scope |
---|
8 | |
---|
9 | long_description File::pushd does a temporary chdir that is easily and \ |
---|
10 | automatically reverted, similar to pushd in some Unix \ |
---|
11 | command shells. It works by creating an object that caches \ |
---|
12 | the original working directory. When the object is destroyed, \ |
---|
13 | the destructor calls chdir to revert to the original working \ |
---|
14 | directory. By storing the object in a lexical variable with a \ |
---|
15 | limited scope, this happens automatically at the end of the scope. |
---|
16 | |
---|
17 | platforms darwin |
---|
18 | |
---|
19 | checksums md5 c0d63d05db01a6da3aebd7cd6f93e520 \ |
---|
20 | sha1 1c78a35d0876c64ceeadeb305ef1813a27c6bc14 \ |
---|
21 | rmd160 b0c608ae730cd8a09678612cf9b2a7efaf8259ac |
---|
22 | |
---|
23 | supported_archs noarch |
---|
24 | |
---|
25 | depends_lib-append port:p5-sub-exporter \ |
---|
26 | port:p5-pathtools \ |
---|
27 | port:p5-file-path \ |
---|
28 | port:p5-file-temp \ |
---|
29 | port:p5-file-spec |
---|