aboutsummaryrefslogtreecommitdiffstats
path: root/mail/sa-stats/Makefile
blob: b92d9e3d16d04f905540c0922bddddcfdcf7e34f (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
33
34
35
# New ports collection makefile for:    sa-stats
# Date created:             Tue 16 Mar 2010
# Whom:                 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

USE_PERL5=  yes

NO_WRKSUBDIR=   yes
NO_BUILD=   yes

PLIST_FILES=    bin/sa-stats

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

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

.include <bsd.port.mk>