aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--textproc/p5-DelimMatch/Makefile8
-rw-r--r--textproc/p5-DelimMatch/distinfo2
2 files changed, 5 insertions, 5 deletions
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