summaryrefslogtreecommitdiff
path: root/mail/p5-razor-agents/Makefile
blob: 33622bdd8783c0876e478bbab24a4fefb73953e8 (plain)
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
# $NetBSD: Makefile,v 1.4 2002/10/06 04:10:24 heinz Exp $

DISTNAME=	razor-agents-2.14
PKGNAME=	p5-${DISTNAME}
SVR4_PKGNAME=	p5ra
CATEGORIES=	mail
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE:=razor/}

MAINTAINER=	packages@netbsd.org
HOMEPAGE=	http://razor.sourceforge.net/
COMMENT=	distributed and collaborative spam detection network

DEPENDS+=	p5-Net-DNS-[0-9]*:../../net/p5-Net-DNS
DEPENDS+=	p5-Time-HiRes-[0-9]*:../../time/p5-Time-HiRes
DEPENDS+=	p5-Digest-SHA1-[0-9]*:../../security/p5-Digest-SHA1
DEPENDS+=	p5-Digest-Nilsimsa-[0-9]*:../../security/p5-Digest-Nilsimsa
DEPENDS+=	p5-URI-[0-9]*:../../www/p5-URI

# because Net::Ping, Getopt::Long, File::Copy are needed
BUILDLINK_DEPENDS.perl=	perl>=5.6.0
USE_BUILDLINK2=		YES

PERL5_CONFIGURE=	YES
PERL5_PACKLIST=		${PERL5_SITEARCH}/auto/razor-agents/.packlist

test: build
	@cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKEFLAGS} test

.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"