Update to 1.1

Remove optional dependency on Number::Bytes::Human
This commit is contained in:
Martin Matuska 2011-07-20 13:15:38 +00:00
parent 1a5066db13
commit 4d4e032d4f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=278006
3 changed files with 8 additions and 13 deletions

View file

@ -6,9 +6,9 @@
# #
PORTNAME= zfs-stats PORTNAME= zfs-stats
PORTVERSION= 1.0 PORTVERSION= 1.1
CATEGORIES= sysutils CATEGORIES= sysutils
MASTER_SITES= http://www.vx.sk/zfs-stats/ MASTER_SITES= http://cloud.github.com/downloads/mmatuska/zfs-stats/
MAINTAINER= mm@FreeBSD.org MAINTAINER= mm@FreeBSD.org
COMMENT= Display human-readable ZFS statistics COMMENT= Display human-readable ZFS statistics
@ -21,16 +21,8 @@ NO_BUILD= yes
PLIST_FILES= bin/zfs-stats 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: 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: do-install:
${INSTALL_SCRIPT} ${WRKSRC}/zfs-stats ${PREFIX}/bin/zfs-stats ${INSTALL_SCRIPT} ${WRKSRC}/zfs-stats ${PREFIX}/bin/zfs-stats

View file

@ -1,2 +1,2 @@
SHA256 (zfs-stats-1.0.tar.gz) = e6e849dc43ea1e936ddca5924176a525378ab5ce556e074db324dcae23cf0c28 SHA256 (zfs-stats-1.1.tar.gz) = f1e1c37ae09066f81da211ffbe0707b3fbb43fceb028562aa599ba0a0737db56
SIZE (zfs-stats-1.0.tar.gz) = 5876 SIZE (zfs-stats-1.1.tar.gz) = 7334

View file

@ -1,4 +1,7 @@
zfs-stats displays ZFS statistics in human-readable format including zfs-stats displays ZFS statistics in human-readable format including
ARC, L2ARC, zfetch (DMU) and vdev cache statistics. 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/ WWW: http://www.vx.sk/zfs-stats/