summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mail/grepmail/Makefile7
-rw-r--r--mail/grepmail/distinfo2
-rw-r--r--mail/grepmail/files/patch-aa15
3 files changed, 14 insertions, 10 deletions
diff --git a/mail/grepmail/Makefile b/mail/grepmail/Makefile
index dfcb69f24812..c5137450fad6 100644
--- a/mail/grepmail/Makefile
+++ b/mail/grepmail/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= grepmail
-PORTVERSION= 4.70
+PORTVERSION= 4.72
CATEGORIES= mail
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -17,11 +17,12 @@ BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Date/Parse.pm:${PORT
RUN_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Date/Parse.pm:${PORTSDIR}/devel/p5-TimeDate
PERL_CONFIGURE= yes
+USE_REINPLACE= yes
MAN1= grepmail.1
post-patch:
- @${PERL} -pi -e 's!<STDIN>!"n"!' ${WRKSRC}/Makefile.PL
- @${PERL} -pi -e 's|_PERL_|${PERL}|' ${WRKSRC}/grepmail
+ @${REINPLACE_CMD} -e 's!<STDIN>!"n"!' ${WRKSRC}/Makefile.PL
+ @${REINPLACE_CMD} -e 's|_PERL_|${PERL}|' ${WRKSRC}/grepmail
.include <bsd.port.mk>
diff --git a/mail/grepmail/distinfo b/mail/grepmail/distinfo
index a56479a0cf44..bb9cbb4ea216 100644
--- a/mail/grepmail/distinfo
+++ b/mail/grepmail/distinfo
@@ -1 +1 @@
-MD5 (grepmail-4.70.tar.gz) = 5ebb0809df1bf4eb8f6251d23e286965
+MD5 (grepmail-4.72.tar.gz) = 6946f93d62d2e78c87dc81e45b25d57c
diff --git a/mail/grepmail/files/patch-aa b/mail/grepmail/files/patch-aa
index 75ed4a21c977..6203cbc866dc 100644
--- a/mail/grepmail/files/patch-aa
+++ b/mail/grepmail/files/patch-aa
@@ -1,8 +1,11 @@
---- grepmail Tue May 2 18:23:15 2000
-+++ grepmail Tue May 2 21:52:00 2000
-@@ -1,4 +1,4 @@
--#!/users/dwc3q/bin/perl -w
-+#!_PERL_
+--- grepmail.orig Mon Sep 2 15:41:00 2002
++++ grepmail Tue Oct 8 16:28:44 2002
+@@ -1,6 +1,6 @@
+-#!/usr/bin/perl -w
++#!_PERL_ -w
- # grepmail
+-eval 'exec /usr/bin/perl -w -S $0 ${1+"$@"}'
++eval 'exec _PERL -w -S $0 ${1+"$@"}'
+ if 0; # not running under some shell
+ # grepmail