summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sysutils/Makefile1
-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
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