diff options
author | Cheng-Lung Sung <clsung@FreeBSD.org> | 2005-01-25 07:00:40 +0000 |
---|---|---|
committer | Cheng-Lung Sung <clsung@FreeBSD.org> | 2005-01-25 07:00:40 +0000 |
commit | 718f5dba69014cda860b563bb95930175cfb86a9 (patch) | |
tree | 0f821f7172a990f5516f051c95e780382f95c800 | |
parent | ab956a5ad89f94908b865f2ad9397a5da627395a (diff) | |
download | ports-718f5dba69014cda860b563bb95930175cfb86a9.tar.gz ports-718f5dba69014cda860b563bb95930175cfb86a9.zip |
Notes
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/p5-Algorithm-Accounting/Makefile | 31 | ||||
-rw-r--r-- | devel/p5-Algorithm-Accounting/distinfo | 2 | ||||
-rw-r--r-- | devel/p5-Algorithm-Accounting/pkg-descr | 13 | ||||
-rw-r--r-- | devel/p5-Algorithm-Accounting/pkg-plist | 5 |
5 files changed, 52 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index 81ec461c2d07..c8146e4cc963 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -605,6 +605,7 @@ SUBDIR += p4v SUBDIR += p5-AI-Pathfinding-AStar SUBDIR += p5-Agent + SUBDIR += p5-Algorithm-Accounting SUBDIR += p5-Algorithm-Annotate SUBDIR += p5-Algorithm-Cluster SUBDIR += p5-Algorithm-Diff 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 |