summaryrefslogtreecommitdiff
path: root/benchmarks/kdiskmark/Makefile
blob: 4f4dd425d9408c5a806b9737424cb45773af9c37 (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
PORTNAME=	${GH_PROJECT:tl}
PORTVERSION=	3.0.0
CATEGORIES=	benchmarks

MAINTAINER=	danfe@FreeBSD.org
COMMENT=	Graphical HDD/SSD benchmarking tool
WWW=		https://github.com/JonMagon/KDiskMark

LICENSE=	GPLv3

RUN_DEPENDS=	fio:benchmarks/fio

USE_GITHUB=	yes
GH_ACCOUNT=	JonMagon
GH_PROJECT=	KDiskMark

USES=		cmake compiler:c++11-lang kde:5 qt:5
USE_QT=		buildtools_build linguisttools_build qmake_build \
		dbus core gui widgets
USE_KDE=	ecm_build auth coreaddons

post-patch:
	@${REINPLACE_CMD} -e '/--ioengine=/s,libaio,posixaio,' \
		${WRKSRC}/src/helper.cpp

.include <bsd.port.mk>