openbsd-ports/net/hping/Makefile

37 lines
772 B
Makefile
Raw Normal View History

2004-12-15 19:31:20 -05:00
# $OpenBSD: Makefile,v 1.19 2004/12/16 00:31:22 alek Exp $
COMMENT= "TCP/UDP ping/traceroute tool"
1999-10-28 18:53:00 -04:00
DISTNAME= hping2.0.0-rc2
PKGNAME= hping-2.0.0rc2
1999-10-28 18:53:00 -04:00
CATEGORIES= net
HOMEPAGE= http://www.hping.org/
1999-10-28 18:53:00 -04:00
# GPL
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 pcap
2000-02-12 03:02:07 -05:00
2002-10-27 20:38:44 -05:00
MASTER_SITES= ${HOMEPAGE}
WRKDIST= ${WRKDIR}/hping2-rc2
MAKE_FLAGS= CC="${CC}" CCOPT="${CFLAGS} -Wall"
1999-10-28 18:53:00 -04:00
CONFIGURE_STYLE= simple
1999-10-28 18:53:00 -04:00
post-extract:
@rm -f ${WRKSRC}/*.orig
@sed -e s#hping2#hping# -e s#HPING2#HPING# \
${WRKSRC}/docs/hping2.8 > ${WRKSRC}/docs/hping.8
1999-10-28 18:53:00 -04:00
2002-10-27 20:38:44 -05:00
NO_REGRESS= Yes
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>