diff options
author | Will Andrews <will@FreeBSD.org> | 2001-02-27 23:21:22 +0000 |
---|---|---|
committer | Will Andrews <will@FreeBSD.org> | 2001-02-27 23:21:22 +0000 |
commit | b28fc0bc09cf94597c4d2fd1006796564b8e2b0b (patch) | |
tree | bb485320c4d02aff2c97b16b63bc012f77a3ee7e /sysutils | |
parent | Add patches needed in building a release X11 distribution that matches (diff) |
Add p5-Filesys-DiskSpace 0.05, the perl equivalent of statfs(2).
PR: 25365
Submitted by: Anton Berezin <tobez@tobez.org>
Notes
Notes:
svn path=/head/; revision=38871
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/Makefile | 1 | ||||
-rw-r--r-- | sysutils/p5-Filesys-DiskSpace/Makefile | 23 | ||||
-rw-r--r-- | sysutils/p5-Filesys-DiskSpace/distinfo | 1 | ||||
-rw-r--r-- | sysutils/p5-Filesys-DiskSpace/pkg-comment | 1 | ||||
-rw-r--r-- | sysutils/p5-Filesys-DiskSpace/pkg-descr | 9 | ||||
-rw-r--r-- | sysutils/p5-Filesys-DiskSpace/pkg-plist | 5 |
6 files changed, 40 insertions, 0 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile index aeb5b561a4eb..06950d81e99c 100644 --- a/sysutils/Makefile +++ b/sysutils/Makefile @@ -72,6 +72,7 @@ SUBDIR += nut SUBDIR += nwclient SUBDIR += obliterate + SUBDIR += p5-Filesys-DiskSpace SUBDIR += p5-Quota SUBDIR += p5-Schedule-At SUBDIR += p5-Schedule-Cron diff --git a/sysutils/p5-Filesys-DiskSpace/Makefile b/sysutils/p5-Filesys-DiskSpace/Makefile new file mode 100644 index 000000000000..08adbb5dcd37 --- /dev/null +++ b/sysutils/p5-Filesys-DiskSpace/Makefile @@ -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> diff --git a/sysutils/p5-Filesys-DiskSpace/distinfo b/sysutils/p5-Filesys-DiskSpace/distinfo new file mode 100644 index 000000000000..a7fefb173dd0 --- /dev/null +++ b/sysutils/p5-Filesys-DiskSpace/distinfo @@ -0,0 +1 @@ +MD5 (Filesys-DiskSpace-0.05.tar.gz) = b95651483e0234db33561a53708e007d diff --git a/sysutils/p5-Filesys-DiskSpace/pkg-comment b/sysutils/p5-Filesys-DiskSpace/pkg-comment new file mode 100644 index 000000000000..69e1fe60cc1c --- /dev/null +++ b/sysutils/p5-Filesys-DiskSpace/pkg-comment @@ -0,0 +1 @@ +Perl equivalent of statfs(2) diff --git a/sysutils/p5-Filesys-DiskSpace/pkg-descr b/sysutils/p5-Filesys-DiskSpace/pkg-descr new file mode 100644 index 000000000000..bfea9a676dfb --- /dev/null +++ b/sysutils/p5-Filesys-DiskSpace/pkg-descr @@ -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> diff --git a/sysutils/p5-Filesys-DiskSpace/pkg-plist b/sysutils/p5-Filesys-DiskSpace/pkg-plist new file mode 100644 index 000000000000..352586945a72 --- /dev/null +++ b/sysutils/p5-Filesys-DiskSpace/pkg-plist @@ -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 |