summaryrefslogtreecommitdiff
path: root/benchmarks/ramspeed/Makefile
blob: 021d54fed523c499ce1655b2117559cd76b64ea1 (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

PORTNAME=	ramspeed
PORTVERSION=	3.5.0
CATEGORIES=	benchmarks
MASTER_SITES=	http://www.alasir.com/software/ramspeed/
DISTNAME=	ramsmp-${PORTVERSION}

MAINTAINER=	mkamm@gmx.net
COMMENT=	Cache and memory benchmarking tool

NO_CDROM=	do not sell for money
LICENSE=	ALASIR
LICENSE_NAME=	Alasir Licence
LICENSE_FILE=	${WRKSRC}/LICENCE
LICENSE_PERMS=	dist-mirror no-dist-sell pkg-mirror no-pkg-sell

PLIST_FILES=	bin/ramspeed
PORTDOCS=	HISTORY README

OPTIONS_DEFINE=	DOCS

do-build:
	cd ${BUILD_WRKSRC} && ${SETENV} ${MAKE_ENV} ${SH} build.sh

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/ramsmp ${STAGEDIR}${PREFIX}/bin/ramspeed
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|g} ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>