33 lines
749 B
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.50 2020/08/06 14:39:37 sthen Exp $
2001-03-29 10:14:27 +00:00
2015-10-21 10:12:13 +00:00
COMMENT= quickly ping N hosts w/o flooding the network
DISTNAME= fping-5.0
2015-10-21 10:12:13 +00:00
CATEGORIES= net
2018-08-01 15:15:04 +00:00
HOMEPAGE= https://fping.org/
MAINTAINER= Stuart Henderson <stu.ports@spacehopper.org>
2003-12-04 05:47:48 +00:00
# BSD
PERMIT_PACKAGE= Yes
2015-09-17 12:03:42 +00:00
# uses pledge()
2015-10-21 10:12:13 +00:00
WANTLIB += c
2015-09-17 12:03:42 +00:00
2018-08-01 15:15:04 +00:00
MASTER_SITES= https://fping.org/dist/
2015-09-17 12:03:42 +00:00
2015-10-21 10:12:13 +00:00
CONFIGURE_STYLE= gnu
SEPARATE_BUILD= Yes
CONFIGURE_ARGS= --bindir=${PREFIX}/sbin
# some dependent programs want fping/fping6 separation e.g. net/zabbix,
# net/smokeping, net/librenms; with this symlink fping6 is v6-only,
# fping is dual-stack, or fping -4/-6 can be used to force it.
# see https://github.com/schweikert/fping/pull/139
post-install:
ln -s fping ${PREFIX}/sbin/fping6
.include <bsd.port.mk>