2002-06-09 00:39:23 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.13 2002/06/09 04:39:23 jsyn Exp $
|
2001-05-06 00:59:54 -04:00
|
|
|
|
|
|
|
COMMENT= "TCP/UDP ping/traceroute tool"
|
1999-10-28 18:53:00 -04:00
|
|
|
|
2002-06-09 00:39:23 -04:00
|
|
|
DISTNAME= hping2.0.0-rc1
|
|
|
|
PKGNAME= hping-2.0.0rc1
|
1999-10-28 18:53:00 -04:00
|
|
|
CATEGORIES= net
|
2002-06-09 00:39:23 -04:00
|
|
|
NEED_VERSION= 1.531
|
|
|
|
MASTER_SITES= http://www.hping.org/
|
|
|
|
HOMEPAGE= http://www.hping.org/
|
1999-10-28 18:53:00 -04:00
|
|
|
|
2000-10-22 10:02:46 -04:00
|
|
|
MAINTAINER= Dug Song <dugsong@monkey.org>
|
1999-10-28 18:53:00 -04:00
|
|
|
|
2002-06-09 00:39:23 -04:00
|
|
|
# GPL
|
2000-08-20 02:08:01 -04:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2000-02-12 03:02:07 -05:00
|
|
|
|
2002-06-09 00:39:23 -04:00
|
|
|
WRKDIST= ${WRKDIR}/hping2
|
|
|
|
|
2000-08-20 02:08:01 -04:00
|
|
|
MAKE_FLAGS= CC="${CC}" CCOPT="${CFLAGS} -Wall"
|
1999-10-28 18:53:00 -04:00
|
|
|
|
2000-08-20 02:08:01 -04:00
|
|
|
CONFIGURE_STYLE= simple
|
1999-10-28 18:53:00 -04:00
|
|
|
|
2000-08-20 02:08:01 -04:00
|
|
|
post-extract:
|
2002-06-09 00:39:23 -04:00
|
|
|
@sed -e s#hping2#hping# -e s#HPING2#HPING# \
|
2000-08-20 02:08:01 -04:00
|
|
|
${WRKSRC}/docs/hping2.8 > ${WRKSRC}/docs/hping.8
|
1999-10-28 18:53:00 -04:00
|
|
|
|
2002-06-09 00:39:23 -04:00
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/hping2 ${PREFIX}/sbin/hping
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/docs/hping.8 ${PREFIX}/man/man8/hping.8
|
|
|
|
|
1999-10-28 18:53:00 -04:00
|
|
|
.include <bsd.port.mk>
|