aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorehaupt <ehaupt@FreeBSD.org>2014-02-25 19:19:57 +0800
committerehaupt <ehaupt@FreeBSD.org>2014-02-25 19:19:57 +0800
commit879bfe42780feaa345290fb9ef1f658849a6e69f (patch)
treea1a303528288729680eacc801692072a130d5ef3
parent0598e2ea98ae56b857a083d491225cf2eef98fae (diff)
downloadfreebsd-ports-gnome-879bfe42780feaa345290fb9ef1f658849a6e69f.tar.gz
freebsd-ports-gnome-879bfe42780feaa345290fb9ef1f658849a6e69f.tar.zst
freebsd-ports-gnome-879bfe42780feaa345290fb9ef1f658849a6e69f.zip
Support staging
-rw-r--r--security/fuzzdb/Makefile16
1 files 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 <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>