aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sysutils/Makefile1
-rw-r--r--sysutils/p5-Unix-Processors/Makefile22
-rw-r--r--sysutils/p5-Unix-Processors/distinfo1
-rw-r--r--sysutils/p5-Unix-Processors/pkg-descr8
-rw-r--r--sysutils/p5-Unix-Processors/pkg-plist9
5 files changed, 41 insertions, 0 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile
index ecf2a9c8ea1a..577f0415b0d9 100644
--- a/sysutils/Makefile
+++ b/sysutils/Makefile
@@ -215,6 +215,7 @@
SUBDIR += p5-Tie-Syslog
SUBDIR += p5-UPS-Nut
SUBDIR += p5-Unix-ConfigFile
+ SUBDIR += p5-Unix-Processors
SUBDIR += p5-Unix-Syslog
SUBDIR += p5-User
SUBDIR += paicc
diff --git a/sysutils/p5-Unix-Processors/Makefile b/sysutils/p5-Unix-Processors/Makefile
new file mode 100644
index 000000000000..631706a87e16
--- /dev/null
+++ b/sysutils/p5-Unix-Processors/Makefile
@@ -0,0 +1,22 @@
+# New ports collection makefile for: Unix-Processors
+# Date created: 13 Dec 2001
+# Whom: Sergey Skvortsov <skv@protey.ru>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Unix-Processors
+PORTVERSION= 2.014
+CATEGORIES= sysutils perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Unix
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= skv@FreeBSD.org
+COMMENT= Interface to processor (CPU) information
+
+PERL_CONFIGURE= yes
+
+MAN3= Unix::Processors.3 Unix::Processors::Info.3
+
+.include <bsd.port.mk>
diff --git a/sysutils/p5-Unix-Processors/distinfo b/sysutils/p5-Unix-Processors/distinfo
new file mode 100644
index 000000000000..0517dba383ce
--- /dev/null
+++ b/sysutils/p5-Unix-Processors/distinfo
@@ -0,0 +1 @@
+MD5 (Unix-Processors-2.014.tar.gz) = a67af7e42a1b7f31f9c041f9a89bf159
diff --git a/sysutils/p5-Unix-Processors/pkg-descr b/sysutils/p5-Unix-Processors/pkg-descr
new file mode 100644
index 000000000000..dce1db8418e7
--- /dev/null
+++ b/sysutils/p5-Unix-Processors/pkg-descr
@@ -0,0 +1,8 @@
+This package provides accessors to per-processor (CPU) information. The
+object is obtained with the Unix::Processors::processors call. the
+operating system in a OS independent manner.
+
+WWW: http://search.cpan.org/dist/Unix-Processors/
+
+-- Sergey Skvortsov
+skv@FreeBSD.org
diff --git a/sysutils/p5-Unix-Processors/pkg-plist b/sysutils/p5-Unix-Processors/pkg-plist
new file mode 100644
index 000000000000..df2794d71476
--- /dev/null
+++ b/sysutils/p5-Unix-Processors/pkg-plist
@@ -0,0 +1,9 @@
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Unix/Processors/.packlist
+%%SITE_PERL%%/%%PERL_ARCH%%/Unix/Processors.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/Unix/Processors/Info.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Unix/Processors/Processors.bs
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Unix/Processors/Processors.so
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/Unix/Processors
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Unix/Processors
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/Unix 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Unix 2>/dev/null || true