diff options
author | ehaupt <ehaupt@FreeBSD.org> | 2014-02-28 16:45:12 +0800 |
---|---|---|
committer | ehaupt <ehaupt@FreeBSD.org> | 2014-02-28 16:45:12 +0800 |
commit | d9d6ae28d3f61f92e6cdab7cba49b3492c479d16 (patch) | |
tree | f7a134e3c5b0c2bfde5a66b94e047e15cec3bdb4 /net/hping | |
parent | 8e062e7a1f40a1d934ae92b6b56d4f7423d9d983 (diff) | |
download | freebsd-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/Makefile | 19 |
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> |