source: trunk/dports/perl/p5-filesys-diskspace/Portfile

Last change on this file was 154393, checked in by mojca@…, 9 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.2 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         Filesys-DiskSpace 0.05
9revision            3
10license             {Artistic-1 GPL}
11maintainers         nomaintainer
12
13description         Perl df
14long_description    This routine displays information on a file system such \
15                    as its type, the amount of disk space occupied, the \
16                    total disk space and the number of inodes. It tries \
17                    syscall(SYS_statfs) and syscall(SYS_statvfs) in several \
18                    ways. If all fails, it croaks.
19
20checksums           rmd160  3af50a43330e451e6333a896ec19135c061cc9be \
21                    sha256  9bc3e3384840df7d4ebdfd563f59b7a7f2bb4d47990ceab699bc16a4abb374c0
22
23platforms           darwin
24supported_archs     noarch
25
26if {${perl5.major} != ""} {
27    patchfiles      patch-lib-Filesys-Diskspace.pm
28
29    post-install {
30        ui_msg "\n
31To use Filesys::Diskspace some .ph Perl header files are required.  They
32may be generated using .h C header files with the following commands:
33
34    cd /usr/include
35    sudo h2ph sys/*
36\n"
37    }
38}
Note: See TracBrowser for help on using the repository browser.