mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-26 05:02:18 +00:00
40790d5f87
enable or disable IPV6 support. Previous behavior was auto-detection which wasn't working right on tinderbox and would have caused problems anyways. Reported by: pointyhat Approved by: maintainer via private mail makc, avilla (mentors, implicit) Feature safe: yes
36 lines
626 B
Makefile
36 lines
626 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= bwping
|
|
PORTVERSION= 1.6
|
|
CATEGORIES= net
|
|
MASTER_SITES= SF
|
|
|
|
MAINTAINER= oleg.derevenetz@gmail.com
|
|
COMMENT= Tool to measure bandwidth and RTT between two hosts using ICMP
|
|
|
|
LICENSE= BSD
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
GNU_CONFIGURE= yes
|
|
MAN8= bwping.8
|
|
|
|
PLIST_FILES= sbin/bwping
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
.if ${PORT_OPTIONS:MIPV6}
|
|
CONFIGURE_ENV+= ac_cv_ipv6=yes
|
|
MAN8+= bwping6.8
|
|
PLIST_FILES+= sbin/bwping6
|
|
.else
|
|
CONFIGURE_ENV+= ac_cv_ipv6=no
|
|
.endif
|
|
|
|
post-install:
|
|
@${CHMOD} 4555 ${PREFIX}/sbin/bwping
|
|
.if ${PORT_OPTIONS:MIPV6}
|
|
@${CHMOD} 4555 ${PREFIX}/sbin/bwping6
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|