# $Id: Portfile 82547 2011-08-15 16:46:16Z jmr@macports.org $

PortSystem          1.0
PortGroup           perl5 1.0

perl5.setup         Filesys-DiskSpace 0.05
revision            2
maintainers         email.arc.nasa.gov:sal
description         Perl df
long_description    This routine displays information on a file system such \
                    as its type, the amount of disk space occupied, the \
                    total disk space and the number of inodes. It tries \
                    syscall(SYS_statfs) and syscall(SYS_statvfs) in several \
                    ways. If all fails, it croaks.
platforms           darwin
checksums           md5 b95651483e0234db33561a53708e007d

supported_archs noarch

if {${perl5.major} != ""} {
patchfiles	    patch-lib-Filesys-Diskspace.pm

post-install {
	ui_msg "\n
To use Filesys::Diskspace some .ph Perl header files are required.  They
may be generated using .h C header files with the following commands:

	cd /usr/include
	sudo h2ph sys/*
\n"
}
}
