diff options
author | Matthias Andree <mandree@FreeBSD.org> | 2016-01-11 23:27:56 +0000 |
---|---|---|
committer | Matthias Andree <mandree@FreeBSD.org> | 2016-01-11 23:27:56 +0000 |
commit | b9938935824510bfb7ba620b4e1b34a38af935fa (patch) | |
tree | 67627f1d37c7639d7b73a13ae8d3f30b4b477b40 /security/easy-rsa | |
parent | 843ad7c6d05598ca21883e44ee933bcc7db25315 (diff) |
Notes
Diffstat (limited to 'security/easy-rsa')
-rw-r--r-- | security/easy-rsa/Makefile | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/security/easy-rsa/Makefile b/security/easy-rsa/Makefile index 351483f43254..f708ab679a78 100644 --- a/security/easy-rsa/Makefile +++ b/security/easy-rsa/Makefile @@ -21,7 +21,9 @@ NO_BUILD= yes OPTIONS_DEFINE= DOCS EXAMPLES PORTDATA= x509-types/ -PORTDOCS= ChangeLog README.quickstart.md doc/ +_pd_files= ChangeLog README.quickstart.md +_pd_dirs= doc/ +PORTDOCS= ${_pd_files} ${_pd_dirs} SUB_FILES= easyrsa @@ -35,13 +37,12 @@ do-install: do-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} -.for i in ${PORTDOCS} -.if "" != ${i:M*/} +.for i in ${_pd_files} + ${INSTALL_MAN} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR} +.endfor +.for i in ${_pd_dirs} ${MKDIR} ${STAGEDIR}${DOCSDIR}/${i} (cd ${WRKSRC}/${i} && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}/${i}) -.else - ${INSTALL_MAN} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR} -.endif .endfor .include <bsd.port.mk> |