7172e8372d
IPv6 support gained. Master site moved. Add WWW URL.
36 lines
752 B
Makefile
36 lines
752 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= ports@FreeBSD.org
|
|
|
|
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 ${PREFIX}/sbin/fping
|
|
@${CHMOD} 4555 ${PREFIX}/sbin/fping
|
|
|
|
.include <bsd.port.mk>
|