1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-06 01:57:40 +00:00
freebsd-ports/mail/spamstats/Makefile
Mathieu Arnold 60d1a83c2a MASTER_SITES cleanup.
- Replace ${MASTER_SITE_FOO} with FOO.
- Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9%
  of the time.)
- Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and
  no hint of what it should be was present.
- Fix some logic.
- And generally, make things more simple and easy to understand.

While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and
SAMBA macros.

Also, replace some EXTRACT_SUFX occurences with USES=tar:*.

Checked by:	make fetch-urlall-list
With hat:	portmgr
Sponsored by:	Absolight
2015-05-14 10:15:04 +00:00

38 lines
962 B
Makefile

# Created by: Yen-Ming Lee <leeym@FreeBSD.org>
# $FreeBSD$
PORTNAME= spamstats
PORTVERSION= 0.6c
PORTREVISION= 2
CATEGORIES= mail
#MASTER_SITES= http://www.inl.fr/download/
MASTER_SITES= LOCAL/leeym
MAINTAINER= leeym@FreeBSD.org
COMMENT= Tool to generate statistics for spamd of Mail::SpamAssassin
RUN_DEPENDS= p5-Date-Manip>=0:${PORTSDIR}/devel/p5-Date-Manip \
p5-Compress-Bzip2>=2.08:${PORTSDIR}/archivers/p5-Compress-Bzip2
NO_BUILD= yes
PORTDOCS= QUICK README copyright
PLIST_FILES= bin/spamstats.pl
USES= shebangfix perl5
SHEBANG_FILES= ${PORTNAME}${PORTVERSION}.pl
post-patch:
@${REINPLACE_CMD} -i '' -e 's|mail.log|maillog|g' \
${WRKSRC}/${PORTNAME}${PORTVERSION}.pl
OPTIONS_DEFINE= DOCS
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}${PORTVERSION}.pl \
${STAGEDIR}${PREFIX}/bin/${PORTNAME}.pl
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for f in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
.endfor
.include <bsd.port.mk>