source: trunk/dports/mail/tpop3d/Portfile @ 139229

Last change on this file since 139229 was 139229, checked in by jeremyhu@…, 4 years ago

misc: Change port:openssl dependency to path:lib/libssl.dylib:openssl

This should allow usage of libressl as a replacement for openssl in relevant
ports. Not all ports have been tested, but libressl aims for API
compatibility with OpenSSL, so it is expected to work.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.2 KB
Line 
1# $Id: Portfile 139229 2015-08-08 03:10:35Z jeremyhu@macports.org $
2
3PortSystem 1.0
4
5name            tpop3d
6version         1.5.3
7revision        3
8categories      mail
9license         GPL-2
10platforms       darwin
11maintainers     nomaintainer
12description     tpop3d is a fast, extensible, secure UNIX POP3 server
13long_description        ${description}
14
15homepage        http://www.ex-parrot.com/~chris/tpop3d/
16master_sites    ${homepage}
17checksums       md5 dd920c49f4e5879eb3caf7ea047622e9
18
19depends_lib     path:lib/libssl.dylib:openssl
20
21
22configure.args  --enable-auth-pam \
23                --enable-auth-passwd \
24                --enable-tls \
25                --enable-tcp-wrappers \
26                --mandir=${prefix}/share/man
27configure.ldflags-append        "-lcrypto"
28
29post-destroot   {
30        xinstall -d -m 755 ${destroot}${prefix}/etc \
31                ${destroot}${prefix}/share/doc/${name} \
32                ${destroot}${prefix}/var/spool/${name}
33        xinstall -m 644 ${worksrcpath}/darwin/tpop3d.conf.example \
34                ${destroot}${prefix}/etc
35        xinstall -m 644 -W ${worksrcpath} CHANGES COPYING CREDITS FAQ HACKING \
36        INSTALL PORTABILITY README README.POP-before-SMTP README.auth_mysql \
37        README.darwin TODO ${destroot}${prefix}/share/doc/${name}
38        destroot.keepdirs ${destroot}${prefix}/var/spool/${name}
39}
40
41if {${os.platform} eq "darwin" && ${os.major} <= 9} {
42        patchfiles-append       patch-configure patch-auth_pam.c
43}
Note: See TracBrowser for help on using the repository browser.