blob: 18eb7e7196de421174063f4151a9dd8c38cec7d7 (
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
35
|
# $NetBSD: Makefile,v 1.5 2012/10/23 17:18:27 asau Exp $
#
DISTNAME= hping3-alpha-2
PKGNAME= hping3-3a2
PKGREVISION= 1
CATEGORIES= net
MASTER_SITES= http://wiki.hping.org/uploadedfiles/101/
MAINTAINER= pettai@NetBSD.org
HOMEPAGE= http://wiki.hping.org/
COMMENT= Command-line oriented TCP/IP packet assembler/analyzer
LICENSE= gnu-gpl-v2 AND original-bsd
SUBST_CLASSES+= paths
SUBST_FILES.paths= ${WRKSRC}/configure
SUBST_FILES.paths+= ${WRKSRC}/Makefile.in
SUBST_STAGE.paths= post-patch
SUBST_SED.paths= -e 's,@PREFIX@,${PREFIX},g'
USE_TOOLS= gmake
USE_PKGLOCALEDIR= yes
HAS_CONFIGURE= yes
CONFIGURE_ENV+= INSTALL_MANPATH=${PKGMANDIR}
INSTALLATION_DIRS= sbin ${PKGMANDIR}/man8
.include "options.mk"
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/hping3 ${DESTDIR}${PREFIX}/sbin/
${INSTALL_MAN} ${WRKSRC}/docs/hping3.8 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8/
.include "../../mk/bsd.pkg.mk"
|