summaryrefslogtreecommitdiffstats
path: root/net/fping/Makefile
blob: fe44ac27fb8ae6523eb91d794e6b864dc2f986d6 (plain)
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
# 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.2b1
CATEGORIES=	net
MASTER_SITES=	ftp://ftp.stanford.edu/dept/networking/pub/fping/  \
		ftp://sntop.sourceforge.net/pub/sntop/

MAINTAINER=	obrien@FreeBSD.org

GNU_CONFIGURE=	yes
CONFIGURE_ARGS= --bindir="${PREFIX}/sbin"
MAN8=		fping.8

post-patch:
	${PERL} -pi.fbsd -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>
OpenPOWER on IntegriCloud