View | Details | Raw Unified | Return to bug 173547
Collapse All | Expand All

(-)Makefile 2012-11-11 01:36:09.000000000 +0800 (-16 / +15 lines)
Lines 1-9 Link Here
1
# New ports collection makefile for: netperf
1
# Created by:                  koshy
2
# Date created:                19 July 1996
2
# $FreeBSD$
3
# Whom:                        koshy
4
#
5
# $FreeBSD: ports/benchmarks/netperf/Makefile,v 1.33 2012/08/24 02:29:12 sumikawa Exp $
6
#
7
3
8
PORTNAME=      netperf
4
PORTNAME=      netperf
9
PORTVERSION=   2.6.0
5
PORTVERSION=   2.6.0
Lines 14-24 Link Here
14
MAINTAINER=    sumikawa@FreeBSD.org
10
MAINTAINER=    sumikawa@FreeBSD.org
15
COMMENT=       Network performance benchmarking package
11
COMMENT=       Network performance benchmarking package
16
12
17
OPTIONS=       SOCKETS         "Enable Unix Domain socket support" On \
13
OPTIONS_DEFINE=        OMNI SCTP SOCKETS HISTOGRAM EXS
18
               SCTP            "Enable SCTP support" On \
14
OPTIONS_DEFAULT=       SCTP SOCKETS HISTOGRAM EXS
19
               EXS             "Enable ICSC async socket support" On \
15
20
               HISTOGRAM       "Enable optional histogram output" On \
16
OMNI_DESC=     Enable OMNI tests
21
               OMNI            "Enable OMNI tests" Off \
17
SCTP_DESC=     Enable SCTP support
18
SOCKETS_DESC=  Enable Unix Domain socket support
19
HISTOGRAM_DESC=        Enable optional histogram output
20
EXS_DESC=      Enable ICSC async socket support
22
21
23
.include <bsd.port.options.mk>
22
.include <bsd.port.options.mk>
24
23
Lines 27-57 Link Here
27
CONFIGURE_ARGS=        --program-prefix=""  --program-suffix="" --enable-dirty \
26
CONFIGURE_ARGS=        --program-prefix=""  --program-suffix="" --enable-dirty \
28
               --enable-demo --enable-burst --enable-intervals
27
               --enable-demo --enable-burst --enable-intervals
29
28
30
.if !defined(WITHOUT_SOCKETS)
29
.if ${PORT_OPTIONS:MSOCKETS}
31
CONFIGURE_ARGS+=       --enable-unixdomain
30
CONFIGURE_ARGS+=       --enable-unixdomain
32
.else
31
.else
33
CONFIGURE_ARGS+=       --disable-unixdomain
32
CONFIGURE_ARGS+=       --disable-unixdomain
34
.endif
33
.endif
35
34
36
.if !defined(WITHOUT_SCTP)
35
.if ${PORT_OPTIONS:MSCTP}
37
CONFIGURE_ARGS+=       --enable-sctp
36
CONFIGURE_ARGS+=       --enable-sctp
38
.else
37
.else
39
CONFIGURE_ARGS+=       --disable-sctp
38
CONFIGURE_ARGS+=       --disable-sctp
40
.endif
39
.endif
41
40
42
.if !defined(WITHOUT_EXS)
41
.if ${PORT_OPTIONS:MEXS}
43
CONFIGURE_ARGS+=       --enable-exs
42
CONFIGURE_ARGS+=       --enable-exs
44
.else
43
.else
45
CONFIGURE_ARGS+=       --disable-exs
44
CONFIGURE_ARGS+=       --disable-exs
46
.endif
45
.endif
47
46
48
.if !defined(WITHOUT_HISTOGRAM)
47
.if ${PORT_OPTIONS:MHISTOGRAM}
49
CONFIGURE_ARGS+=       --enable-histogram
48
CONFIGURE_ARGS+=       --enable-histogram
50
.else
49
.else
51
CONFIGURE_ARGS+=       --disable-histogram
50
CONFIGURE_ARGS+=       --disable-histogram
52
.endif
51
.endif
53
52
54
.if !defined(WITHOUT_OMNI)
53
.if ${PORT_OPTIONS:MOMNI}
55
CONFIGURE_ARGS+=       --enable-omni
54
CONFIGURE_ARGS+=       --enable-omni
56
.else
55
.else
57
CONFIGURE_ARGS+=       --disable-omni
56
CONFIGURE_ARGS+=       --disable-omni

Return to bug 173547