blob: 70b80c4b4c0be85108616577ea87cc60cc36e679 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# $NetBSD: Makefile,v 1.11 2010/03/21 16:29:41 wiz Exp $
#
DISTNAME= hping2.0.0-rc3
PKGNAME= hping-2.0.0.3
CATEGORIES= net
MASTER_SITES= http://www.hping.org/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.hping.org/
COMMENT= Command-line oriented TCP/IP packet assembler/analyzer
PKG_DESTDIR_SUPPORT= user-destdir
WRKSRC= ${WRKDIR}/hping2-rc3
HAS_CONFIGURE= YES
MANPATH= ${PREFIX}/${PKGMANDIR}
CONFIGURE_ENV+= MANPATH=${MANPATH:Q}
INSTALLATION_DIRS= ${PKGMANDIR}/man8 sbin
CONFIGURE_ENV+= PCAPINCDIR=${BUILDLINK_PREFIX.libpcap}/include
CONFIGURE_ENV+= PCAPLIBDIR=${BUILDLINK_PREFIX.libpcap}/lib
.include "options.mk"
do-install:
${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
.include "../../net/libpcap/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|