aboutsummaryrefslogtreecommitdiffstats
path: root/net/hping
diff options
context:
space:
mode:
authorehaupt <ehaupt@FreeBSD.org>2014-02-28 16:45:12 +0800
committerehaupt <ehaupt@FreeBSD.org>2014-02-28 16:45:12 +0800
commitd9d6ae28d3f61f92e6cdab7cba49b3492c479d16 (patch)
treef7a134e3c5b0c2bfde5a66b94e047e15cec3bdb4 /net/hping
parent8e062e7a1f40a1d934ae92b6b56d4f7423d9d983 (diff)
downloadfreebsd-ports-gnome-d9d6ae28d3f61f92e6cdab7cba49b3492c479d16.tar.gz
freebsd-ports-gnome-d9d6ae28d3f61f92e6cdab7cba49b3492c479d16.tar.zst
freebsd-ports-gnome-d9d6ae28d3f61f92e6cdab7cba49b3492c479d16.zip
Support staging
Diffstat (limited to 'net/hping')
-rw-r--r--net/hping/Makefile19
1 files changed, 9 insertions, 10 deletions
diff --git a/net/hping/Makefile b/net/hping/Makefile
index 4626eec673ea..4616be84dfe8 100644
--- a/net/hping/Makefile
+++ b/net/hping/Makefile
@@ -15,25 +15,24 @@ COMMENT= Network auditing tool
CONFLICTS= hping-devel-[0-9]*
WRKSRC= ${WRKDIR}/hping2-rc3
+
+USES= gmake
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --force-libpcap
-USE_GMAKE= yes
-PLIST_FILES= sbin/hping
+PLIST_FILES= sbin/hping man/man8/hping.8.gz
PORTDOCS= AS-BACKDOOR HPING2-HOWTO.txt HPING2-IS-OPEN \
MORE-FUN-WITH-IPID SPOOFED_SCAN.txt APD.txt
-MAN8= hping.8
+OPTIONS_DEFINE= DOCS
-NO_STAGE= yes
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/hping2 ${PREFIX}/sbin/hping
- ${INSTALL_MAN} ${WRKSRC}/docs/hping2.8 ${PREFIX}/man/man8/hping.8
-.if !defined(NOPORTDOCS)
- ${MKDIR} ${DOCSDIR}
+ ${INSTALL_PROGRAM} ${WRKSRC}/hping2 ${STAGEDIR}${PREFIX}/sbin/hping
+ ${INSTALL_MAN} ${WRKSRC}/docs/hping2.8 \
+ ${STAGEDIR}${MANPREFIX}/man/man8/hping.8
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
.for i in ${PORTDOCS}
- ${INSTALL_DATA} ${WRKSRC}/docs/${i} ${DOCSDIR}/
+ ${INSTALL_DATA} ${WRKSRC}/docs/${i} ${STAGEDIR}${DOCSDIR}
.endfor
-.endif
.include <bsd.port.mk>