mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 09:49:18 -04:00
Add p5-Filesys-DiskSpace 0.05, the perl equivalent of statfs(2).
PR: 25365 Submitted by: Anton Berezin <tobez@tobez.org>
This commit is contained in:
parent
ec355984be
commit
b28fc0bc09
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=38871
6 changed files with 40 additions and 0 deletions
|
@ -72,6 +72,7 @@
|
||||||
SUBDIR += nut
|
SUBDIR += nut
|
||||||
SUBDIR += nwclient
|
SUBDIR += nwclient
|
||||||
SUBDIR += obliterate
|
SUBDIR += obliterate
|
||||||
|
SUBDIR += p5-Filesys-DiskSpace
|
||||||
SUBDIR += p5-Quota
|
SUBDIR += p5-Quota
|
||||||
SUBDIR += p5-Schedule-At
|
SUBDIR += p5-Schedule-At
|
||||||
SUBDIR += p5-Schedule-Cron
|
SUBDIR += p5-Schedule-Cron
|
||||||
|
|
23
sysutils/p5-Filesys-DiskSpace/Makefile
Normal file
23
sysutils/p5-Filesys-DiskSpace/Makefile
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
# New ports collection makefile for: sysutils/p5-Filesys-DiskSpace
|
||||||
|
# Date created: 26 February 2001
|
||||||
|
# Whom: Anton Berezin <tobez@tobez.org>
|
||||||
|
#
|
||||||
|
# $FreeBSD$
|
||||||
|
#
|
||||||
|
|
||||||
|
PORTNAME= Filesys-DiskSpace
|
||||||
|
PORTVERSION= 0.05
|
||||||
|
CATEGORIES= sysutils perl5
|
||||||
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
|
||||||
|
MASTER_SITE_SUBDIR= Filesys
|
||||||
|
PKGNAMEPREFIX= p5-
|
||||||
|
|
||||||
|
MAINTAINER= tobez@tobez.org
|
||||||
|
|
||||||
|
USE_PERL5= yes
|
||||||
|
PERL_CONFIGURE= yes
|
||||||
|
|
||||||
|
MAN3= Filesys::DiskSpace.3
|
||||||
|
MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
|
||||||
|
|
||||||
|
.include <bsd.port.mk>
|
1
sysutils/p5-Filesys-DiskSpace/distinfo
Normal file
1
sysutils/p5-Filesys-DiskSpace/distinfo
Normal file
|
@ -0,0 +1 @@
|
||||||
|
MD5 (Filesys-DiskSpace-0.05.tar.gz) = b95651483e0234db33561a53708e007d
|
1
sysutils/p5-Filesys-DiskSpace/pkg-comment
Normal file
1
sysutils/p5-Filesys-DiskSpace/pkg-comment
Normal file
|
@ -0,0 +1 @@
|
||||||
|
Perl equivalent of statfs(2)
|
9
sysutils/p5-Filesys-DiskSpace/pkg-descr
Normal file
9
sysutils/p5-Filesys-DiskSpace/pkg-descr
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
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 C<syscall(SYS_statfs)> and C<syscall(SYS_statvfs)> in several
|
||||||
|
ways. If all fails, it C<croak>s.
|
||||||
|
|
||||||
|
-Anton
|
||||||
|
<tobez@tobez.org>
|
5
sysutils/p5-Filesys-DiskSpace/pkg-plist
Normal file
5
sysutils/p5-Filesys-DiskSpace/pkg-plist
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Filesys/DiskSpace/.packlist
|
||||||
|
lib/perl5/site_perl/%%PERL_VER%%/Filesys/DiskSpace.pm
|
||||||
|
@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Filesys/DiskSpace
|
||||||
|
@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Filesys
|
||||||
|
@dirrm lib/perl5/site_perl/%%PERL_VER%%/Filesys
|
Loading…
Add table
Reference in a new issue