aboutsummaryrefslogtreecommitdiffstats
path: root/benchmarks/netperfmeter/Makefile
blob: c5436ea314f1202184a27d9140197c07a6269abb (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
# Created by: Thomas Dreibholz <dreibh@iem.uni-due.de>
# $FreeBSD$

PORTNAME=   netperfmeter
PORTVERSION=    1.7.6
CATEGORIES= benchmarks
MASTER_SITES=   https://www.uni-due.de/~be0001/netperfmeter/download/

MAINTAINER= dreibh@iem.uni-due.de
COMMENT=    Network Performance Meter

LICENSE=    GPLv3+
LICENSE_FILE=   ${WRKSRC}/COPYING

USES=       cmake compiler shebangfix
CMAKE_ON=   BUILD_PLOT_PROGRAMS
CMAKE_OFF=  BUILD_TEST_PROGRAMS WITH_NEAT
SHEBANG_FILES=  src/pdfembedfonts src/pdfmetadata src/plot-netperfmeter-results

.include <bsd.port.pre.mk>

post-patch:
.if ${CHOSEN_COMPILER_TYPE} == gcc
    @${REINPLACE_CMD} 's, -Wno-array-bounds,,g' ${WRKSRC}/CMakeLists.txt
.endif
    @${REINPLACE_CMD} 's,share/man,man,' ${WRKSRC}/CMakeLists.txt

.include <bsd.port.post.mk>