aboutsummaryrefslogtreecommitdiffstats
path: root/benchmarks/dbs/Makefile
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2017-07-05 18:25:01 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2017-07-05 18:25:01 +0800
commit0ba1299eac8be6842122ea79194fb8b1e29d49b2 (patch)
treec9f632a2f6f5913615bb2876471fc35c9fa26ddb /benchmarks/dbs/Makefile
parent661104c96d6a40898ea406be3eaf777616173c91 (diff)
downloadfreebsd-ports-gnome-0ba1299eac8be6842122ea79194fb8b1e29d49b2.tar.gz
freebsd-ports-gnome-0ba1299eac8be6842122ea79194fb8b1e29d49b2.tar.zst
freebsd-ports-gnome-0ba1299eac8be6842122ea79194fb8b1e29d49b2.zip
- Add LICENSE
- Switch to options helpers
Diffstat (limited to 'benchmarks/dbs/Makefile')
-rw-r--r--benchmarks/dbs/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/benchmarks/dbs/Makefile b/benchmarks/dbs/Makefile
index f1f55a6b732c..4d8ad8fed987 100644
--- a/benchmarks/dbs/Makefile
+++ b/benchmarks/dbs/Makefile
@@ -11,6 +11,8 @@ MASTER_SITES= http://www.kusa.ac.jp/~yukio-m/dbs/software1.1.5/ \
MAINTAINER= ports@FreeBSD.org
COMMENT= Distributed network benchmarking system
+LICENSE= BSD3CLAUSE
+
RUN_DEPENDS= gnuplot:math/gnuplot
BROKEN_FreeBSD_12= tcp_debug.h: field has incomplete type 'struct tcpcb'
@@ -29,7 +31,7 @@ PORTEXAMPLES= *
OPTIONS_DEFINE= DOCS EXAMPLES
pre-build:
- cd ${WRKSRC}/src; ${MAKE} dir
+ cd ${WRKSRC}/src && ${MAKE_CMD} dir
do-install:
.for bin in dbsc dbsd
@@ -38,10 +40,14 @@ do-install:
.for bin in dbs_view
${INSTALL_SCRIPT} ${WRKSRC}/script/${bin} ${STAGEDIR}${PREFIX}/bin
.endfor
+
+do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for doc in Copyright dbs.man dbs.man.jis dbs_paper.ps
${INSTALL_DATA} ${WRKSRC}/doc/${doc} ${STAGEDIR}${DOCSDIR}
.endfor
+
+do-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
.for ex in TCP2.cmd TCPvsMPEG.cmd
${INSTALL_DATA} ${WRKSRC}/sample/${ex} ${STAGEDIR}${EXAMPLESDIR}