summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjohans <johans@FreeBSD.org>2015-04-21 16:58:05 +0000
committerjohans <johans@FreeBSD.org>2015-04-21 16:58:05 +0000
commit05dc5a756d9a1dc79e025862107faeeb99802e1a (patch)
tree0f57ba55bdfce273d64e296f6c93e3a4d98ecf49
parentbfec659bcff32c947dcba3da7a73646b89364d9e (diff)
downloadFreeBSD-ports-05dc5a756d9a1dc79e025862107faeeb99802e1a.zip
FreeBSD-ports-05dc5a756d9a1dc79e025862107faeeb99802e1a.tar.gz
- Update patchutils to 0.3.4
- Add dependency on bash for bash-scripts
-rw-r--r--misc/patchutils/Makefile12
-rw-r--r--misc/patchutils/distinfo4
2 files changed, 9 insertions, 7 deletions
diff --git a/misc/patchutils/Makefile b/misc/patchutils/Makefile
index 4bee9e0..0f3077b 100644
--- a/misc/patchutils/Makefile
+++ b/misc/patchutils/Makefile
@@ -2,19 +2,21 @@
# $FreeBSD$
PORTNAME= patchutils
-PORTVERSION= 0.3.3
+PORTVERSION= 0.3.4
CATEGORIES= misc
MASTER_SITES= http://cyberelk.net/tim/data/patchutils/stable/
MAINTAINER= johans@FreeBSD.org
COMMENT= Small collection of programs that operate on patch files
-USES= perl5 tar:xz
+RUN_DEPENDS= bash:${PORTSDIR}/shells/bash
+
+USES= perl5 shebangfix tar:xz
USE_PERL5= run build patch
GNU_CONFIGURE= yes
+SHEBANG_FILES= scripts/*
-post-patch:
- @${GREP} -lR "#!/bin/bash" ${WRKSRC} | ${XARGS} ${PERL} -pi.bak -e \
- "s,#!/bin/bash,#!/bin/sh,"
+post-install:
+ ${INSTALL_MAN} ${WRKSRC}/doc/*.1 ${STAGEDIR}/${MANPREFIX}/man/man1
.include <bsd.port.mk>
diff --git a/misc/patchutils/distinfo b/misc/patchutils/distinfo
index f72228a..c04faac 100644
--- a/misc/patchutils/distinfo
+++ b/misc/patchutils/distinfo
@@ -1,2 +1,2 @@
-SHA256 (patchutils-0.3.3.tar.xz) = 91f4e8451b2efcac5d40c966e42c175803450f0de94c926bfecc12c90070ad3c
-SIZE (patchutils-0.3.3.tar.xz) = 156328
+SHA256 (patchutils-0.3.4.tar.xz) = cf55d4db83ead41188f5b6be16f60f6b76a87d5db1c42f5459d596e81dabe876
+SIZE (patchutils-0.3.4.tar.xz) = 166400
OpenPOWER on IntegriCloud