Support staging
This commit is contained in:
parent
0d5a78f708
commit
4ace7cc811
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=345957
1 changed files with 5 additions and 11 deletions
|
@ -16,21 +16,15 @@ PORTDOCS= _copyright.txt _readme.txt
|
|||
PORTDIRS= attack-payloads wordlists-misc Discovery \
|
||||
web-backdoors wordlists-user-passwd regex
|
||||
|
||||
NO_STAGE= yes
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
do-install:
|
||||
.for dir in ${PORTDIRS}
|
||||
( cd ${WRKSRC}/${dir} && ${COPYTREE_SHARE} . ${DATADIR}/${dir} )
|
||||
( cd ${WRKSRC}/${dir} && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/${dir} )
|
||||
.endfor
|
||||
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
.for doc in ${PORTDOCS}
|
||||
${INSTALL_DATA} ${WRKSRC}/${doc} ${STAGEDIR}${DOCSDIR}
|
||||
.endfor
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
${MKDIR} ${DOCSDIR}
|
||||
. for doc in ${PORTDOCS}
|
||||
${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}
|
||||
. endfor
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
Loading…
Reference in a new issue