summaryrefslogtreecommitdiff
path: root/net/queryperf/Makefile
blob: 14c30a50248f0f57af2f160c86460e4b3a800651 (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 2012/10/23 17:19:04 asau Exp $
#

DISTNAME=		queryperf-nominum-2.1
PKGNAME=		${DISTNAME:S/-nominum-/-/}
CATEGORIES=		net
MASTER_SITES=		ftp://ftp.nominum.com/pub/nominum/

MAINTAINER=		pkgsrc-users@NetBSD.org
HOMEPAGE=		ftp://ftp.nominum.com/pub/nominum/
COMMENT=		DNS performance and load tester

USE_PKGLOCALEDIR=	yes
GNU_CONFIGURE=		yes
BUILD_TARGET=		queryperf
USE_PKGINSTALL=		yes

EGDIR=			share/examples/queryperf
INSTALLATION_DIRS+=	bin share/doc/queryperf ${EGDIR}

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/queryperf ${DESTDIR}${PREFIX}/bin/
	${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/queryperf/
	${INSTALL_SCRIPT} ${WRKSRC}/utils/gen-data-queryperf.py ${DESTDIR}${PREFIX}/${EGDIR}/
	${INSTALL_DATA} ${WRKSRC}/input/sample.* ${DESTDIR}${PREFIX}/${EGDIR}/

.include "../../mk/bsd.pkg.mk"