Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / benchmarks / dbench / Makefile
blobfe842aa60fd13b262a2bd8b5700c0c543430e0b1
1 # $NetBSD: Makefile,v 1.14 2012/01/23 09:39:52 wiz Exp $
3 DISTNAME= dbench-3.04
4 PKGREVISION= 1
5 CATEGORIES= benchmarks
6 MASTER_SITES= http://samba.org/ftp/tridge/dbench/
8 MAINTAINER= pkgsrc-users@NetBSD.org
9 HOMEPAGE= http://samba.org/ftp/tridge/dbench/README
10 COMMENT= Simulation of the Ziff-Davis netbench benchmark
12 PKG_INSTALLATION_TYPES= overwrite pkgviews
14 GNU_CONFIGURE= yes
16 .include "../../mk/bsd.prefs.mk"
18 .if ${OPSYS} == "SunOS"
19 MAKE_ENV+= DB_LDFLAGS="-lrt" TB_LDFLAGS="-lsocket -lnsl"
20 .endif
22 INSTALL_MAKE_FLAGS+= prefix=${DESTDIR}${PREFIX} \
23 datadir=${DESTDIR}${PREFIX}/share/dbench \
24 mandir=${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
25 CONFIGURE_ARGS+= --datadir=${PREFIX}/share/dbench
27 SUBST_CLASSES+= path
28 SUBST_STAGE.path= post-configure
29 SUBST_FILES.path= dbench.1
30 SUBST_SED.path= -e 's|/usr/share/|${PREFIX}/share/|g'
32 INSTALLATION_DIRS= share/doc/dbench
34 post-install:
35 ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/dbench
37 .include "../../mk/bsd.pkg.mk"