Adding port sysutils/p5-Filesys-Statvfs, Perl extension for statvfs() and

fstatvfs().

PR:		ports/98249
Submitted by:	aaron
Approved by:	maintainer timeout, tobez (implicit)
This commit is contained in:
Aaron Dalton 2006-06-19 07:50:50 +00:00
parent eb064419a8
commit dff1e277a2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=165750
5 changed files with 55 additions and 0 deletions

View file

@ -377,6 +377,7 @@
SUBDIR += p5-Filesys-DiskFree
SUBDIR += p5-Filesys-DiskSpace
SUBDIR += p5-Filesys-DiskUsage
SUBDIR += p5-Filesys-Statvfs
SUBDIR += p5-FreeBSD-Portindex
SUBDIR += p5-LJ-Cache
SUBDIR += p5-LJ-TextMessage

View file

@ -0,0 +1,28 @@
# New ports collection makefile for: p5-Filesys-Statvfs
# Date created: 31 May 2006
# Whom: Aaron Dalton <aaron@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= Filesys-Statvfs
PORTVERSION= 0.80
CATEGORIES= sysutils perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Filesys
PKGNAMEPREFIX= p5-
MAINTAINER= pirzyk@freebsd.org
COMMENT= Perl extension for statvfs() and fstatvfs()
PERL_CONFIGURE= yes
MAN3= Filesys::Statvfs.3
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 500000
IGNORE= requires statvfs() which is not available before FreeBSD-5*
.endif
.include <bsd.port.post.mk>

View file

@ -0,0 +1,3 @@
MD5 (Filesys-Statvfs-0.80.tar.gz) = c34b93d70cd654fd9ef322b5dab977b4
SHA256 (Filesys-Statvfs-0.80.tar.gz) = d8e001cf36e4bdc1d068cfc0dbcb844ef91d29e04d6d91a01ef0666beb879c97
SIZE (Filesys-Statvfs-0.80.tar.gz) = 3730

View file

@ -0,0 +1,16 @@
Interface for statvfs() and fstatvfs()
Unless you need access to the bsize, flag, and namemax values, you should
probably look at using Filesys::DfPortable or Filesys::Df instead.
The statvfs() and fstatvfs() functions will return a list of values, or
will return undef and set $! if there was an error.
The values returned are described in the statvfs header or the statvfs()
man page.
The module assumes that if you have statvfs(), fstatvfs() will also be
available.
WWW: http://search.cpan.org/dist/Filesys-Statvfs/
Author: Ian Guthrie <IGuthrie@aol.com>

View file

@ -0,0 +1,7 @@
%%SITE_PERL%%/%%PERL_ARCH%%/Filesys/Statvfs.pm
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Filesys/Statvfs/.packlist
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Filesys/Statvfs/Statvfs.bs
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Filesys/Statvfs/Statvfs.so
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Filesys/Statvfs
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Filesys
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/Filesys