# $Id: Portfile 67067 2010-04-28 10:52:35Z ryandesign@macports.org $

PortSystem          1.0
PortGroup           perl5 1.0
perl5.setup         Filesys-DiskSpace 0.05
revision            0
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

if {[info exists supported_archs]} {
    supported_archs noarch
} else {
    universal_variant no
}

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"
}

