2007-01-07 10:13:46 +01:00
|
|
|
# $NetBSD: Makefile,v 1.9 2007/01/07 09:14:02 rillig Exp $
|
2002-04-04 19:02:30 +02:00
|
|
|
#
|
|
|
|
|
2006-03-30 15:51:28 +02:00
|
|
|
DISTNAME= hping2.0.0-rc3
|
|
|
|
PKGNAME= hping-2.0.0.3
|
2002-04-04 19:02:30 +02:00
|
|
|
CATEGORIES= net
|
|
|
|
MASTER_SITES= http://www.hping.org/
|
|
|
|
|
2003-07-18 00:50:55 +02:00
|
|
|
MAINTAINER= atatat@NetBSD.org
|
2002-04-04 19:02:30 +02:00
|
|
|
HOMEPAGE= http://www.hping.org/
|
2006-03-30 15:51:28 +02:00
|
|
|
COMMENT= Command-line oriented TCP/IP packet assembler/analyzer
|
2002-04-04 19:02:30 +02:00
|
|
|
|
2006-03-30 15:51:28 +02:00
|
|
|
WRKSRC= ${WRKDIR}/hping2-rc3
|
2002-04-04 19:02:30 +02:00
|
|
|
HAS_CONFIGURE= YES
|
|
|
|
MANPATH= ${PREFIX}/man
|
2005-12-05 21:49:47 +01:00
|
|
|
CONFIGURE_ENV+= MANPATH=${MANPATH:Q}
|
2002-04-04 19:02:30 +02:00
|
|
|
|
2007-01-07 10:13:46 +01:00
|
|
|
INSTALLATION_DIRS= ${PKGMANDIR}/man8 sbin
|
2002-04-04 19:02:30 +02:00
|
|
|
|
2005-07-13 16:18:22 +02:00
|
|
|
CONFIGURE_ENV+= PCAPINCDIR=${BUILDLINK_PREFIX.libpcap}/include
|
|
|
|
CONFIGURE_ENV+= PCAPLIBDIR=${BUILDLINK_PREFIX.libpcap}/lib
|
|
|
|
|
2006-03-30 15:51:28 +02:00
|
|
|
.include "options.mk"
|
|
|
|
|
2002-04-04 19:02:30 +02:00
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/hping2 ${PREFIX}/sbin
|
|
|
|
${LN} -s ../sbin/hping2 ${PREFIX}/sbin/hping
|
2007-01-07 10:13:46 +01:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/docs/hping2.8 ${PREFIX}/${PKGMANDIR}/man8
|
|
|
|
${LN} -s ../../man/man8/hping2.8 ${PREFIX}/${PKGMANDIR}/man8/hping.8
|
2002-04-04 19:02:30 +02:00
|
|
|
|
2005-07-13 16:18:22 +02:00
|
|
|
.include "../../net/libpcap/buildlink3.mk"
|
2002-04-04 19:02:30 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|