Fix a number of glaring problems:
* Always install the man pages.
* Do not install extra documentation when NOPORTDOCS is set.
* Do not change the owner of /var/run.
* Make sure the package will create directories, such as /var/log/callweaver,
the same as a "make install" of the port does.
* Make sure directories are properly chowned to callweaver:callweaver.
* Make sure created directories are removed on deinstall.
* Fix the installation of the sample config files for the package.
Reported by: QAT
Feature safe: yes
Callweaver (formely OpenPBX.org) is an open-source multi-platform PBX project.
It is based on Asterisk 1.2 code. Callweaver supports analog and digital
PSTN telephony, IAX/SIP and offers mature T.38 support.
WWW: http://www.callweaver.org
PR: ports/136133
Submitted by: Alexander V. Chernikov <melifaro@ipfw.ru>
Feature safe: yes