diff options
author | Anton Berezin <tobez@FreeBSD.org> | 2004-02-11 09:39:56 +0000 |
---|---|---|
committer | Anton Berezin <tobez@FreeBSD.org> | 2004-02-11 09:39:56 +0000 |
commit | 51f01566bcbd2d51cd1f747477d2616e5e81f7c7 (patch) | |
tree | cb32b378feda6001257f6a98ca577f610a30ee63 /mail/p5-Mail-Sender/Makefile | |
parent | f2d7d6c5c4fb8670a9dfca11097f12a45bf4ae6f (diff) |
Notes
Diffstat (limited to 'mail/p5-Mail-Sender/Makefile')
-rw-r--r-- | mail/p5-Mail-Sender/Makefile | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/mail/p5-Mail-Sender/Makefile b/mail/p5-Mail-Sender/Makefile index 82f9051c3ca2..db4c4fe7cfb3 100644 --- a/mail/p5-Mail-Sender/Makefile +++ b/mail/p5-Mail-Sender/Makefile @@ -6,7 +6,7 @@ # PORTNAME= Mail-Sender -PORTVERSION= 0.8.06 +PORTVERSION= 0.8.10 CATEGORIES= mail perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN} MASTER_SITE_SUBDIR= Mail @@ -19,12 +19,6 @@ PERL_CONFIGURE= yes MAN3= Mail::Sender.3 -post-patch: - ${PERL} -pi -e '$$_="" if /\bwarnings\b/' ${WRKSRC}/Sender.pm -.if defined(BATCH) - ${PERL} -pi -e 's/res = <STDIN>;/res = "N";/' ${WRKSRC}/Config.PL -.endif - .include <bsd.port.pre.mk> .if ${PERL_LEVEL} < 500800 @@ -32,4 +26,12 @@ BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/MIME/Base64.pm:${PORTSDIR}/converters/p RUN_DEPENDS= ${BUILD_DEPENDS} .endif +post-patch: +.if ${PERL_LEVEL} < 500600 + @${PERL} -pi -e '$$_="" if /\bwarnings\b/' ${WRKSRC}/Sender.pm +.endif +.if defined(BATCH) + @${PERL} -pi -e 's/res = <STDIN>;/res = "N";/' ${WRKSRC}/Config.PL +.endif + .include <bsd.port.post.mk> |