Add ipv6 to categories

This commit is contained in:
Kris Kennaway 2000-09-09 09:54:49 +00:00
parent 41a8248385
commit 5037c77af0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=32458

View File

@ -7,10 +7,14 @@
PORTNAME= netperf
PORTVERSION= 2.1.3
CATEGORIES= benchmarks
CATEGORIES= benchmarks ipv6
MASTER_SITES= ftp://ftp.cup.hp.com/dist/networking/benchmarks/netperf/
DISTNAME= netperf-2.1pl3
PATCH_SITES= ftp://ftp.kame.net/pub/kame/misc/
PATCHFILES= netperf-21pl3-20000721.diff.gz
PATCH_DIST_STRIP= -p1
MAINTAINER= fenner@freebsd.org
MAKEFILE= makefile
@ -19,6 +23,13 @@ MAN1= netperf.1 netserver.1
SCRIPTS= arr_script snapshot_script tcp_range_script tcp_rr_script \
tcp_stream_script udp_rr_script udp_stream_script
.include <bsd.port.pre.mk>
BUILD_DEFS+= USE_INET6
.if ${OSVERSION} >= 400014
CFLAGS+= -DDO_IPV6
.endif
post-patch:
.for i in ${SCRIPTS}
@${MV} ${WRKSRC}/$i ${WRKSRC}/$i.pre-sed
@ -36,4 +47,4 @@ post-install:
${GZIP_CMD} ${PREFIX}/share/doc/netperf/netperf.ps
.endif
.include <bsd.port.mk>
.include <bsd.port.post.mk>