summaryrefslogtreecommitdiff
path: root/sysutils/stressdisk/Makefile
blob: 7c1142ccb8e5e77d20d4082b37e90bff03703161 (plain)
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
PORTNAME=	stressdisk
DISTVERSIONPREFIX=	v
DISTVERSION=	1.0.12
PORTREVISION=	11
CATEGORIES=	sysutils

MAINTAINER=	eduardo@FreeBSD.org
COMMENT=	Stress test your disks before trusting your valuable data to them
WWW=		https://github.com/ncw/stressdisk

LICENSE=	MIT
LICENSE_FILE=	${WRKSRC}/COPYING

USES=		go:modules

GO_MODULE=	github.com/ncw/stressdisk

PLIST_FILES=	bin/stressdisk

PORTDOCS=	README.md

OPTIONS_DEFINE=	DOCS

do-install-DOCS-on:
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
	${INSTALL_MAN} ${WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR}

post-install:
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}

.include <bsd.port.mk>