svn commit: r363642 - head/sysutils/zfs-stats

William Grzybowski wg at FreeBSD.org
Thu Jul 31 17:31:14 UTC 2014


Author: wg
Date: Thu Jul 31 17:31:14 2014
New Revision: 363642
URL: http://svnweb.freebsd.org/changeset/ports/363642
QAT: https://qat.redports.org/buildarchive/r363642/

Log:
  sysutils/zfs-stats: fix zfs-mon shebang
  
  PR:		191737
  Submitted by:	Jan Beich
  Approved by:	maintainer (timeout)

Modified:
  head/sysutils/zfs-stats/Makefile

Modified: head/sysutils/zfs-stats/Makefile
==============================================================================
--- head/sysutils/zfs-stats/Makefile	Thu Jul 31 17:31:03 2014	(r363641)
+++ head/sysutils/zfs-stats/Makefile	Thu Jul 31 17:31:14 2014	(r363642)
@@ -3,6 +3,7 @@
 
 PORTNAME=	zfs-stats
 PORTVERSION=	1.2.2
+PORTREVISION=	1
 CATEGORIES=	sysutils
 MASTER_SITES=	http://cloud.github.com/downloads/mmatuska/zfs-stats/
 
@@ -11,16 +12,15 @@ COMMENT=	Display human-readable ZFS stat
 
 LICENSE=	BSD2CLAUSE
 
-USES=		perl5
+USES=		perl5 shebangfix
 
 NO_BUILD=	yes
+SHEBANG_FILES=	zfs-*
+perl_OLD_CMD=	/usr/bin/env -iS perl
 
 PLIST_FILES=	bin/zfs-stats \
 		bin/zfs-mon
 
-post-patch:
-	@${REINPLACE_CMD} -e "s|/usr/bin/env -iS perl|${PERL}|g" ${WRKSRC}/zfs-stats
-
 do-install:
 	${INSTALL_SCRIPT} ${WRKSRC}/zfs-stats ${STAGEDIR}${PREFIX}/bin/zfs-stats
 	${INSTALL_SCRIPT} ${WRKSRC}/zfs-mon ${STAGEDIR}${PREFIX}/bin/zfs-mon


More information about the svn-ports-all mailing list