diff options
author | vanilla <vanilla@FreeBSD.org> | 2003-11-05 00:36:53 +0800 |
---|---|---|
committer | vanilla <vanilla@FreeBSD.org> | 2003-11-05 00:36:53 +0800 |
commit | 296a643f2741728c042124c396cc4a283238a61c (patch) | |
tree | 5ff920dbe7a289689535afa10ea730cb84171727 /mail | |
parent | 53c8918faf5befd74a3ea00e616f763ef9227f50 (diff) | |
download | freebsd-ports-gnome-296a643f2741728c042124c396cc4a283238a61c.tar.gz freebsd-ports-gnome-296a643f2741728c042124c396cc4a283238a61c.tar.zst freebsd-ports-gnome-296a643f2741728c042124c396cc4a283238a61c.zip |
Add p5-Mail-Graph 0.12,
perl module for drawing graphical stats for
mails/spams.
PR: 58890
Submitted by: Cheng-Lung Sung <clsung@dragon2.net>
Diffstat (limited to 'mail')
-rw-r--r-- | mail/Makefile | 1 | ||||
-rw-r--r-- | mail/p5-Mail-Graph/Makefile | 52 | ||||
-rw-r--r-- | mail/p5-Mail-Graph/distinfo | 1 | ||||
-rw-r--r-- | mail/p5-Mail-Graph/pkg-descr | 8 | ||||
-rw-r--r-- | mail/p5-Mail-Graph/pkg-plist | 16 |
5 files changed, 78 insertions, 0 deletions
diff --git a/mail/Makefile b/mail/Makefile index 3a9f511bd4fb..84abfdf7d393 100644 --- a/mail/Makefile +++ b/mail/Makefile @@ -211,6 +211,7 @@ SUBDIR += p5-Mail-Folder SUBDIR += p5-Mail-Freshmeat SUBDIR += p5-Mail-GnuPG + SUBDIR += p5-Mail-Graph SUBDIR += p5-Mail-IMAPClient SUBDIR += p5-Mail-ListDetector SUBDIR += p5-Mail-MailStats diff --git a/mail/p5-Mail-Graph/Makefile b/mail/p5-Mail-Graph/Makefile new file mode 100644 index 000000000000..1f19d000bfcb --- /dev/null +++ b/mail/p5-Mail-Graph/Makefile @@ -0,0 +1,52 @@ +# New ports collection makefile for: p5-Mail-Graph +# Date created: Nov 4 2003 +# Whom: Cheng-Lung Sung <clsung@dragon2.net> +# +# $FreeBSD$ +# + +PORTNAME= Mail-Graph +PORTVERSION= 0.12 +CATEGORIES= mail perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= Mail +PKGNAMEPREFIX= p5- + +MAINTAINER= clsung@dragon2.net +COMMENT= Perl module for drawing graphical stats for mails/spams + +BUILD_DEPENDS= ${SITE_PERL}/Math/BigInt.pm:${PORTSDIR}/math/p5-Math-BigInt \ + ${SITE_PERL}/${PERL_ARCH}/Compress/Zlib.pm:${PORTSDIR}/archivers/p5-Compress-Zlib \ + ${SITE_PERL}/${PERL_ARCH}/GD.pm:${PORTSDIR}/graphics/p5-GD \ + ${SITE_PERL}/GD/Graph.pm:${PORTSDIR}/graphics/p5-GD-Graph \ + ${SITE_PERL}/GD/Text.pm:${PORTSDIR}/graphics/p5-GD-TextUtil \ + ${SITE_PERL}/${PERL_ARCH}/Date/Calc.pm:${PORTSDIR}/devel/p5-Date-Calc \ + ${SITE_PERL}/${PERL_ARCH}/Time/HiRes.pm:${PORTSDIR}/devel/p5-Time-HiRes +RUN_DEPENDS= ${BUILD_DEPENDS} + +PERL_CONFIGURE= yes +EXAMPLESCRIPT= samples/*pl +EXAMPLEDUMMY= samples/index/dummy.txt +EXAMPLEOUTPUT= samples/output/w3c.png samples/output/spam.css +EXAMPLEARCHIVE= samples/archive/*.gz + +MAN3= Mail::Graph.3 + +post-install: + @${MKDIR} ${EXAMPLESDIR} + @${MKDIR} ${EXAMPLESDIR}/archive + @${MKDIR} ${EXAMPLESDIR}/index + @${MKDIR} ${EXAMPLESDIR}/output + cd ${WRKSRC} && \ + ${INSTALL_SCRIPT} ${EXAMPLESCRIPT} ${EXAMPLESDIR} && \ + ${INSTALL_SCRIPT} ${EXAMPLEDUMMY} ${EXAMPLESDIR}/index && \ + ${INSTALL_SCRIPT} ${EXAMPLEOUTPUT} ${EXAMPLESDIR}/output && \ + ${INSTALL_SCRIPT} ${EXAMPLEARCHIVE} ${EXAMPLESDIR}/archive + +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 500601 +IGNORE= This port requires perl 5.6.x or later. Install lang/perl5 then try again +.endif + +.include <bsd.port.post.mk> diff --git a/mail/p5-Mail-Graph/distinfo b/mail/p5-Mail-Graph/distinfo new file mode 100644 index 000000000000..bd1eb79784d1 --- /dev/null +++ b/mail/p5-Mail-Graph/distinfo @@ -0,0 +1 @@ +MD5 (Mail-Graph-0.12.tar.gz) = d06b5d72002dc6dfab86885dfd6651c6 diff --git a/mail/p5-Mail-Graph/pkg-descr b/mail/p5-Mail-Graph/pkg-descr new file mode 100644 index 000000000000..4c4156aebcd5 --- /dev/null +++ b/mail/p5-Mail-Graph/pkg-descr @@ -0,0 +1,8 @@ +Mail::Graph - visualize mails via graphs (spams, bug reports etc) + +In the directory samples/ is a short example. For a real-life example +please visit <http://bloodgate.com/spams/>. + +WWW: http://search.cpan.org/search?dist=Mail-Graph + +Author: TELS <tels@cpan.org> diff --git a/mail/p5-Mail-Graph/pkg-plist b/mail/p5-Mail-Graph/pkg-plist new file mode 100644 index 000000000000..0ac43e0a20dc --- /dev/null +++ b/mail/p5-Mail-Graph/pkg-plist @@ -0,0 +1,16 @@ +%%SITE_PERL%%/Mail/Graph.pm +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Mail-Graph/.packlist +%%EXAMPLESDIR%%/sample.pl +%%EXAMPLESDIR%%/convert.pl +%%EXAMPLESDIR%%/index/dummy.txt +%%EXAMPLESDIR%%/index.tpl +%%EXAMPLESDIR%%/output/w3c.png +%%EXAMPLESDIR%%/output/spam.css +%%EXAMPLESDIR%%/archive/sample.txt.gz +%%EXAMPLESDIR%%/archive/sample2.txt.gz +@dirrm %%EXAMPLESDIR%%/archive +@dirrm %%EXAMPLESDIR%%/index +@dirrm %%EXAMPLESDIR%%/output +@dirrm %%EXAMPLESDIR%% +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Mail-Graph +@unexec rmdir %D/%%SITE_PERL%%/Mail 2>/dev/null || true |