maintainers jmr openmaintainer
description Fast and robust mail transfer agent
long_description Postfix attempts to be fast, easy to administer, and \
secure, while at the same time being \
sendmail-compatible enough to not upset existing \
users. It also offers QMQP and VERP support to let \
Postfix act as delivery daemon for ezmlm-idx.
homepage http://www.postfix.org/
checksums md5 b7a5c3ccd309156a65d6f8d2683d4fa1 \
sha1 94259e8f008b5b1853292e3de5e0ae3abcfe8c81 \
rmd160 dba0622cf6e21908f27bee0c9da42ab3c189d4bd
master_sites http://archive.mgm51.com/mirrors/postfix-source/official/ \
http://de.postfix.org/ftpmirror/official/ \
ftp://ftp.its.cz/MIRRORS/ftp.porcupine.org/mirrors/postfix-release/official/ \
ftp://ftp.cuhk.edu.hk/pub/packages/mail-server/postfix/official/ \
http://mirror.postfix.jp/postfix-release/official/ \
http://postfix.bbnx.net/source/official/
patchfiles patch-sys_defs.h patch-mail_params.h patch-postfix-install
eval reinplace "s|/etc/|${prefix}/etc/|g" \
[glob ${worksrcpath}/man/man1/*] \
[glob ${worksrcpath}/man/man5/*] \
[glob ${worksrcpath}/man/man8/*]
reinplace "s|__PREFIX|${prefix}|g" ${worksrcpath}/src/util/sys_defs.h \
${worksrcpath}/src/global/mail_params.h
reinplace "s|ls |/bin/ls |g" \
${worksrcpath}/conf/postfix-script
# Set main.cf default values
reinplace "s|#default_privs|default_privs|g" \
${worksrcpath}/conf/main.cf
reinplace "s|/etc/postfix/network_table|${prefix}/etc/postfix/network_table|g" \
${worksrcpath}/conf/main.cf
reinplace "s|/etc/postfix/relay_recipients|${prefix}/etc/postfix_relay_recipients|g" \
${worksrcpath}/conf/main.cf
reinplace "s|/etc/postfix/header_checks|${prefix}/etc/postfix/header_checks|g" \
${worksrcpath}/conf/main.cf
reinplace "s|PATH=/bin:/usr/bin|PATH=${prefix}/bin:/bin:/usr/bin|g" \
${worksrcpath}/conf/main.cf
set CCARGS [list -DNO_PCRE]
set AUXLIBS [list "-L${prefix}/lib" "-R${prefix}/lib" "-L${prefix}/lib"]
if {[variant_isset universal]} {
set CCARGS [concat ${CCARGS} ${configure.universal_cflags}]
set AUXLIBS [concat ${AUXLIBS} ${configure.universal_ldflags}]
set CCARGS [concat ${CCARGS} ${configure.cc_archflags}]