# New ports collection makefile for: p5-Mail-RBL # Date created: July 24th 2002 # Whom: Erwin Lansing # # $FreeBSD$ # PORTNAME= Mail-RBL PORTVERSION= 1.02 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 BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Net/DNS.pm:${PORTSDIR}/dns/p5-Net-DNS \ ${SITE_PERL}/NetAddr/IP.pm:${PORTSDIR}/net-mgmt/p5-NetAddr-IP \ ${SITE_PERL}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple RUN_DEPENDS= ${BUILD_DEPENDS} PERL_CONFIGURE= yes MAN3= Mail::RBL.3 FILES= Makefile.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