aboutsummaryrefslogtreecommitdiff
path: root/mail/p5-Mail-RBL/Makefile
blob: 6281791d21fc54f4c902dada472380ddfc4dbf3e (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
# New ports collection makefile for:	p5-Mail-RBL
# Date created:				July 24th 2002
# Whom:	      				Erwin Lansing <erwin@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	Mail-RBL
PORTVERSION=	1.00
CATEGORIES=	mail perl5
MASTER_SITES=	${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR=	Mail
PKGNAMEPREFIX=	p5-

MAINTAINER=	erwin@FreeBSD.org
COMMENT=	Perl extension to access RBL-style host verification services

PERL_CONFIGURE=	yes

MAN3=		Mail::RBL.3

FILES=		Makefile.PL test.pl RBL.pm

pre-patch:
.for i in ${FILES}
	@${PERL} -pi -e 's/\r//' ${WRKSRC}/${i}
.endfor
	@${PERL} -pi -e 's/^our\s+([\$$\@\%]\w+)/use vars qw($$1);$$1/;' \
		-e '$$_="" if /require 5/;' \
		-e '$$_="" if /use warnings/;' \
		${WRKSRC}/RBL.pm

.include <bsd.port.mk>