summaryrefslogtreecommitdiff
path: root/mail/sa-stats/Makefile
blob: b6df97a97fc33f349681315e3474f4191519f906 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Created by: Alexey V. Degtyarev <alexey@renatasystems.org>
# $FreeBSD$

PORTNAME=	sa-stats
PORTVERSION=	1.0
CATEGORIES=	mail
MASTER_SITES=	http://www.rulesemporium.com/programs/ \
		ftp://renatasystems.org/pub/FreeBSD/ports/distfiles/
DISTNAME=	${PORTNAME}-${PORTVERSION}.txt
EXTRACT_SUFX=
EXTRACT_ONLY=

MAINTAINER=	alexey@renatasystems.org
COMMENT=	Generates top spam/ham rules fired for SpamAssassin installations

RUN_DEPENDS=	p5-Getopt-Long>=0:${PORTSDIR}/devel/p5-Getopt-Long

USES=		perl5

NO_WRKSUBDIR=	yes
NO_BUILD=	yes

PLIST_FILES=	bin/sa-stats

NO_STAGE=	yes
post-extract:
		${CP} ${DISTDIR}/${DISTNAME} ${WRKSRC}

do-install:
		${INSTALL_SCRIPT} ${WRKSRC}/${DISTNAME} ${PREFIX}/bin/sa-stats

.include <bsd.port.mk>