2008-10-28 19:49:58 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.22 2008/10/28 23:49:58 sthen Exp $
|
2000-03-24 06:02:35 -05:00
|
|
|
# $FreeBSD: ports/net/fping/Makefile,v 1.8 2000/03/22 00:26:51 obrien Exp $
|
2001-03-29 05:14:27 -05:00
|
|
|
|
2007-09-04 06:32:58 -04:00
|
|
|
COMMENT= quickly ping N hosts w/o flooding the network
|
2000-03-24 06:02:35 -05:00
|
|
|
|
2006-10-12 04:22:37 -04:00
|
|
|
VERSION= 2.4b2
|
|
|
|
DISTNAME= fping-${VERSION}_to-ipv6
|
2008-10-28 19:49:58 -04:00
|
|
|
PKGNAME= fping-${VERSION}p4
|
2001-12-06 01:05:43 -05:00
|
|
|
CATEGORIES= net
|
2007-07-13 04:13:22 -04:00
|
|
|
MASTER_SITES= http://fping.sourceforge.net/download/
|
2006-11-22 05:22:50 -05:00
|
|
|
HOMEPAGE= http://www.fping.com/
|
2007-09-04 06:32:58 -04:00
|
|
|
MAINTAINER= Stuart Henderson <sthen@openbsd.org>
|
2000-03-24 06:02:35 -05:00
|
|
|
|
2003-12-04 00:47:48 -05:00
|
|
|
# BSD
|
2000-03-24 06:02:35 -05:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2004-12-15 19:31:20 -05:00
|
|
|
WANTLIB= c
|
2000-03-24 06:02:35 -05:00
|
|
|
|
2001-12-06 01:05:43 -05:00
|
|
|
CONFIGURE_STYLE= gnu
|
|
|
|
CONFIGURE_ARGS= --bindir=${PREFIX}/sbin
|
2003-12-04 00:46:31 -05:00
|
|
|
COPTS+= -DHAVE_PROGNAME
|
2000-03-24 06:02:35 -05:00
|
|
|
|
2008-10-28 19:49:58 -04:00
|
|
|
post-build:
|
|
|
|
cd ${WRKSRC}; \
|
|
|
|
${CC} -DHAVE_CONFIG_H -I. -I. -I. ${CFLAGS} \
|
|
|
|
-DHAVE_PROGNAME -c fping.c -DIPV6 -o fping6.o; \
|
|
|
|
${CC} ${CFLAGS} -DHAVE_PROGNAME -o fping6 fping6.o
|
|
|
|
|
2000-03-24 06:02:35 -05:00
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKBUILD}/fping ${PREFIX}/sbin
|
2008-10-28 19:49:58 -04:00
|
|
|
${INSTALL_PROGRAM} ${WRKBUILD}/fping6 ${PREFIX}/sbin
|
2001-12-06 01:05:43 -05:00
|
|
|
${INSTALL_MAN} ${WRKBUILD}/fping.8 ${PREFIX}/man/man8
|
2008-10-28 19:49:58 -04:00
|
|
|
ln ${PREFIX}/man/man8/fping.8 ${PREFIX}/man/man8/fping6.8
|
2000-03-24 06:02:35 -05:00
|
|
|
${INSTALL_MAN_DIR} ${PREFIX}/share/doc/fping
|
2001-12-06 01:05:43 -05:00
|
|
|
${INSTALL_MAN} ${WRKBUILD}/COPYING ${PREFIX}/share/doc/fping
|
|
|
|
${INSTALL_MAN} ${WRKBUILD}/README ${PREFIX}/share/doc/fping
|
2000-03-24 06:02:35 -05:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|