aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authorosa <osa@FreeBSD.org>2003-06-10 17:30:21 +0800
committerosa <osa@FreeBSD.org>2003-06-10 17:30:21 +0800
commit5d6dc0399a50ea00991980c7101bc3c23283a1ab (patch)
tree88f49325e88618923b36575717ad3a749e0e4328 /misc
parent756f221828e9b067b88e74c0aa44b67e576c1c74 (diff)
downloadfreebsd-ports-gnome-5d6dc0399a50ea00991980c7101bc3c23283a1ab.tar.gz
freebsd-ports-gnome-5d6dc0399a50ea00991980c7101bc3c23283a1ab.tar.zst
freebsd-ports-gnome-5d6dc0399a50ea00991980c7101bc3c23283a1ab.zip
Update to to 0.2.23
Submitted by: KATO Tsuguru <tkato@prontomail.com> PR: 53105 Approved by: fjoe (implicit)
Diffstat (limited to 'misc')
-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