source: trunk/dports/mail/isync/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.9 KB
Line 
1# $Id: Portfile 139229 2015-08-08 03:10:35Z jeremyhu@macports.org $
2
3PortSystem          1.0
4
5name                isync
6version             1.1.2
7revision            1
8checksums           rmd160  e4e0b7ad83de73e875f8e605e242c82653593b9b \
9                    sha256  a225b5d5915b6e0f9da303caa6b4db1ee06241e98c1ad0a662e5dcea0654c0a4
10
11categories          mail
12platforms           darwin
13license             GPL-2
14maintainers         nomaintainer
15description         Synchronizes a maildir with an imap server, provides mbsync command
16homepage            http://isync.sourceforge.net/
17
18long_description    isync is a command line utility for synchronizing a \
19                    remote IMAP mailbox with a local maildir-style mailbox. \
20                    This is useful for working in disconnected mode, such as \
21                    on a laptop. Modifications made locally and remotely are \
22                    synchronized so that no message status flags are lost. \
23                    Due to massive changes in interfaces the new command is \
24                    called mbsync, isync is still provided for compatibility.
25
26master_sites        sourceforge
27
28depends_lib         port:db53 \
29                    path:lib/libssl.dylib:openssl \
30                    port:zlib
31
32depends_run         path:share/curl/curl-ca-bundle.crt:curl-ca-bundle
33
34post-patch {
35    # Patch the sample configuration to use MacPorts certificates
36    reinplace -E "s#^CertificateFile .*\$#CertificateFile ${prefix}/share/curl/curl-ca-bundle.crt#g" \
37        ${worksrcpath}/src/mbsyncrc.sample
38}
39
40configure.args              --mandir=${prefix}/share/man
41configure.cppflags-append   -I${prefix}/include/db53
42configure.ldflags-append    -L${prefix}/lib/db53
43
44post-destroot {
45    xinstall -m 644 -W ${worksrcpath}/src \
46        compat/isync.1 mbsync.1 mdconvert.1 \
47        ${destroot}${prefix}/share/man/man1
48}
49
50notes "A sample configuration file has been installed in ${prefix}/share/doc/${name}/examples/mbsyncrc.sample"
Note: See TracBrowser for help on using the repository browser.