openbsd-ports/net/hping/Makefile
alek dc26699c21 Update to 2.0.0rc3
From new maintainer Alexandre Anriot <aanriot@atlantilde.com>
2005-04-24 22:59:08 +00:00

40 lines
838 B
Makefile

# $OpenBSD: Makefile,v 1.20 2005/04/24 22:59:08 alek Exp $
COMMENT= "TCP/UDP ping/traceroute tool"
DISTNAME= hping2.0.0-rc3
PKGNAME= hping-2.0.0rc3
CATEGORIES= net
HOMEPAGE= http://www.hping.org/
MAINTAINER= Alexandre Anriot <aanriot@atlantilde.com>
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c pcap
MASTER_SITES= ${HOMEPAGE}
WRKDIST= ${WRKDIR}/${DISTNAME:S/.0.0//}
MAKE_FLAGS= CC="${CC}" CCOPT="${CFLAGS} -Wall"
CONFIGURE_STYLE=simple
NO_REGRESS= Yes
post-extract:
@rm -f ${WRKSRC}/*.orig
@sed -e s#hping2#hping# -e s#HPING2#HPING# \
${WRKSRC}/docs/hping2.8 > ${WRKSRC}/docs/hping.8
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/hping2 ${PREFIX}/sbin/hping
${INSTALL_MAN} ${WRKSRC}/docs/hping.8 ${PREFIX}/man/man8/hping.8
.include <bsd.port.mk>