blob: b8c6f59818c1dece0028e3b507a0bef5a2839294 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
# 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>
|