aboutsummaryrefslogtreecommitdiffstats
path: root/benchmarks/dbs/Makefile
blob: e98a1822f15450c3f3dc3d4c56e6e1abb14263fb (plain) (blame)
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
32
33
34
35
36
37
38
39
40
# New ports collection makefile for: dbs
# Date created:     1 August 1998
# Whom:         jkoshy
#
# $FreeBSD$
#

PORTNAME=   dbs
PORTVERSION=    1.1.5
PORTREVISION=   1
CATEGORIES= benchmarks
MASTER_SITES=   http://www.kusa.ac.jp/~yukio-m/dbs/software1.1.5/ \
        ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= jkoshy

MAINTAINER= jkoshy@freebsd.org
COMMENT=    A distributed network benchmarking system

RUN_DEPENDS=    gnuplot:${PORTSDIR}/math/gnuplot

DOCDIR=     ${PREFIX}/share/doc/dbs/
DOCS=       dbs.man dbs.man.jis dbs_paper.ps Copyright
EXDIR=      ${PREFIX}/share/examples/dbs/
EXS=        TCP2.cmd TCPvsMPEG.cmd

do-build:
    cd ${WRKSRC}/src; ${MAKE} dir
    cd ${WRKSRC}/obj/${OPSYS}; ${MAKE} ${ALL_TARGET} PREFIX=${PREFIX}

do-install:
    cd ${WRKSRC}/obj/${OPSYS}; ${MAKE} ${INSTALL_TARGET} PREFIX=${PREFIX}
    ${STRIP_CMD} ${PREFIX}/bin/dbsc ${PREFIX}/bin/dbsd
    ${MKDIR} ${EXDIR}
    cd ${WRKSRC}/sample; ${CP} -p ${EXS} ${EXDIR}
.if !defined(NOPORTDOCS)
    ${MKDIR} ${DOCDIR}
    cd ${WRKSRC}/doc; ${CP} -p ${DOCS} ${DOCDIR}
.endif

.include <bsd.port.mk>