aboutsummaryrefslogtreecommitdiff
path: root/sysutils/zfs-stats
diff options
context:
space:
mode:
authorMartin Matuska <mm@FreeBSD.org>2011-07-21 20:18:09 +0000
committerMartin Matuska <mm@FreeBSD.org>2011-07-21 20:18:09 +0000
commit002468203a00a7124126030a165b99849097a593 (patch)
tree1e149207646125a3430e8712ca858009ac856ad5 /sysutils/zfs-stats
parent37ed51a3657669e696ba9dde24d655f996c6b771 (diff)
downloadports-002468203a00a7124126030a165b99849097a593.tar.gz
ports-002468203a00a7124126030a165b99849097a593.zip
- Add small patch: remove unexisting attribute from example
Notes
Notes: svn path=/head/; revision=278131
Diffstat (limited to 'sysutils/zfs-stats')
-rw-r--r--sysutils/zfs-stats/Makefile3
-rw-r--r--sysutils/zfs-stats/files/patch-zfs.stats11
2 files changed, 13 insertions, 1 deletions
diff --git a/sysutils/zfs-stats/Makefile b/sysutils/zfs-stats/Makefile
index 90aabbf8ae22..53ee5cfd80ae 100644
--- a/sysutils/zfs-stats/Makefile
+++ b/sysutils/zfs-stats/Makefile
@@ -7,6 +7,7 @@
PORTNAME= zfs-stats
PORTVERSION= 1.1
+PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= http://cloud.github.com/downloads/mmatuska/zfs-stats/
@@ -21,7 +22,7 @@ NO_BUILD= yes
PLIST_FILES= bin/zfs-stats
-do-patch:
+post-patch:
@${REINPLACE_CMD} -e "s|/usr/bin/env -iS perl|${PERL}|g" ${WRKSRC}/zfs-stats
do-install:
diff --git a/sysutils/zfs-stats/files/patch-zfs.stats b/sysutils/zfs-stats/files/patch-zfs.stats
new file mode 100644
index 000000000000..c041ccb416c4
--- /dev/null
+++ b/sysutils/zfs-stats/files/patch-zfs.stats
@@ -0,0 +1,11 @@
+--- zfs-stats.orig 2011-07-21 22:14:21.819600188 +0200
++++ zfs-stats 2011-07-21 22:14:29.613693502 +0200
+@@ -78,7 +78,7 @@
+ -V : display program version and exit
+ -h : display this (help) message
+
+-example: $0 -b
++example: $0 -a
+ EOF
+ exit;
+ }