blob: e78e66a4d6d8af2ed373ec514261f53900d46c3e (
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
|
# $NetBSD: Makefile,v 1.5 2004/07/30 15:50:37 minskim 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
PKG_INSTALLATION_TYPES= overwrite pkgviews
WRKSRC= ${WRKDIR}/dbench
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "SunOS"
MAKE_ENV+= DB_LDFLAGS="-lrt" TB_LDFLAGS="-lsocket -lnsl"
.endif
INSTALLATION_DIRS= bin
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"
|