source: trunk/dports/mail/qpopper/Portfile @ 3977

Last change on this file since 3977 was 3977, checked in by jkh, 16 years ago

Fix the historical "sufx botch" by renaming it to "suffix"
Reviewed by: fkr & darwinports mailing list

  • Property svn:eol-style set to native
File size: 2.2 KB
Line 
1# $Id: Portfile,v 1.5 2003/11/17 21:20:00 jkh Exp $
2
3PortSystem 1.0
4name            qpopper
5version         4.0.5
6revision        3
7categories      mail
8maintainers     pguyot@kallisys.net
9description     Eudora POP3 mail server
10long_description        popper is Eudora's POP3 mail server. It does not include a mail \
11                        transfer agent or an SMTP server, it just let you get your mail stored \
12                        on the machine via POP3.
13homepage        http://www.eudora.com/qpopper/
14distfiles       ${name}${version}${extract.suffix}
15master_sites    ftp://ftp.qualcomm.com/eudora/servers/unix/popper/ \
16                http://core.ring.gr.jp/archives/net/mail/qpopper/ \
17                http://www.ring.gr.jp/archives/net/mail/qpopper/ \
18                ftp://ftp.nctu.edu.tw/network/mail/qpopper/
19checksums       md5 e00853280c9e899711f0b0239d3d8f86
20worksrcdir      ${portname}${portversion}
21patchfiles      patch-Makefile.in
22
23configure.args  --mandir=${prefix}/share/man --with-pam=pop3
24destroot.destdir        prefix=${destroot}/${prefix} mandir=${destroot}/${prefix}/share/man
25
26pre-destroot {  system "install -d ${destroot}${prefix}/etc/xinetd.d"
27                system "install -o root -m 755 -c ${portpath}/files/qpopper-dist \
28                        ${destroot}${prefix}/etc/xinetd.d/"
29                reinplace "s|@@PREFIX@@|${prefix}|g" \
30                        ${destroot}${prefix}/etc/xinetd.d/qpopper-dist }
31
32# Tell the user that the server needs to be used through (x)inetd
33post-install {
34        ui_msg "\nTo use qpopper, you'll need to add it to inetd.conf/xinetd.d depending on"
35        ui_msg "what you use on your system.\n"
36        ui_msg "For inetd, something like:"
37        ui_msg "pop3  stream  tcp  nowait  root  /usr/libexec/tcpd  ${prefix}/sbin/popper"
38        ui_msg "should do it.\n"
39        ui_msg "For xinetd (the default on MacOS X), you'll find in ${prefix}/etc/xinetd.d/"
40        ui_msg "a file called qpopper-dist that you should edit and copy to /etc/xinetd.d/\n"
41        ui_msg "In both cases, don't forget to tell (x)inetd to reload their configuration.\n"
42}
43
44variant darwin {
45        patchfiles-append patch-configure
46        configure.env   CPPFLAGS="-I${workpath}/paminclude" CFLAGS="-I${workpath}/paminclude"
47
48        post-extract    {
49                system "rm '${worksrcpath}/INSTALL'"
50                system "mkdir -p ${workpath}/paminclude"
51                system "ln -s /usr/include/pam ${workpath}/paminclude/security"
52        }
53}
54
55variant ssl {
56        configure.args-append   --with-openssl=${prefix}
57        depends_lib-append      lib:libssl.0:openssl
58}
Note: See TracBrowser for help on using the repository browser.