freebsd-ports/net/fping/Makefile

37 lines
815 B
Makefile
Raw Normal View History

# ex:ts=8
1997-03-27 19:03:12 +01:00
# Ports collection makefile for: fping
# Date created: Tue Mar 25, 1997
# Whom: David O'Brien (obrien@NUXI.com)
#
1999-08-30 16:24:37 +02:00
# $FreeBSD$
#
PORTNAME= fping
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
MAINTAINER= jharris@widomaker.com
2003-02-20 20:00:52 +01:00
COMMENT= Quickly ping N hosts w/o flooding the network
USE_REINPLACE= yes
2000-08-27 05:23:48 +02:00
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
2000-08-27 05:23:48 +02:00
@${CHMOD} 4555 ${PREFIX}/sbin/fping
.include <bsd.port.mk>