From 879bfe42780feaa345290fb9ef1f658849a6e69f Mon Sep 17 00:00:00 2001 From: ehaupt Date: Tue, 25 Feb 2014 11:19:57 +0000 Subject: Support staging --- security/fuzzdb/Makefile | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/security/fuzzdb/Makefile b/security/fuzzdb/Makefile index 3daef2c5d9bf..d24843d6f207 100644 --- a/security/fuzzdb/Makefile +++ b/security/fuzzdb/Makefile @@ -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 - 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 -- cgit