aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authormm <mm@FreeBSD.org>2011-07-20 21:15:38 +0800
committermm <mm@FreeBSD.org>2011-07-20 21:15:38 +0800
commit92d395a3fa382f572779ac3805a5270627a38d2e (patch)
tree21f3b1b9c9eb92ebc178a4fefb039692b6dc12d7 /sysutils
parentb1edd5fa3229cc153b03ea5cd94b2527a531f7a2 (diff)
downloadfreebsd-ports-gnome-92d395a3fa382f572779ac3805a5270627a38d2e.tar.gz
freebsd-ports-gnome-92d395a3fa382f572779ac3805a5270627a38d2e.tar.zst
freebsd-ports-gnome-92d395a3fa382f572779ac3805a5270627a38d2e.zip
Update to 1.1
Remove optional dependency on Number::Bytes::Human
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/zfs-stats/Makefile14
-rw-r--r--sysutils/zfs-stats/distinfo4
-rw-r--r--sysutils/zfs-stats/pkg-descr3
3 files changed, 8 insertions, 13 deletions
diff --git a/sysutils/zfs-stats/Makefile b/sysutils/zfs-stats/Makefile
index 2a08b95902b2..90aabbf8ae22 100644
--- a/sysutils/zfs-stats/Makefile
+++ b/sysutils/zfs-stats/Makefile
@@ -6,9 +6,9 @@
#
PORTNAME= zfs-stats
-PORTVERSION= 1.0
+PORTVERSION= 1.1
CATEGORIES= sysutils
-MASTER_SITES= http://www.vx.sk/zfs-stats/
+MASTER_SITES= http://cloud.github.com/downloads/mmatuska/zfs-stats/
MAINTAINER= mm@FreeBSD.org
COMMENT= Display human-readable ZFS statistics
@@ -21,16 +21,8 @@ NO_BUILD= yes
PLIST_FILES= bin/zfs-stats
-OPTIONS= HUMAN_BYTES "Depend on Number::Bytes::Human" off
-
-.include <bsd.port.options.mk>
-
-.if defined(WITH_HUMAN_BYTES)
-RUN_DEPENDS+= p5-Number-Bytes-Human>0:${PORTSDIR}/devel/p5-Number-Bytes-Human
-.endif
-
do-patch:
- @${REINPLACE_CMD} -e "s|/usr/local/bin/perl|${PERL}|g" ${WRKSRC}/zfs-stats
+ @${REINPLACE_CMD} -e "s|/usr/bin/env -iS perl|${PERL}|g" ${WRKSRC}/zfs-stats
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/zfs-stats ${PREFIX}/bin/zfs-stats
diff --git a/sysutils/zfs-stats/distinfo b/sysutils/zfs-stats/distinfo
index 8299255d1700..239ce02ba1bd 100644
--- a/sysutils/zfs-stats/distinfo
+++ b/sysutils/zfs-stats/distinfo
@@ -1,2 +1,2 @@
-SHA256 (zfs-stats-1.0.tar.gz) = e6e849dc43ea1e936ddca5924176a525378ab5ce556e074db324dcae23cf0c28
-SIZE (zfs-stats-1.0.tar.gz) = 5876
+SHA256 (zfs-stats-1.1.tar.gz) = f1e1c37ae09066f81da211ffbe0707b3fbb43fceb028562aa599ba0a0737db56
+SIZE (zfs-stats-1.1.tar.gz) = 7334
diff --git a/sysutils/zfs-stats/pkg-descr b/sysutils/zfs-stats/pkg-descr
index 73125ffacf48..74c2a78d39ac 100644
--- a/sysutils/zfs-stats/pkg-descr
+++ b/sysutils/zfs-stats/pkg-descr
@@ -1,4 +1,7 @@
zfs-stats displays ZFS statistics in human-readable format including
ARC, L2ARC, zfetch (DMU) and vdev cache statistics.
+This script is a fork of Jason J. Hellenthal's <jhell@DataIX.net>
+arc_summary.pl: http://code.google.com/p/jhell/
+
WWW: http://www.vx.sk/zfs-stats/