1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00
freebsd-ports/net/p5-Net-SNPP/Makefile
Marcelo Araujo 4aaab89f57 - Take advantage of CPAN macro from bsd.sites.mk, change ${MASTER_SITE_PERL_CPAN} to CPAN.
PR:		ports/122674
Submitted by:	Philip M. Gollucci <pgollucci@p6m7g8.com>
Reworked by:	araujo (myself)
Approved by:	portmgr (pav)
2008-04-17 14:30:31 +00:00

35 lines
696 B
Makefile

# 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>