summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey A. Osokin <osa@FreeBSD.org>2003-06-10 09:30:21 +0000
committerSergey A. Osokin <osa@FreeBSD.org>2003-06-10 09:30:21 +0000
commita90e5ffb3bbcdd0a084b619cc035ad36e5ac0a8e (patch)
tree35bad086d6bfca619ae4e9ea1a647a046158556e
parentNew port: devel/libzt (diff)
Update to to 0.2.23
Submitted by: KATO Tsuguru <tkato@prontomail.com> PR: 53105 Approved by: fjoe (implicit)
-rw-r--r--misc/patchutils/Makefile10
-rw-r--r--misc/patchutils/distinfo2
2 files changed, 5 insertions, 7 deletions
diff --git a/misc/patchutils/Makefile b/misc/patchutils/Makefile
index 3aef55dc8e5c..470da29aad11 100644
--- a/misc/patchutils/Makefile
+++ b/misc/patchutils/Makefile
@@ -7,8 +7,7 @@
#
PORTNAME= patchutils
-PORTVERSION= 0.2.22
-PORTREVISION= 1
+PORTVERSION= 0.2.23
CATEGORIES= misc
MASTER_SITES= http://cyberelk.net/tim/data/patchutils/stable/
@@ -17,6 +16,7 @@ COMMENT= A small collection of programs that operate on patch files
USE_BZIP2= yes
USE_PERL5= yes
+USE_GETOPT_LONG=yes
GNU_CONFIGURE= yes
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
@@ -25,9 +25,7 @@ MAN1= combinediff.1 dehtmldiff.1 editdiff.1 espdiff.1 filterdiff.1 \
rediff.1 splitdiff.1 unwrapdiff.1
post-patch:
- @${PERL} -pi.bak -e "s,#!/bin/bash,#!/bin/sh," \
- ${WRKSRC}/dehtmldiff.in \
- ${WRKSRC}/editdiff.in \
- ${WRKSRC}/move-to-front
+ @${GREP} -lR "#!/bin/bash" ${WRKSRC} | ${XARGS} ${PERL} -pi.bak -e \
+ "s,#!/bin/bash,#!/bin/sh,"
.include <bsd.port.mk>
diff --git a/misc/patchutils/distinfo b/misc/patchutils/distinfo
index 7a894d021c88..3569d64f70cb 100644
--- a/misc/patchutils/distinfo
+++ b/misc/patchutils/distinfo
@@ -1 +1 @@
-MD5 (patchutils-0.2.22.tar.bz2) = 30f943741faba98db4b2caa58d4a19df
+MD5 (patchutils-0.2.23.tar.bz2) = a38616eace0df5ba537855a012df7687