1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

Support staging

This commit is contained in:
Emanuel Haupt 2014-02-25 11:19:57 +00:00
parent 0d5a78f708
commit 4ace7cc811
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=345957

View File

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