source: trunk/dports/mail/sylpheed/Portfile

Last change on this file was 139229, checked in by jeremyhu@…, 2 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: 2.4 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 139229 2015-08-08 03:10:35Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                sylpheed
7version             3.3.0
8set branch          [join [lrange [split ${version} .] 0 1] .]
9categories          mail
10platforms           darwin
11maintainers         nomaintainer
12license             {GPL-2 LGPL-2.1}
13
14description         Fast, lightweight GTK+ mail client
15
16long_description    Sylpheed is a fast, lightweight email client written \
17                    in GTK+. The appearance and interface are similar to \
18                    popular Windows clients, such as Outlook Express, \
19                    Becky!, and Datula.
20
21homepage            http://sylpheed.sraoss.jp/en/
22master_sites        http://sylpheed.sraoss.jp/sylpheed/v${branch}
23use_bzip2           yes
24
25checksums           rmd160  bbdedf7e98848b4a24321e64ad8a21c311828e33 \
26                    sha256  4d8f791aaf0f347439512aec72cd8262f90e020352cb2f7b63727ac5bc07353b
27
28depends_build       port:pkgconfig
29
30depends_lib         port:gtk2
31
32configure.args      --disable-compface \
33                    --disable-gpgme \
34                    --disable-jpilot \
35                    --disable-ssl \
36                    --disable-gtkspell \
37                    --enable-ipv6
38
39post-destroot {
40    set docpath ${destroot}${prefix}/share/doc/${name}
41    file mkdir ${docpath}
42    foreach f {AUTHORS ChangeLog* COPYING* LICENSE NEWS* README* TODO*} {
43        eval file copy [glob ${worksrcpath}/${f}] ${docpath}
44    }
45}
46
47variant ssl {
48    depends_lib-append      path:lib/libssl.dylib:openssl
49    configure.args-delete   --disable-ssl
50    configure.args-append   --enable-ssl
51}
52
53variant gpg {
54    depends_lib-append      port:gpgme
55    configure.args-delete   --disable-gpgme
56    configure.args-append   --enable-gpgme \
57                            --with-gpgme-prefix=${prefix}
58}
59
60variant ldap {
61    depends_lib-append      port:openldap
62    configure.args-append   --enable-ldap
63}
64
65variant gtkspell {
66    depends_lib-append      port:gtkspell2
67    configure.args-delete   --disable-gtkspell
68    configure.args-append   --enable-gtkspell
69}
70
71variant compface {
72    depends_lib-append      port:compface
73    configure.args-delete   --disable-compface
74    configure.args-append   --enable-compface
75}
76
77livecheck.type      regex
78livecheck.url       ${homepage}download.html
79livecheck.regex     /${name}-(\[0-9.\]+)${extract.suffix}
Note: See TracBrowser for help on using the repository browser.