Update port to 4.72.

Use REINPLACE.

Submitted by:	Thomas Vogt <thomas.vogt@bsdunix.ch> (update)
This commit is contained in:
Chris D. Faulhaber 2002-10-08 20:32:02 +00:00
parent e6d6d90047
commit 84aa8ad63d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=67667
3 changed files with 14 additions and 10 deletions

View File

@ -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>

View File

@ -1 +1 @@
MD5 (grepmail-4.70.tar.gz) = 5ebb0809df1bf4eb8f6251d23e286965
MD5 (grepmail-4.72.tar.gz) = 6946f93d62d2e78c87dc81e45b25d57c

View File

@ -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
-eval 'exec /usr/bin/perl -w -S $0 ${1+"$@"}'
+eval 'exec _PERL -w -S $0 ${1+"$@"}'
if 0; # not running under some shell
# grepmail