1997-03-25 10:58:02 +01:00
|
|
|
# ex:ts=8
|
1997-03-27 19:03:12 +01:00
|
|
|
# Ports collection makefile for: fping
|
|
|
|
# Date created: Tue Mar 25, 1997
|
1999-09-20 22:18:07 +02:00
|
|
|
# Whom: David O'Brien (obrien@NUXI.com)
|
1997-03-25 10:58:02 +01:00
|
|
|
#
|
1999-08-30 16:24:37 +02:00
|
|
|
# $FreeBSD$
|
1997-03-25 10:58:02 +01:00
|
|
|
#
|
|
|
|
|
2000-04-09 20:14:07 +02:00
|
|
|
PORTNAME= fping
|
2002-07-08 00:08:19 +02:00
|
|
|
PORTVERSION= 2.4b2
|
|
|
|
CATEGORIES= net ipv6
|
|
|
|
MASTER_SITES= http://www.fping.com/download/
|
|
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION}_to-ipv6
|
1999-09-04 22:34:13 +02:00
|
|
|
|
2004-01-05 21:06:18 +01:00
|
|
|
MAINTAINER= jharris@widomaker.com
|
2003-02-20 20:00:52 +01:00
|
|
|
COMMENT= Quickly ping N hosts w/o flooding the network
|
1997-03-25 10:58:02 +01:00
|
|
|
|
2002-06-23 08:04:01 +02:00
|
|
|
USE_REINPLACE= yes
|
2000-08-27 05:23:48 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2003-10-25 21:38:56 +02:00
|
|
|
CONFIGURE_ARGS= --bindir="${PREFIX}/sbin"
|
1997-03-25 10:58:02 +01:00
|
|
|
MAN8= fping.8
|
|
|
|
|
2002-07-08 00:08:19 +02:00
|
|
|
.if defined(WITH_IPV6)
|
|
|
|
# IPv6 not enabled by default, as it does not work together with IPv4.
|
|
|
|
CFLAGS+= -DIPV6
|
|
|
|
.endif
|
|
|
|
|
2000-11-05 23:32:31 +01:00
|
|
|
post-patch:
|
2002-06-23 08:04:01 +02:00
|
|
|
@${REINPLACE_CMD} -e 's/fping@/${MAINTAINER:S/@/\\@/g} or fping@/g' \
|
2003-10-25 21:38:56 +02:00
|
|
|
${WRKSRC}/fping.c
|
2000-11-05 23:32:31 +01:00
|
|
|
|
1997-03-25 10:58:02 +01:00
|
|
|
post-install:
|
2003-09-24 11:37:11 +02:00
|
|
|
@${STRIP_CMD} ${PREFIX}/sbin/fping
|
2000-08-27 05:23:48 +02:00
|
|
|
@${CHMOD} 4555 ${PREFIX}/sbin/fping
|
1997-03-25 10:58:02 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|