source: trunk/dports/perl/p5-file-pushd/Portfile

Last change on this file was 154393, checked in by mojca@…, 13 months ago

p5-*: remove subports for perl5.22 (#52081)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.4 KB
Line 
1# -*- 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
2# $Id: Portfile 154393 2016-10-28 22:10:07Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           perl5 1.0
6
7perl5.branches      5.24
8perl5.setup         File-pushd 1.014
9license             Apache-2
10maintainers         nomaintainer
11
12description         change directory temporarily for a limited scope
13
14long_description    File::pushd does a temporary chdir that is easily and \
15                    automatically reverted, similar to pushd in some Unix \
16                    command shells. It works by creating an object that caches \
17                    the original working directory. When the object is destroyed, \
18                    the destructor calls chdir to revert to the original working \
19                    directory. By storing the object in a lexical variable with a \
20                    limited scope, this happens automatically at the end of the scope.
21
22checksums           rmd160  200a8dd5aa0e29ab307937f7a3f5424bef72da6a \
23                    sha256  b5ab37ffe3acbec53efb7c77b4423a2c79afa30a48298e751b9ebee3fdc6340b
24
25platforms           darwin
26supported_archs     noarch
27
28if {${perl5.major} != ""} {
29    depends_lib-append \
30                    port:p${perl5.major}-file-path \
31                    port:p${perl5.major}-file-temp \
32                    port:p${perl5.major}-pathtools \
33                    port:p${perl5.major}-sub-exporter
34}
Note: See TracBrowser for help on using the repository browser.