From 8179cf9c3e34d43801f6578620f8ea0738f11794 Mon Sep 17 00:00:00 2001
From: Anton Berezin <tobez@FreeBSD.org>
Date: Tue, 22 Jan 2002 16:48:41 +0000
Subject: Update to 1.04.

PR:		33933
Submitted by:	Leo Kim <leo@florida.sarang.net>
---
 textproc/p5-DelimMatch/Makefile | 8 ++++----
 textproc/p5-DelimMatch/distinfo | 2 +-
 2 files changed, 5 insertions(+), 5 deletions(-)

(limited to 'textproc/p5-DelimMatch')

diff --git a/textproc/p5-DelimMatch/Makefile b/textproc/p5-DelimMatch/Makefile
index c7c0bf21194b..fff2283f67a4 100644
--- a/textproc/p5-DelimMatch/Makefile
+++ b/textproc/p5-DelimMatch/Makefile
@@ -6,10 +6,9 @@
 #
 
 PORTNAME=	DelimMatch
-PORTVERSION=	1.03
+PORTVERSION=	1.04
 CATEGORIES=	textproc perl5
-MASTER_SITES=	${MASTER_SITE_PERL_CPAN}
-MASTER_SITE_SUBDIR=	Text
+MASTER_SITES=	http://nwalsh.com/perl/delimmatch/
 PKGNAMEPREFIX=	p5-
 
 MAINTAINER=	tobez@FreeBSD.org
@@ -20,6 +19,7 @@ MAN3=		Text::DelimMatch.3
 MANPREFIX=	${PREFIX}/lib/perl5/${PERL_VERSION}
 
 pre-patch:
-	@${PERL} -pi -e 's/(\$$match,.*)\$$match,/$$1/' ${WRKSRC}/DelimMatch.pm
+	${MV} ${WRKSRC}/DelimMatch.pm ${WRKSRC}/DelimMatch.pm.old
+	${TR} -d "[\r]" < ${WRKSRC}/DelimMatch.pm.old > ${WRKSRC}/DelimMatch.pm
 
 .include <bsd.port.mk>
diff --git a/textproc/p5-DelimMatch/distinfo b/textproc/p5-DelimMatch/distinfo
index 7001f53cb85b..39919fac2112 100644
--- a/textproc/p5-DelimMatch/distinfo
+++ b/textproc/p5-DelimMatch/distinfo
@@ -1 +1 @@
-MD5 (DelimMatch-1.03.tar.gz) = 158158491edbdcf128db62f6adf167ab
+MD5 (DelimMatch-1.04.tar.gz) = a77a5430605c42ca7d46db424d1cdc9b
-- 
cgit v1.2.3