aboutsummaryrefslogtreecommitdiff
path: root/sysutils/arc_summary/Makefile
blob: 7423102cd884792319b0b1f3dd059ca49bc84dc7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
PORTNAME=	arc_summary
PORTVERSION=	20230609
CATEGORIES=	sysutils
MASTER_SITES=	https://raw.githubusercontent.com/openzfs/zfs/${_REV}/cmd/
DISTFILES=	${PORTNAME}?${PORTVERSION}

MAINTAINER=	jrm@FreeBSD.org
COMMENT=	Print ZFS ARC cache statistics and other information
WWW=		https://cuddletech.com/2008/10/explore-your-zfs-adaptive-replacement-cache-arc/

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

_REV=		70ea484e3ec56c529c6c5027ffc43840100ce224

do-extract:
	${CP} ${DISTDIR}/${DISTFILES} ${WRKSRC}/${PORTNAME}

do-install:
	${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/

.include <bsd.port.mk>