mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
Support staging
This commit is contained in:
parent
bff0250c8c
commit
abb21dae96
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=345845
@ -9,17 +9,17 @@ MASTER_SITES= SF
|
||||
MAINTAINER= jmohacsi@bsd.hu
|
||||
COMMENT= Tool to measure practical TCP throughput between two machines
|
||||
|
||||
DOC_FILES= README
|
||||
PLIST_FILES= bin/netstrain bin/netstraind
|
||||
PORTDOCS= README
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
NO_STAGE= yes
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/netstrain ${PREFIX}/bin
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/netstraind ${PREFIX}/bin
|
||||
.ifndef(NOPORTDOCS)
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
.for i in ${DOC_FILES}
|
||||
@${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/netstrain ${STAGEDIR}${PREFIX}/bin
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/netstraind ${STAGEDIR}${PREFIX}/bin
|
||||
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
.for i in ${PORTDOCS}
|
||||
${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}
|
||||
.endfor
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,4 +0,0 @@
|
||||
bin/netstrain
|
||||
bin/netstraind
|
||||
%%PORTDOCS%%%%DOCSDIR%%/README
|
||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
Loading…
Reference in New Issue
Block a user