# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 # $Id$ PortSystem 1.0 PortGroup perl5 1.0 perl5.branches 5.24 perl5.setup File-pushd 1.014 license Apache-2 maintainers nomaintainer description change directory temporarily for a limited scope long_description 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. checksums rmd160 200a8dd5aa0e29ab307937f7a3f5424bef72da6a \ sha256 b5ab37ffe3acbec53efb7c77b4423a2c79afa30a48298e751b9ebee3fdc6340b platforms darwin supported_archs noarch if {${perl5.major} != ""} { depends_lib-append \ port:p${perl5.major}-file-path \ port:p${perl5.major}-file-temp \ port:p${perl5.major}-pathtools \ port:p${perl5.major}-sub-exporter }