aboutsummaryrefslogtreecommitdiff
path: root/net/p5-Net-SNPP/Makefile
blob: 0f8bb9868cb627e6845c9aaacf36d49644704af9 (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
# New ports collection makefile for:	Net-SNPP
# Date created:		6 Jun 2002
# Whom:			devin@spamcop.net
#
# $FreeBSD$
#

PORTNAME=	Net-SNPP
PORTVERSION=	1.17
CATEGORIES=	net perl5
MASTER_SITES=	CPAN
PKGNAMEPREFIX=	p5-

MAINTAINER=	erwin@FreeBSD.org
COMMENT=	Net::SNPP - Perl Simple Network Pager Protocol Client

PERL_CONFIGURE=	yes

MAN3=		Net::SNPP.3 \
		Net::SNPP::Server.3

post-patch:
	@${PERL} -pi -e '$$_="" if /warnings/;' \
		${WRKSRC}/lib/Net/SNPP/Server.pm
	@${RM} ${WRKSRC}/lib/Net/SNPP/Server.pm.orig

.include <bsd.port.pre.mk>

.if ${PERL_LEVEL} < 500800
BUILD_DEPENDS=	${SITE_PERL}/Net/Cmd.pm:${PORTSDIR}/net/p5-Net
RUN_DEPENDS=	${BUILD_DEPENDS}
.endif

.include <bsd.port.post.mk>