description Eudora POP3 mail server
long_description popper is Eudora's POP3 mail server. It does not include a mail \
transfer agent or an SMTP server, it just let you get your mail stored \
homepage http://www.eudora.com/products/unsupported/qpopper/
distfiles ${name}${version}${extract.suffix}
master_sites http://www.ring.gr.jp/archives/net/mail/qpopper/ \
ftp://ftp.nctu.edu.tw/network/mail/qpopper/ \
ftp://ftp.qualcomm.com/eudora/servers/unix/popper/
checksums md5 de2cd15f95cfd00d0d080fd16287acad \
rmd160 b48a68cd9e282bfb3d78c6b53f3dee7c97bdf77d \
sha1 5629aa86d92fe10565021980882dffb733ce73d9
worksrcdir ${name}${version}
patchfiles patch-Makefile.in patch-popper-Makefile.in
configure.args --mandir=${prefix}/share/man \
destroot.destdir prefix=${destroot}/${prefix} mandir=${destroot}/${prefix}/share/man
reinplace "s|@@INSTALL.USER@@|${install.user}|g" \
${worksrcpath}/Makefile.in
reinplace "s|@@INSTALL.USER@@|${install.user}|g" \
${worksrcpath}/popper/Makefile.in
xinstall -d ${destroot}${prefix}/etc/xinetd.d
xinstall -o ${install.user} -m 755 -c ${portpath}/files/qpopper-dist \
${destroot}${prefix}/etc/xinetd.d/
reinplace "s|@@PREFIX@@|${prefix}|g" \
${destroot}${prefix}/etc/xinetd.d/qpopper-dist
# Tell the user that the server needs to be used through (x)inetd
ui_msg "\nTo use qpopper, you'll need to add it to inetd.conf/xinetd.d/launchd depending on"
ui_msg "what you use on your system.\n"
ui_msg "For inetd, something like:"
ui_msg "pop3 stream tcp nowait root /usr/libexec/tcpd ${prefix}/sbin/popper"
ui_msg "For xinetd, you'll find in ${prefix}/etc/xinetd.d/"
ui_msg "a file called qpopper-dist that you should edit and copy to /etc/xinetd.d/\n"
ui_msg "In both cases, don't forget to tell (x)inetd to reload their configuration.\n"
configure.args-append --enable-specialauth
configure.ldflags "-framework DirectoryService"
patchfiles-append patch-pop_pass.c
xinstall -d ${destroot}${prefix}/Library/LaunchDaemons/
xinstall -o ${install.user} -m 755 -c ${portpath}/files/org.macports.mail.qpopper.plist-dist \