aboutsummaryrefslogtreecommitdiffstats
path: root/mail/sa-stats/Makefile
blob: cd27ca9c506c7da6aba51cf23e212bc52bb28f73 (plain) (blame)
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
PORTREVISION=   1
CATEGORIES= mail
MASTER_SITES=   http://www.rulesemporium.com/programs/ \
        ftp://renatasystems.org/pub/FreeBSD/ports/distfiles/
EXTRACT_SUFX=   .txt
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

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

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

.include <bsd.port.mk>