blob: 203e8e40ccb30b677b240565af23c3906caa9d8a (
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
|
# $NetBSD: Makefile,v 1.4 2004/01/20 12:08:12 agc Exp $
#
DISTNAME= dbench-1.3
CATEGORIES= benchmarks
MASTER_SITES= ftp://dnuc.polyn.kiae.su/pub/dbench/
MAINTAINER= tech-pkg@NetBSD.org
HOMEPAGE= http://samba.org/ftp/tridge/dbench/README
COMMENT= Simulation of the Ziff-Davis netbench benchmark
WRKSRC= ${WRKDIR}/dbench
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "SunOS"
MAKE_ENV+= DB_LDFLAGS="-lrt" TB_LDFLAGS="-lsocket -lnsl"
.endif
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/dbench ${PREFIX}/bin/dbench
${INSTALL_PROGRAM} ${WRKSRC}/tbench ${PREFIX}/bin/tbench
${INSTALL_PROGRAM} ${WRKSRC}/tbench_srv ${PREFIX}/bin/tbench_srv
${INSTALL_DATA_DIR} ${PREFIX}/share/dbench
${INSTALL_DATA} ${WRKSRC}/client.txt ${PREFIX}/share/dbench/client.txt
.include "../../mk/bsd.pkg.mk"
|