1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

Support staging

This commit is contained in:
Emanuel Haupt 2014-02-28 08:45:12 +00:00
parent 3263b0b11d
commit 3c6b7d1811
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=346466

View File

@ -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>