ports/58890: New port: mail/p5-Mail-Graph
Cheng-Lung Sung
clsung at dragon2.net
Mon Nov 3 17:40:16 UTC 2003
>Number: 58890
>Category: ports
>Synopsis: New port: mail/p5-Mail-Graph
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Mon Nov 03 09:40:13 PST 2003
>Closed-Date:
>Last-Modified:
>Originator: Cheng-Lung Sung
>Release: FreeBSD 4.9-RELEASE i386
>Organization:
FreeBSD @ Taiwan
>Environment:
System: FreeBSD sungsung.csie.nctu.edu.tw 4.9-RELEASE FreeBSD 4.9-RELEASE #5: Wed Oct 29 20:13:25 CST 2003 root at sungsung.csie.nctu.edu.tw:/usr/obj/usr/src/sys/SUNGSUNG i386
>Description:
- New port: p5-Mail-Graph
- Perl module for drawing graphical stats for mails/spams
- take maintainership
>How-To-Repeat:
>Fix:
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# p5-Mail-Graph/
# p5-Mail-Graph/Makefile
# p5-Mail-Graph/distinfo
# p5-Mail-Graph/pkg-descr
# p5-Mail-Graph/pkg-plist
#
echo c - p5-Mail-Graph/
mkdir -p p5-Mail-Graph/ > /dev/null 2>&1
echo x - p5-Mail-Graph/Makefile
sed 's/^X//' >p5-Mail-Graph/Makefile << 'END-of-p5-Mail-Graph/Makefile'
X# New ports collection makefile for: p5-Mail-Graph
X# Date created: Nov 4 2003
X# Whom: Cheng-Lung Sung <clsung at dragon2.net>
X#
X# $FreeBSD$
X#
X
XPORTNAME= Mail-Graph
XPORTVERSION= 0.12
XCATEGORIES= mail perl5
XMASTER_SITES= ${MASTER_SITE_PERL_CPAN}
XMASTER_SITE_SUBDIR= Mail
XPKGNAMEPREFIX= p5-
X
XMAINTAINER= clsung at dragon2.net
XCOMMENT= Perl module for drawing graphical stats for mails/spams
X
XBUILD_DEPENDS= ${SITE_PERL}/Math/BigInt.pm:${PORTSDIR}/math/p5-Math-BigInt \
X ${SITE_PERL}/${PERL_ARCH}/Compress/Zlib.pm:${PORTSDIR}/archivers/p5-Compress-Zlib \
X ${SITE_PERL}/${PERL_ARCH}/GD.pm:${PORTSDIR}/graphics/p5-GD \
X ${SITE_PERL}/GD/Graph.pm:${PORTSDIR}/graphics/p5-GD-Graph \
X ${SITE_PERL}/GD/Text.pm:${PORTSDIR}/graphics/p5-GD-TextUtil \
X ${SITE_PERL}/${PERL_ARCH}/Date/Calc.pm:${PORTSDIR}/devel/p5-Date-Calc \
X ${SITE_PERL}/${PERL_ARCH}/Time/HiRes.pm:${PORTSDIR}/devel/p5-Time-HiRes
XRUN_DEPENDS= ${BUILD_DEPENDS}
X
XPERL_CONFIGURE= yes
XEXAMPLESCRIPT= samples/*pl
XEXAMPLEDUMMY= samples/index/dummy.txt
XEXAMPLEOUTPUT= samples/output/w3c.png samples/output/spam.css
XEXAMPLEARCHIVE= samples/archive/*.gz
X
XMAN3= Mail::Graph.3
X
Xpost-install:
X @${MKDIR} ${EXAMPLESDIR}
X @${MKDIR} ${EXAMPLESDIR}/archive
X @${MKDIR} ${EXAMPLESDIR}/index
X @${MKDIR} ${EXAMPLESDIR}/output
X cd ${WRKSRC} && \
X ${INSTALL_SCRIPT} ${EXAMPLESCRIPT} ${EXAMPLESDIR} && \
X ${INSTALL_SCRIPT} ${EXAMPLEDUMMY} ${EXAMPLESDIR}/index && \
X ${INSTALL_SCRIPT} ${EXAMPLEOUTPUT} ${EXAMPLESDIR}/output && \
X ${INSTALL_SCRIPT} ${EXAMPLEARCHIVE} ${EXAMPLESDIR}/archive
X
X.include <bsd.port.pre.mk>
X
X.if ${PERL_LEVEL} < 500601
XIGNORE= This port requires perl 5.6.x or later. Install lang/perl5 then try again
X.endif
X
X.include <bsd.port.post.mk>
END-of-p5-Mail-Graph/Makefile
echo x - p5-Mail-Graph/distinfo
sed 's/^X//' >p5-Mail-Graph/distinfo << 'END-of-p5-Mail-Graph/distinfo'
XMD5 (Mail-Graph-0.12.tar.gz) = d06b5d72002dc6dfab86885dfd6651c6
END-of-p5-Mail-Graph/distinfo
echo x - p5-Mail-Graph/pkg-descr
sed 's/^X//' >p5-Mail-Graph/pkg-descr << 'END-of-p5-Mail-Graph/pkg-descr'
XMail::Graph - visualize mails via graphs (spams, bug reports etc)
X
XIn the directory samples/ is a short example. For a real-life example
Xplease visit <http://bloodgate.com/spams/>.
X
XWWW: http://search.cpan.org/search?dist=Mail-Graph
X
XAuthor: TELS <tels at cpan.org>
END-of-p5-Mail-Graph/pkg-descr
echo x - p5-Mail-Graph/pkg-plist
sed 's/^X//' >p5-Mail-Graph/pkg-plist << 'END-of-p5-Mail-Graph/pkg-plist'
X%%SITE_PERL%%/Mail/Graph.pm
X%%SITE_PERL%%/%%PERL_ARCH%%/auto/Mail-Graph/.packlist
X%%EXAMPLESDIR%%/sample.pl
X%%EXAMPLESDIR%%/convert.pl
X%%EXAMPLESDIR%%/index/dummy.txt
X%%EXAMPLESDIR%%/index.tpl
X%%EXAMPLESDIR%%/output/w3c.png
X%%EXAMPLESDIR%%/output/spam.css
X%%EXAMPLESDIR%%/archive/sample.txt.gz
X%%EXAMPLESDIR%%/archive/sample2.txt.gz
X at dirrm %%EXAMPLESDIR%%/archive
X at dirrm %%EXAMPLESDIR%%/index
X at dirrm %%EXAMPLESDIR%%/output
X at dirrm %%EXAMPLESDIR%%
X at dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Mail-Graph
X at unexec rmdir %D/%%SITE_PERL%%/Mail 2>/dev/null || true
END-of-p5-Mail-Graph/pkg-plist
exit
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list