I got manpath working. I had to add it to /etc/profile instead of ~/.bashrc
Now I get the error that manpath can't open the configuration file manpath.config as it isn't located in /etc/. Instead it's located in /opt/myfiles/etc. How do I get manpath reading the config file and other files from /opt/myfiles do I have to make symlinks??