summaryrefslogtreecommitdiffstats
path: root/sysutils/p5-Filesys-DiskSpace
diff options
context:
space:
mode:
authorwill <will@FreeBSD.org>2001-02-27 23:21:22 +0000
committerwill <will@FreeBSD.org>2001-02-27 23:21:22 +0000
commit40b8bdee34b7e21bd709fb6826f44ee2d839427a (patch)
tree6ce5f3046cb18f2e9602f6c4ea44d10210694864 /sysutils/p5-Filesys-DiskSpace
parent4ca2413bad234054212da6ceff72cf695fa4accf (diff)
downloadFreeBSD-ports-40b8bdee34b7e21bd709fb6826f44ee2d839427a.zip
FreeBSD-ports-40b8bdee34b7e21bd709fb6826f44ee2d839427a.tar.gz
Add p5-Filesys-DiskSpace 0.05, the perl equivalent of statfs(2).
PR: 25365 Submitted by: Anton Berezin <tobez@tobez.org>
Diffstat (limited to 'sysutils/p5-Filesys-DiskSpace')
-rw-r--r--sysutils/p5-Filesys-DiskSpace/Makefile23
-rw-r--r--sysutils/p5-Filesys-DiskSpace/distinfo1
-rw-r--r--sysutils/p5-Filesys-DiskSpace/pkg-comment1
-rw-r--r--sysutils/p5-Filesys-DiskSpace/pkg-descr9
-rw-r--r--sysutils/p5-Filesys-DiskSpace/pkg-plist5
5 files changed, 39 insertions, 0 deletions
diff --git a/sysutils/p5-Filesys-DiskSpace/Makefile b/sysutils/p5-Filesys-DiskSpace/Makefile
new file mode 100644
index 0000000..08adbb5
--- /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 0000000..a7fefb1
--- /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 0000000..69e1fe6
--- /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 0000000..bfea9a6
--- /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 0000000..3525869
--- /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
OpenPOWER on IntegriCloud