2013-02-06 20:30:54 +01:00
|
|
|
# $NetBSD: Makefile,v 1.13 2013/02/06 19:30:57 jperkin 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
|
2013-02-06 20:30:54 +01:00
|
|
|
PKGREVISION= 1
|
2002-04-04 19:02:30 +02:00
|
|
|
CATEGORIES= net
|
|
|
|
MASTER_SITES= http://www.hping.org/
|
|
|
|
|
2010-03-21 17:29:38 +01:00
|
|
|
MAINTAINER= pkgsrc-users@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
|
2009-02-11 09:06:17 +01:00
|
|
|
MANPATH= ${PREFIX}/${PKGMANDIR}
|
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:
|
2009-02-11 09:06:17 +01:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/hping2 ${DESTDIR}${PREFIX}/sbin
|
|
|
|
${LN} -s hping2 ${DESTDIR}${PREFIX}/sbin/hping
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/docs/hping2.8 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8
|
|
|
|
${LN} -s hping2.8 ${DESTDIR}${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"
|