2022-06-08 20:25:41 +00:00
|
|
|
PORTNAME= arc_summary
|
2023-12-15 00:55:29 +00:00
|
|
|
PORTVERSION= 20231114
|
2022-06-08 20:25:41 +00:00
|
|
|
CATEGORIES= sysutils
|
2023-12-15 00:55:29 +00:00
|
|
|
MASTER_SITES= https://cgit.freebsd.org/src/plain/sys/contrib/openzfs/cmd/ \
|
|
|
|
https://cgit.freebsd.org/src/plain/sys/contrib/openzfs/cmd/arc_summary/:13
|
|
|
|
DISTFILES= ${PORTNAME}3?h=releng/13.2:13 \
|
|
|
|
${PORTNAME}?h=releng/14.0 \
|
|
|
|
${PORTNAME}
|
2022-06-08 20:25:41 +00:00
|
|
|
|
|
|
|
MAINTAINER= jrm@FreeBSD.org
|
|
|
|
COMMENT= Print ZFS ARC cache statistics and other information
|
2022-09-12 16:15:01 +00:00
|
|
|
WWW= https://cuddletech.com/2008/10/explore-your-zfs-adaptive-replacement-cache-arc/
|
2022-06-08 20:25:41 +00:00
|
|
|
|
|
|
|
LICENSE= BSD2CLAUSE
|
|
|
|
|
|
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sysctl>0:devel/py-sysctl@${PY_FLAVOR}
|
|
|
|
|
|
|
|
USES= python shebangfix
|
|
|
|
SHEBANG_FILES= ${PORTNAME}
|
|
|
|
|
|
|
|
NO_ARCH= yes
|
|
|
|
NO_BUILD= yes
|
|
|
|
|
|
|
|
NO_WRKSUBDIR= yes
|
|
|
|
PLIST_FILES= bin/arc_summary
|
|
|
|
|
2023-12-15 00:55:29 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
2022-06-08 20:25:41 +00:00
|
|
|
|
|
|
|
do-extract:
|
2023-12-15 00:55:29 +00:00
|
|
|
.if ${OSVERSION} < 1400000
|
|
|
|
${CP} ${DISTDIR}/${PORTNAME}3?h=releng/13.2 ${WRKSRC}/${PORTNAME}
|
|
|
|
.elif ${OSVERSION} >= 1400000 && ${OSVERSION} < 1500000
|
|
|
|
${CP} ${DISTDIR}/${PORTNAME}?h=releng/14.0 ${WRKSRC}/${PORTNAME}
|
|
|
|
.else
|
|
|
|
${CP} ${DISTDIR}/${PORTNAME} ${WRKSRC}/${PORTNAME}
|
|
|
|
.endif
|
2022-06-08 20:25:41 +00:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
|
|
|
|
|
2023-12-15 00:55:29 +00:00
|
|
|
.include <bsd.port.post.mk>
|