mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-02 01:20:54 +00:00
c634b4bb83
PR: 58166 Submitted by: Cheng-Lung Sung <clsung@dragon2.net>
34 lines
732 B
Makefile
34 lines
732 B
Makefile
# 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>
|