mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-03 01:23:49 +00:00
f8c67874ed
- Update to 3.5 - Add LICENSE (GFDL) PR: ports/178833 Submitted by: Jason Harris <jharris@widomaker.com> (maintainer) Approved by: culot / jpaetzel (mentors, implicit)
50 lines
956 B
Makefile
50 lines
956 B
Makefile
# Created by: David O'Brien (obrien@NUXI.com)
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= fping
|
|
PORTVERSION= 3.5
|
|
CATEGORIES= net ipv6
|
|
MASTER_SITES= http://fping.org/dist/
|
|
|
|
MAINTAINER= jharris@widomaker.com
|
|
COMMENT= Quickly ping N hosts w/o flooding the network
|
|
|
|
LICENSE= GFDL
|
|
|
|
OPTIONS_MULTI= NET
|
|
OPTIONS_MULTI_NET= IPV4 IPV6
|
|
OPTIONS_DEFAULT= IPV4
|
|
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --bindir="${PREFIX}/sbin"
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
.if ${PORT_OPTIONS:MIPV4}
|
|
CONFIGURE_ARGS+=--enable-ipv4
|
|
PLIST_FILES+=sbin/fping
|
|
MAN8+= fping.8
|
|
.else
|
|
CONFIGURE_ARGS+=--disable-ipv4
|
|
.endif
|
|
|
|
.if ${PORT_OPTIONS:MIPV6}
|
|
CONFIGURE_ARGS+=--enable-ipv6
|
|
PLIST_FILES+=sbin/fping6
|
|
MAN8+= fping6.8
|
|
.else
|
|
CONFIGURE_ARGS+=--disable-ipv6
|
|
.endif
|
|
|
|
post-install:
|
|
.if ${PORT_OPTIONS:MIPV4}
|
|
@${STRIP_CMD} ${PREFIX}/sbin/fping
|
|
@${CHMOD} 4555 ${PREFIX}/sbin/fping
|
|
.endif
|
|
.if ${PORT_OPTIONS:MIPV6}
|
|
@${STRIP_CMD} ${PREFIX}/sbin/fping6
|
|
@${CHMOD} 4555 ${PREFIX}/sbin/fping6
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|