diff options
author | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2002-08-05 04:32:09 +0000 |
---|---|---|
committer | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2002-08-05 04:32:09 +0000 |
commit | 2157ceb0bf9852d1e003da0c0a29aecb507a8a0b (patch) | |
tree | 7c7cab7289e97c123b1ecfa8b8970416b0538402 /mail/p5-Mail-RBL/Makefile | |
parent | 9883e48d473fb06893550f50596c0a358581e83c (diff) | |
download | ports-2157ceb0bf9852d1e003da0c0a29aecb507a8a0b.tar.gz ports-2157ceb0bf9852d1e003da0c0a29aecb507a8a0b.zip |
Notes
Diffstat (limited to 'mail/p5-Mail-RBL/Makefile')
-rw-r--r-- | mail/p5-Mail-RBL/Makefile | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/mail/p5-Mail-RBL/Makefile b/mail/p5-Mail-RBL/Makefile new file mode 100644 index 000000000000..dfe4c822fad1 --- /dev/null +++ b/mail/p5-Mail-RBL/Makefile @@ -0,0 +1,33 @@ +# New ports collection makefile for: p5-Mail-RBL +# Date created: July 24th 2002 +# Whom: Erwin Lansing <erwin@lansing.dk> +# +# $FreeBSD$ +# + +PORTNAME= Mail-RBL +PORTVERSION= 1.00 +CATEGORIES= mail perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= Mail +PKGNAMEPREFIX= p5- + +MAINTAINER= erwin@lansing.dk + +PERL_CONFIGURE= yes + +MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} +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> |