summaryrefslogtreecommitdiff
path: root/benchmarks/phoronix-test-suite/Makefile
blob: 582e011ef882037230b023fd54f6f5e1ca0c17a1 (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
32
33
34
35
36
37
38
39
40
41
42
43
44
# $NetBSD: Makefile,v 1.7 2013/04/01 06:13:12 sbd Exp $
#

DISTNAME=	phoronix-test-suite-${PTS_VERSION}
PTS_VERSION=	3.4.0
PKGREVISION=	1
CATEGORIES=	benchmarks
MASTER_SITES=	http://www.phoronix-test-suite.com/releases/

MAINTAINER=	jym@NetBSD.org
HOMEPAGE=	http://www.phoronix-test-suite.com/
COMMENT=	Phoronix Benchmarking Suite
LICENSE=	gnu-gpl-v3

DEPENDS+=	${PHP_PKG_PREFIX}-curl>=5.2:../../www/php-curl
DEPENDS+=	${PHP_PKG_PREFIX}-dom>=5.2:../../textproc/php-dom
DEPENDS+=	${PHP_PKG_PREFIX}-gd>=5.2:../../graphics/php-gd
DEPENDS+=	${PHP_PKG_PREFIX}-json>=5.2:../../textproc/php-json
DEPENDS+=	${PHP_PKG_PREFIX}-pcntl>=5.2:../../devel/php-pcntl
DEPENDS+=	${PHP_PKG_PREFIX}-posix>=5.2:../../devel/php-posix
DEPENDS+=	${PHP_PKG_PREFIX}-zip>=5.2:../../archivers/php-zip
DEPENDS+=	${PHP_PKG_PREFIX}-zlib>=5.2:../../archivers/php-zlib

INSTALLATION_DIRS=	bin
INSTALLATION_DIRS+=	share/bash-completion.d
INSTALLATION_DIRS+=	share/doc/phoronix-test-suite
INSTALLATION_DIRS+=	share/applications share/icons/hicolor/64x64/apps

NO_BUILD=	yes

WRKSRC=		${WRKDIR}/phoronix-test-suite

pre-install:
	${FIND} ${WRKSRC} -name "*.orig" -print | ${XARGS} ${RM} -f

do-install:
	cd ${WRKSRC}/ && DESTDIR=${DESTDIR:Q} PKGMANDIR=${PKGMANDIR:Q} \
		./install-sh ${PREFIX:Q}

.include "../../lang/php/phpversion.mk"
.include "${PHPPKGSRCDIR}/buildlink3.mk"
.include "../../databases/shared-mime-info/mimedb.mk"
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
.include "../../mk/bsd.pkg.mk"