2010-10-18 14:36:45 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.26 2010/10/18 18:36:48 espie Exp $
|
2001-05-06 00:59:54 -04:00
|
|
|
|
2007-09-15 18:36:51 -04:00
|
|
|
COMMENT= TCP/UDP ping/traceroute tool
|
1999-10-28 18:53:00 -04:00
|
|
|
|
2005-04-24 18:59:08 -04:00
|
|
|
DISTNAME= hping2.0.0-rc3
|
2010-07-12 18:07:37 -04:00
|
|
|
PKGNAME= hping-2.0.0rc3
|
|
|
|
REVISION= 1
|
1999-10-28 18:53:00 -04:00
|
|
|
CATEGORIES= net
|
2005-04-24 18:59:08 -04:00
|
|
|
|
2002-06-09 00:39:23 -04:00
|
|
|
HOMEPAGE= http://www.hping.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
|
2010-07-12 18:07:37 -04:00
|
|
|
|
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}
|
|
|
|
|
2005-04-24 18:59:08 -04:00
|
|
|
WRKDIST= ${WRKDIR}/${DISTNAME:S/.0.0//}
|
2002-06-09 00:39:23 -04:00
|
|
|
|
2006-05-30 20:08:20 -04:00
|
|
|
MAKE_FLAGS= CC="${CC}" \
|
|
|
|
CCOPT="${CFLAGS}"
|
1999-10-28 18:53:00 -04:00
|
|
|
|
2005-04-24 18:59:08 -04:00
|
|
|
CONFIGURE_STYLE=simple
|
|
|
|
|
2010-10-18 14:36:45 -04:00
|
|
|
USE_GROFF = Yes
|
2005-04-24 18:59:08 -04:00
|
|
|
NO_REGRESS= Yes
|
1999-10-28 18:53:00 -04:00
|
|
|
|
2006-05-30 20:08:20 -04:00
|
|
|
pre-install:
|
|
|
|
@perl -pi -e "s,hping2,hping," ${WRKSRC}/docs/hping2.8
|
|
|
|
|
2002-06-09 00:39:23 -04:00
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/hping2 ${PREFIX}/sbin/hping
|
2006-05-30 20:08:20 -04:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/docs/hping2.8 ${PREFIX}/man/man8/hping.8
|
2002-06-09 00:39:23 -04:00
|
|
|
|
1999-10-28 18:53:00 -04:00
|
|
|
.include <bsd.port.mk>
|