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-24 13:50:56 +00:00
parent bff0250c8c
commit abb21dae96
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=345845
2 changed files with 9 additions and 13 deletions

View File

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

View File

@ -1,4 +0,0 @@
bin/netstrain
bin/netstraind
%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%@dirrm %%DOCSDIR%%