diff options
| author | Joseph Mingrone <jrm@FreeBSD.org> | 2023-12-15 00:55:29 +0000 |
|---|---|---|
| committer | Joseph Mingrone <jrm@FreeBSD.org> | 2023-12-15 12:59:06 +0000 |
| commit | 99767f704b5d493ce2d04365a42f70bdadb31bf7 (patch) | |
| tree | 3d46f3b8bd5da66b1ef96f0b18602ecf06f872f0 /sysutils/arc_summary/Makefile | |
| parent | 970e8686668ccb41caf3089b011644eb8724e114 (diff) | |
Diffstat (limited to 'sysutils/arc_summary/Makefile')
| -rw-r--r-- | sysutils/arc_summary/Makefile | 21 |
1 files changed, 15 insertions, 6 deletions
diff --git a/sysutils/arc_summary/Makefile b/sysutils/arc_summary/Makefile index b41161f58d1b..47782014e038 100644 --- a/sysutils/arc_summary/Makefile +++ b/sysutils/arc_summary/Makefile @@ -1,8 +1,11 @@ PORTNAME= arc_summary -PORTVERSION= 20231023 +PORTVERSION= 20231114 CATEGORIES= sysutils -MASTER_SITES= https://raw.githubusercontent.com/openzfs/zfs/${_REV}/cmd/ -DISTFILES= ${PORTNAME}?${PORTVERSION} +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} MAINTAINER= jrm@FreeBSD.org COMMENT= Print ZFS ARC cache statistics and other information @@ -21,12 +24,18 @@ NO_BUILD= yes NO_WRKSUBDIR= yes PLIST_FILES= bin/arc_summary -_REV= e57909265b4352832d69f5107bac7e56d6a8fbd2 +.include <bsd.port.pre.mk> do-extract: - ${CP} ${DISTDIR}/${DISTFILES} ${WRKSRC}/${PORTNAME} +.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 do-install: ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/ -.include <bsd.port.mk> +.include <bsd.port.post.mk> |
