aboutsummaryrefslogtreecommitdiff
path: root/sysutils/p5-Filesys-Statvfs
diff options
context:
space:
mode:
authorAaron Dalton <aaron@FreeBSD.org>2006-06-19 07:50:50 +0000
committerAaron Dalton <aaron@FreeBSD.org>2006-06-19 07:50:50 +0000
commitdff1e277a2acd9a3ed9861e96c826b15babba620 (patch)
treedc23b3be855860002326ee15db800e009c630ac6 /sysutils/p5-Filesys-Statvfs
parenteb064419a8ba5c8a81d5d17064afdf2849549db2 (diff)
downloadports-dff1e277a2acd9a3ed9861e96c826b15babba620.tar.gz
ports-dff1e277a2acd9a3ed9861e96c826b15babba620.zip
Notes
Diffstat (limited to 'sysutils/p5-Filesys-Statvfs')
-rw-r--r--sysutils/p5-Filesys-Statvfs/Makefile28
-rw-r--r--sysutils/p5-Filesys-Statvfs/distinfo3
-rw-r--r--sysutils/p5-Filesys-Statvfs/pkg-descr16
-rw-r--r--sysutils/p5-Filesys-Statvfs/pkg-plist7
4 files changed, 54 insertions, 0 deletions
diff --git a/sysutils/p5-Filesys-Statvfs/Makefile b/sysutils/p5-Filesys-Statvfs/Makefile
new file mode 100644
index 000000000000..0e268e77edee
--- /dev/null
+++ b/sysutils/p5-Filesys-Statvfs/Makefile
@@ -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>
diff --git a/sysutils/p5-Filesys-Statvfs/distinfo b/sysutils/p5-Filesys-Statvfs/distinfo
new file mode 100644
index 000000000000..f06e9dcb89e2
--- /dev/null
+++ b/sysutils/p5-Filesys-Statvfs/distinfo
@@ -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
diff --git a/sysutils/p5-Filesys-Statvfs/pkg-descr b/sysutils/p5-Filesys-Statvfs/pkg-descr
new file mode 100644
index 000000000000..c1ffb25411a0
--- /dev/null
+++ b/sysutils/p5-Filesys-Statvfs/pkg-descr
@@ -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>
diff --git a/sysutils/p5-Filesys-Statvfs/pkg-plist b/sysutils/p5-Filesys-Statvfs/pkg-plist
new file mode 100644
index 000000000000..25c9848712f7
--- /dev/null
+++ b/sysutils/p5-Filesys-Statvfs/pkg-plist
@@ -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