aboutsummaryrefslogtreecommitdiffstats
path: root/mail/pflogsumm/Makefile
blob: 8920c28fbfb99fe671a766bf3247635d6fcbbd4a (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
# New ports collection makefile for:    pflogsumm
# Date created:             13 April 2001
# Whom:                 Sergey Osokin aka oZZ <ports@FreeBSD.org>
#
# $FreeBSD$
#

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

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

RUN_DEPENDS=    ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Date/Calc.pm:${PORTSDIR}/devel/p5-Date-Calc

NO_BUILD=   yes
USE_PERL5=  yes

MAN1=       pflogsumm.1

do-install:
    ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}.pl \
        ${PREFIX}/bin/${PORTNAME}
    ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${MAN1PREFIX}/man/man1
.if !defined(NOPORTDOCS)
    @${MKDIR} ${PREFIX}/share/doc/pflogsumm
.for i in README ToDo pflogsumm-faq.txt
    ${INSTALL_DATA} ${WRKSRC}/$i ${PREFIX}/share/doc/pflogsumm
.endfor
.endif

.include <bsd.port.mk>