aboutsummaryrefslogtreecommitdiff
path: root/devel/p5-Algorithm-Accounting
diff options
context:
space:
mode:
authorCheng-Lung Sung <clsung@FreeBSD.org>2005-01-25 07:00:40 +0000
committerCheng-Lung Sung <clsung@FreeBSD.org>2005-01-25 07:00:40 +0000
commit718f5dba69014cda860b563bb95930175cfb86a9 (patch)
tree0f821f7172a990f5516f051c95e780382f95c800 /devel/p5-Algorithm-Accounting
parentab956a5ad89f94908b865f2ad9397a5da627395a (diff)
downloadports-718f5dba69014cda860b563bb95930175cfb86a9.tar.gz
ports-718f5dba69014cda860b563bb95930175cfb86a9.zip
Notes
Diffstat (limited to 'devel/p5-Algorithm-Accounting')
-rw-r--r--devel/p5-Algorithm-Accounting/Makefile31
-rw-r--r--devel/p5-Algorithm-Accounting/distinfo2
-rw-r--r--devel/p5-Algorithm-Accounting/pkg-descr13
-rw-r--r--devel/p5-Algorithm-Accounting/pkg-plist5
4 files changed, 51 insertions, 0 deletions
diff --git a/devel/p5-Algorithm-Accounting/Makefile b/devel/p5-Algorithm-Accounting/Makefile
new file mode 100644
index 000000000000..7768a23abf39
--- /dev/null
+++ b/devel/p5-Algorithm-Accounting/Makefile
@@ -0,0 +1,31 @@
+# New ports collection makefile for: devel/p5-Algorithm-Accounting
+# Date created: 25 Oct 2004
+# Whom: Yuan-Chung Hsiao <ychsiao@ychsiao.idv.tw>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Algorithm-Accounting
+PORTVERSION= 0.05
+CATEGORIES= devel perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= ../../authors/id/G/GU/GOD
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= ychsiao@ychsiao.org
+COMMENT= Generate accounting statistic for general logs
+
+BUILD_DEPENDS= ${SITE_PERL}/Spiffy.pm:${PORTSDIR}/devel/p5-Spiffy \
+ ${SITE_PERL}/Perl6/Form.pm:${PORTSDIR}/devel/p5-Perl6-Form \
+ ${SITE_PERL}/FreezeThaw.pm:${PORTSDIR}/devel/p5-FreezeThaw \
+ ${SITE_PERL}/Array/Compare.pm:${PORTSDIR}/misc/p5-Array-Compare \
+ ${SITE_PERL}/Array/Iterator/Reusable.pm:${PORTSDIR}/devel/p5-Array-Iterator \
+ ${SITE_PERL}/${PERL_ARCH}/Clone.pm:${PORTSDIR}/devel/p5-Clone \
+ ${SITE_PERL}/YAML.pm:${PORTSDIR}/textproc/p5-YAML
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+PERL_CONFIGURE= yes
+
+MAN3= Algorithm::Accounting.3
+
+.include <bsd.port.mk>
diff --git a/devel/p5-Algorithm-Accounting/distinfo b/devel/p5-Algorithm-Accounting/distinfo
new file mode 100644
index 000000000000..dba46583862e
--- /dev/null
+++ b/devel/p5-Algorithm-Accounting/distinfo
@@ -0,0 +1,2 @@
+MD5 (Algorithm-Accounting-0.05.tar.gz) = f33ab7b352fcfd491346befffe5b8556
+SIZE (Algorithm-Accounting-0.05.tar.gz) = 10576
diff --git a/devel/p5-Algorithm-Accounting/pkg-descr b/devel/p5-Algorithm-Accounting/pkg-descr
new file mode 100644
index 000000000000..7cdaf92e8adc
--- /dev/null
+++ b/devel/p5-Algorithm-Accounting/pkg-descr
@@ -0,0 +1,13 @@
+Algorithm::Accounting provide simple aggregation method to make log
+accounting easier. It accepts data in rows, each rows can have many
+fields, and each field is a scalar or a list(arrayref).
+
+The basic usage is you walk through all your logs, and use append_data()
+to insert each rows, (you'll have to split the line into fields), and
+then call result() to retrieve the result, or report() to immediatly
+see simple result.
+
+You may specify a filed_groups parameter (arrayref of arrayref), and
+Algorithm::Accounting will account these fields in groups.
+
+WWW: http://search.cpan.org/dist/Algorithm-Accounting
diff --git a/devel/p5-Algorithm-Accounting/pkg-plist b/devel/p5-Algorithm-Accounting/pkg-plist
new file mode 100644
index 000000000000..d9c6460ff8e3
--- /dev/null
+++ b/devel/p5-Algorithm-Accounting/pkg-plist
@@ -0,0 +1,5 @@
+%%SITE_PERL%%/Algorithm/Accounting.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Algorithm/Accounting/.packlist
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Algorithm/Accounting
+@unexec rmdir %D/%%SITE_PERL%%/Algorithm/Accounting 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Algorithm/Accounting 2>/dev/null || true