aboutsummaryrefslogtreecommitdiffstats
path: root/mail/p5-Mail-Sender/Makefile
diff options
context:
space:
mode:
authortobez <tobez@FreeBSD.org>2004-02-11 17:39:56 +0800
committertobez <tobez@FreeBSD.org>2004-02-11 17:39:56 +0800
commit102dcb91d6ff3db1eeb3cc1e7302e45de95b4529 (patch)
tree08fba6ac167a06a273557addb56b68dcfc107bd6 /mail/p5-Mail-Sender/Makefile
parent7bf51be43d6434e739193bf555ed0b76493594c8 (diff)
downloadfreebsd-ports-gnome-102dcb91d6ff3db1eeb3cc1e7302e45de95b4529.tar.gz
freebsd-ports-gnome-102dcb91d6ff3db1eeb3cc1e7302e45de95b4529.tar.zst
freebsd-ports-gnome-102dcb91d6ff3db1eeb3cc1e7302e45de95b4529.zip
Update to 0.8.10.
Submitted by: mat
Diffstat (limited to 'mail/p5-Mail-Sender/Makefile')
-rw-r--r--mail/p5-Mail-Sender/Makefile16
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>