aboutsummaryrefslogtreecommitdiff
path: root/www/p5-Net-Akismet/Makefile
blob: bbbbedf6463b44b2d4c4fb07e40fc43d42fc2dea (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
# New ports collection makefile for:	p5-Net-Akismet
# Date created:				April 20th, 2006
# Whom:	      				Peter Pentchev <roam@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	Net-Akismet
PORTVERSION=	0.05
CATEGORIES=	www perl5
MASTER_SITES=	CPAN
PKGNAMEPREFIX=	p5-

MAINTAINER=	ports@FreeBSD.org
COMMENT=	A Perl interface to the Akismet comment and trackback spam blocker

BUILD_DEPENDS=	p5-libwww>=5.09:${PORTSDIR}/www/p5-libwww
RUN_DEPENDS=	p5-libwww>=5.09:${PORTSDIR}/www/p5-libwww

.if !defined(WITHOUT_TEST_POD_COVERAGE)
BUILD_DEPENDS+=	${SITE_PERL}/Test/Pod/Coverage.pm:${PORTSDIR}/devel/p5-Test-Pod-Coverage
.endif

PERL_CONFIGURE=	yes

MAN3=		Net::Akismet.3

test:		build
		@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} test

.include <bsd.port.mk>