1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-13 03:03:15 +00:00
freebsd-ports/net/fping/Makefile
Yen-Ming Lee dd665c5eb8 - allow 0 retries [1]
- remove s/microsecond/millisecond/ [1]
- use PLIST_FILES, remove pkg-plist [2]
- add SHA256 hash to distinfo [2]

PR:		[1] ports/83339
		[2] ports/83757
Submitted by:	[1] Andre Albsmeier <Andre.Albsmeier@siemens.com>
		[2] Jason Harris <jharris@widomaker.com>
2005-07-20 02:25:28 +00:00

39 lines
840 B
Makefile

# ex:ts=8
# Ports collection makefile for: fping
# Date created: Tue Mar 25, 1997
# Whom: David O'Brien (obrien@NUXI.com)
#
# $FreeBSD$
#
PORTNAME= fping
PORTVERSION= 2.4b2
CATEGORIES= net ipv6
MASTER_SITES= http://www.fping.com/download/
DISTNAME= ${PORTNAME}-${PORTVERSION}_to-ipv6
MAINTAINER= jharris@widomaker.com
COMMENT= Quickly ping N hosts w/o flooding the network
PLIST_FILES= sbin/fping
USE_REINPLACE= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --bindir="${PREFIX}/sbin"
MAN8= fping.8
.if defined(WITH_IPV6)
# IPv6 not enabled by default, as it does not work together with IPv4.
CFLAGS+= -DIPV6
.endif
post-patch:
@${REINPLACE_CMD} -e 's/fping@/${MAINTAINER:S/@/\\@/g} or fping@/g' \
${WRKSRC}/fping.c
post-install:
@${STRIP_CMD} ${PREFIX}/sbin/fping
@${CHMOD} 4555 ${PREFIX}/sbin/fping
.include <bsd.port.mk>