aboutsummaryrefslogtreecommitdiffstats
path: root/mail/razor-agents/Makefile
blob: 5108bb2d37804420d036750e98cd2167d623a058 (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
# New ports collection makefile for:    razor-agents
# Date created:             29 November 2001
# Whom:                     Yen-Ming Lee <leeym@leeym.com>
#
# $FreeBSD$
#

PORTNAME=   razor-agents
PORTVERSION=    1.20
CATEGORIES= mail
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= razor

MAINTAINER= leeym@leeym.com

BUILD_DEPENDS=  ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Net/DNS.pm:${PORTSDIR}/net/p5-Net-DNS \
        ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Time/HiRes.pm:${PORTSDIR}/devel/p5-Time-HiRes \
        ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Digest/SHA1.pm:${PORTSDIR}/security/p5-Digest-SHA1 \
        ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Mail/Internet.pm:${PORTSDIR}/mail/p5-Mail-Tools
RUN_DEPENDS=    ${BUILD_DEPENDS}

PERL_CONFIGURE= yes

MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
MAN1=       razor-check.1 razor-discover.1 razor-report.1 \
        razor-whitelist.1 razor.conf.1

post-build:
    pod2man ${WRKSRC}/man/razor-whitelist.pod > ${WRKSRC}/blib/man1/razor-whitelist.1
    pod2man ${WRKSRC}/man/razor.conf.pod > ${WRKSRC}/blib/man1/razor.conf.1

.include <bsd.port.mk>