--- CMakeLists.txt.orig	2018-10-22 02:29:34 UTC
+++ CMakeLists.txt
@@ -410,7 +410,7 @@ if(NOT RDK_INSTALL_INTREE)
       PATTERN ".svn" EXCLUDE
       )
   install(DIRECTORY Docs DESTINATION
-      ${RDKit_ShareDir}
+      ${FREEBSD_DOCSDIR}
       COMPONENT docs
       PATTERN ".svn" EXCLUDE
       PATTERN "_build" EXCLUDE
