Changeset View
Changeset View
Standalone View
Standalone View
dns/dog/Makefile
| Show First 20 Lines • Show All 99 Lines • ▼ Show 20 Lines | |||||
| COMPLETIONS_DESC= Install bash, fish and zsh shell completions | COMPLETIONS_DESC= Install bash, fish and zsh shell completions | ||||
| COMPLETIONS_PLIST_FILES= share/bash-completion/completions/${PORTNAME} \ | COMPLETIONS_PLIST_FILES= share/bash-completion/completions/${PORTNAME} \ | ||||
| share/fish/vendor_completions.d/${PORTNAME}.fish \ | share/fish/vendor_completions.d/${PORTNAME}.fish \ | ||||
| share/zsh/site-functions/_${PORTNAME} | share/zsh/site-functions/_${PORTNAME} | ||||
| .include <bsd.port.options.mk> | .include <bsd.port.options.mk> | ||||
| .if ( ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400092 && ${SSL_DEFAULT} == base ) || ${SSL_DEFAULT:Mopenssl} || ${SSL_DEFAULT:Mopenssl3*} | .if ( ${OPSYS} == FreeBSD && ${SSL_DEFAULT} == base ) || ${SSL_DEFAULT:Mopenssl} || ${SSL_DEFAULT:Mopenssl3*} | ||||
| BROKEN= Fails to detect OpenSSL 3.0.0 and later | BROKEN= Fails to detect OpenSSL 3.0.0 and later | ||||
| .endif | .endif | ||||
| post-install-COMPLETIONS-on: | post-install-COMPLETIONS-on: | ||||
| .for _shell in bash fish zsh | .for _shell in bash fish zsh | ||||
| ${INSTALL_DATA} ${WRKSRC}/completions/${PORTNAME}.${_shell} \ | ${INSTALL_DATA} ${WRKSRC}/completions/${PORTNAME}.${_shell} \ | ||||
| ${STAGEDIR}${PREFIX}/${COMPLETIONS_PLIST_FILES:M*${_shell}*} | ${STAGEDIR}${PREFIX}/${COMPLETIONS_PLIST_FILES:M*${_shell}*} | ||||
| .endfor | .endfor | ||||
| post-install-DOCS-on: | post-install-DOCS-on: | ||||
| @${MKDIR} ${STAGEDIR}${DOCSDIR} | @${MKDIR} ${STAGEDIR}${DOCSDIR} | ||||
| ${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR} | ${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR} | ||||
| .include <bsd.port.mk> | .include <bsd.port.mk> | ||||