summaryrefslogtreecommitdiff
path: root/devel/p5-Sys-MemInfo
diff options
context:
space:
mode:
authorPietro Cerutti <gahr@FreeBSD.org>2008-07-25 09:05:00 +0000
committerPietro Cerutti <gahr@FreeBSD.org>2008-07-25 09:05:00 +0000
commitf422304cbd1c809155275af2df4fce9f2d8f39c6 (patch)
treec3ba86d241c72e2631e63189b8690daf91e3ae26 /devel/p5-Sys-MemInfo
parent- PREFIX is always present in MAKE_ENV, no need to add it again (diff)
- New port: p5-Sys-MemInfo
Get information about memory and swap usage from perl PR: 125944 Submitted by: terry@sucked-in.com
Notes
Notes: svn path=/head/; revision=217465
Diffstat (limited to 'devel/p5-Sys-MemInfo')
-rw-r--r--devel/p5-Sys-MemInfo/Makefile23
-rw-r--r--devel/p5-Sys-MemInfo/distinfo3
-rw-r--r--devel/p5-Sys-MemInfo/pkg-descr6
-rw-r--r--devel/p5-Sys-MemInfo/pkg-plist7
4 files changed, 39 insertions, 0 deletions
diff --git a/devel/p5-Sys-MemInfo/Makefile b/devel/p5-Sys-MemInfo/Makefile
new file mode 100644
index 000000000000..77d57569b543
--- /dev/null
+++ b/devel/p5-Sys-MemInfo/Makefile
@@ -0,0 +1,23 @@
+# New ports collection makefile for: Sys-MemInfo
+# Date created: 25 July 2008
+# Whom: Terry Sposato <terry@sucked-in.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Sys-MemInfo
+PORTVERSION= 0.91
+CATEGORIES= devel perl5
+MASTER_SITES= CPAN
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= terry@sucked-in.com
+COMMENT= Sys::MemInfo - Perl extension for getting Memory information
+
+WRKSRC= ${WRKDIR}/${PORTNAME}
+
+PERL_CONFIGURE= yes
+
+MAN3= Sys::MemInfo.3
+
+.include <bsd.port.mk>
diff --git a/devel/p5-Sys-MemInfo/distinfo b/devel/p5-Sys-MemInfo/distinfo
new file mode 100644
index 000000000000..4ef5a7cdbe6d
--- /dev/null
+++ b/devel/p5-Sys-MemInfo/distinfo
@@ -0,0 +1,3 @@
+MD5 (Sys-MemInfo-0.91.tar.gz) = d2ddda32c58114352e04ecb866de7f17
+SHA256 (Sys-MemInfo-0.91.tar.gz) = c15af4b9db68f86b182504823e4c9a36ee977d9142a2306f089b4dc1cd26c143
+SIZE (Sys-MemInfo-0.91.tar.gz) = 6802
diff --git a/devel/p5-Sys-MemInfo/pkg-descr b/devel/p5-Sys-MemInfo/pkg-descr
new file mode 100644
index 000000000000..25930917723a
--- /dev/null
+++ b/devel/p5-Sys-MemInfo/pkg-descr
@@ -0,0 +1,6 @@
+Sys::MemInfo return the total amount of free and used
+physical memory in bytes in totalmem and freemem variables.
+Total amount of free and user swap memory are alse returned
+in totalswap and freeswap variables.
+
+WWW: http://search.cpan.org/dist/Sys-Cpu/
diff --git a/devel/p5-Sys-MemInfo/pkg-plist b/devel/p5-Sys-MemInfo/pkg-plist
new file mode 100644
index 000000000000..6d20d95abc11
--- /dev/null
+++ b/devel/p5-Sys-MemInfo/pkg-plist
@@ -0,0 +1,7 @@
+%%SITE_PERL%%/%%PERL_ARCH%%/Sys/MemInfo.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Sys/MemInfo/MemInfo.bs
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Sys/MemInfo/MemInfo.so
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Sys/MemInfo/.packlist
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Sys/MemInfo
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/Sys
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Sys