2013-06-03 15:15:51 +00:00
|
|
|
# Created by: Yen-Ming Lee <leeym@FreeBSD.org>
|
2003-04-07 06:51:44 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= spamstats
|
2006-02-13 16:28:47 +00:00
|
|
|
PORTVERSION= 0.6c
|
2012-08-21 23:47:43 +00:00
|
|
|
PORTREVISION= 2
|
2003-04-07 06:51:44 +00:00
|
|
|
CATEGORIES= mail
|
2012-08-21 23:47:43 +00:00
|
|
|
#MASTER_SITES= http://www.inl.fr/download/
|
|
|
|
MASTER_SITES= ${MASTER_SITE_LOCAL}
|
|
|
|
MASTER_SITE_SUBDIR= leeym
|
2003-04-07 06:51:44 +00:00
|
|
|
|
|
|
|
MAINTAINER= leeym@FreeBSD.org
|
|
|
|
COMMENT= A tool to generate statistics for spamd of Mail::SpamAssassin
|
|
|
|
|
2012-08-21 23:47:43 +00:00
|
|
|
RUN_DEPENDS= p5-Date-Manip>=0:${PORTSDIR}/devel/p5-Date-Manip \
|
|
|
|
p5-Compress-Bzip2>=2.08:${PORTSDIR}/archivers/p5-Compress-Bzip2
|
2003-04-07 06:51:44 +00:00
|
|
|
|
|
|
|
NO_BUILD= yes
|
2004-02-07 16:02:26 +00:00
|
|
|
PORTDOCS= QUICK README copyright
|
|
|
|
PLIST_FILES= bin/spamstats.pl
|
2013-09-14 18:12:50 +00:00
|
|
|
USES= shebangfix perl5
|
2013-07-26 07:33:41 +00:00
|
|
|
SHEBANG_FILES= ${PORTNAME}${PORTVERSION}.pl
|
2003-04-07 06:51:44 +00:00
|
|
|
|
2013-09-20 19:59:12 +00:00
|
|
|
NO_STAGE= yes
|
2003-04-07 06:51:44 +00:00
|
|
|
post-patch:
|
2013-07-26 07:33:41 +00:00
|
|
|
@${REINPLACE_CMD} -i '' -e 's|mail.log|maillog|g' \
|
|
|
|
${WRKSRC}/${PORTNAME}${PORTVERSION}.pl
|
2003-04-07 06:51:44 +00:00
|
|
|
|
2013-06-03 15:15:51 +00:00
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
|
2003-04-07 06:51:44 +00:00
|
|
|
do-install:
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}${PORTVERSION}.pl ${PREFIX}/bin/${PORTNAME}.pl
|
2013-06-03 15:15:51 +00:00
|
|
|
.if ${PORT_OPTIONS:MDOCS}
|
2003-04-07 06:51:44 +00:00
|
|
|
@${MKDIR} ${DOCSDIR}
|
2004-02-07 16:02:26 +00:00
|
|
|
.for f in ${PORTDOCS}
|
2004-01-01 15:57:50 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
|
2003-04-07 06:51:44 +00:00
|
|
|
.endfor
|
|
|
|
.endif
|
|
|
|
|
2013-06-03 15:15:51 +00:00
|
|
|
.include <bsd.port.mk>
|