openbsd-ports/net/hping/Makefile
sthen 1afe1dae0b Allow hping to handle pppoe interfaces. While there, improve license marker
and add a note about PF running on the sending host to DESCR.
2013-04-02 15:15:53 +00:00

37 lines
663 B
Makefile

# $OpenBSD: Makefile,v 1.28 2013/04/02 15:15:53 sthen Exp $
COMMENT= TCP/UDP ping/traceroute tool
DISTNAME= hping2.0.0-rc3
PKGNAME= hping-2.0.0rc3
REVISION= 2
CATEGORIES= net
HOMEPAGE= http://www.hping.org/
# GPLv2
PERMIT_PACKAGE_CDROM= Yes
WANTLIB= c pcap
MASTER_SITES= ${HOMEPAGE}
WRKDIST= ${WRKDIR}/${DISTNAME:S/.0.0//}
MAKE_FLAGS= CC="${CC}" \
CCOPT="${CFLAGS}"
CONFIGURE_STYLE=simple
USE_GROFF = Yes
NO_TEST= Yes
pre-install:
@perl -pi -e "s,hping2,hping," ${WRKSRC}/docs/hping2.8
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/hping2 ${PREFIX}/sbin/hping
${INSTALL_MAN} ${WRKSRC}/docs/hping2.8 ${PREFIX}/man/man8/hping.8
.include <bsd.port.mk>