First the port as it stand uses ${DOCDIR} without first setting it. This installs all the docs in /usr/share/doc -- clearly not what was intended. Changed to set DOCDIR= ${PREFIX}/share/doc/postfix where the docs actually belong. Second I got tired of typing make -DWITH_PCRE -DWITH_SASL etc. So I put all that into the ${SCRIPTDIR}/configure.postfix based on the fine work done in mod_php[34] and cyrus-sasl ports. Third I added an option to use Berkeley DB3 which is required if SASL was also built with DB3. And the final fix is to generate /etc/mail/mailer.conf with tabs instead of spaces. I've submitted patches to fix this last point in the past but they somehow never make it in. I also changed the PLIST substitution variables from WITH_* to SUB_* This changes nothing except making it easier for me to keep track what the variables actually do. How-To-Repeat: cd /usr/ports/mail/postfix-current && make install
State Changed From-To: open->feedback Maintainer feedbacked to send new patch to fit latest port.
State Changed From-To: feedback->closed Committed, thanks!