mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-20 04:02:27 +00:00
benchmarks/iperf3: Make static library optional.
While here, do some minor changes to Makefile to follow the Porter's Handbook more closely. PR: 256495
This commit is contained in:
parent
f2ef77c8ce
commit
6f86d94705
@ -1,7 +1,8 @@
|
||||
# Created by: Bruce A. Mah <bmah@FreeBSD.org>
|
||||
|
||||
PORTNAME= iperf
|
||||
PORTVERSION= 3.10.1
|
||||
DISTVERSION= 3.10.1
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= benchmarks
|
||||
MASTER_SITES= https://downloads.es.net/pub/iperf/
|
||||
PKGNAMESUFFIX= 3
|
||||
@ -12,8 +13,8 @@ COMMENT= Improved tool to measure TCP and UDP bandwidth
|
||||
LICENSE= BSD3CLAUSE MIT
|
||||
LICENSE_COMB= multi
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
USES= libtool ssl
|
||||
GNU_CONFIGURE= yes
|
||||
USE_LDCONFIG= yes
|
||||
|
||||
PORTDOCS= README.md RELNOTES.md
|
||||
@ -21,7 +22,10 @@ PORTDOCS= README.md RELNOTES.md
|
||||
# Set ${DOCSDIR} to avoid conflict with benchmarks/iperf ${DOCSDIR}
|
||||
DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}${PKGNAMESUFFIX}
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
OPTIONS_DEFINE= DOCS STATIC
|
||||
OPTIONS_SUB= yes
|
||||
|
||||
STATIC_CONFIGURE_ENABLE= static
|
||||
|
||||
post-patch:
|
||||
# Don't build stuff that we're not going to install. Among other
|
||||
|
@ -1,6 +1,6 @@
|
||||
bin/iperf3
|
||||
include/iperf_api.h
|
||||
lib/libiperf.a
|
||||
%%STATIC%%lib/libiperf.a
|
||||
lib/libiperf.so
|
||||
lib/libiperf.so.0
|
||||
lib/libiperf.so.0.0.0
|
||||
|
Loading…
Reference in New Issue
Block a user