diff --git a/security/snort3/Makefile b/security/snort3/Makefile index 97109a833092..10502c9fbb5f 100644 --- a/security/snort3/Makefile +++ b/security/snort3/Makefile @@ -60,6 +60,9 @@ STATICDAQ_CMAKE_BOOL= ENABLE_STATIC_DAQ THREADSANITIZER_CMAKE_BOOL= ENABLE_THREAD_SANITIZER TSC_CMAKE_BOOL= ENABLE_TSC_CLOCK +DOCS_USE= ruby=yes +DOCS_VARS= ruby_no_run_depends=yes + .include .if ${ARCH:Mpowerpc64*} @@ -76,4 +79,7 @@ post-patch: ${REINPLACE_CMD} -e 's|_LIBDIR}/pkgconfig|_PREFIX}/libdata/pkgconfig|g' \ ${WRKSRC}/cmake/create_pkg_config.cmake +post-stage-DOCS-on: + ${RUBY} ${WRKSRC}/doc/upgrade/get_differences.rb ${WRKSRC}/tools/snort2lua > ${STAGEDIR}${PREFIX}/share/doc/snort/config_changes.txt + .include