aboutsummaryrefslogtreecommitdiffstats
path: root/mail/pflogsumm/Makefile
blob: 4d3bd31dae55230a74679f62b32a48f5b7166011 (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
36
37
# Created by: Sergey A. Osokin <osa@FreeBSD.org>
# $FreeBSD$

PORTNAME=   pflogsumm
PORTVERSION=    1.1.5
PORTEPOCH=  1
CATEGORIES= mail
MASTER_SITES=   http://jimsun.LinxNet.com/downloads/ \
        ftp://jimsun.LinxNet.com/pub/postfix_contrib/

MAINTAINER= flo@FreeBSD.org
COMMENT=    Postfix Log Entry Summarizer

RUN_DEPENDS=    p5-Date-Calc>=0:${PORTSDIR}/devel/p5-Date-Calc

NO_BUILD=   yes
USES=       perl5
PLIST_FILES=    bin/pflogsumm
.if !defined(NOPORTDOCS)
PORTDOCS=   README ToDo pflogsumm-faq.txt
.endif

MAN1=       pflogsumm.1

NO_STAGE=   yes
do-install:
    ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}.pl \
        ${PREFIX}/bin/${PORTNAME}
    ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${MAN1PREFIX}/man/man1
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
.for i in ${PORTDOCS}
    ${INSTALL_DATA} ${WRKSRC}/$i ${DOCSDIR}
.endfor
.endif

.include <bsd.port.mk>