source: trunk/dports/mail/claws-mail/Portfile @ 121269

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

misc: Cleanup configure.cxx_stdlib related logic now that we can assume base 2.3 or newer

  • 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 121269 2014-06-21 20:18:42Z jeremyhu@macports.org $
3
4PortSystem      1.0
5PortGroup       active_variants 1.1
6
7name            claws-mail
8version         3.9.3
9revision        1
10categories      mail news
11platforms       darwin
12license         GPL-3+
13maintainers     piermont.com:perry openmaintainer
14
15description     A lightweight and very featureful GTK+ based e-mail and news client
16
17long_description Currently, many features are supported in Claws Mail \
18                including POP3, IMAP, NNTP, multiple accounts, \
19                threading, filtering, MIME attachments, APOP, SMTP \
20                AUTH, SSL, IPv6, GnuPG, internalization, plugins, \
21                a filtering/processing mechanism, extra folder \
22                properties and much more.
23
24homepage        http://www.claws-mail.org/
25master_sites    sourceforge:project/sylpheed-claws/Claws%20Mail/${version}
26
27checksums       rmd160  e9258dd2323010596782e2090a40f3fe674344e2 \
28                sha256  53aacceab45af6c3ee1f0668956a6e3328d21ac4efcfc0aa8dfd7d7552a62372
29
30use_bzip2       yes
31
32depends_build   port:pkgconfig
33depends_lib     port:gtk2 \
34                port:libetpan \
35                port:gpgme \
36                port:compface \
37                port:gtkspell2 \
38                port:aspell \
39                port:gnutls \
40                port:libgcrypt \
41                port:enchant \
42                path:lib/pkgconfig/webkit-1.0.pc:webkit-gtk
43
44# claws uses gdk/gdkx.h, which is not installed by gtk2 +quartz.
45require_active_variants \
46                gtk2 x11
47
48# TODO: Check ${configure.cxx_stdlib} directly once MacPorts 2.3 is released
49platform darwin {
50    if {${configure.cxx_stdlib} eq "libstdc++"} {
51       depends_lib-delete path:lib/pkgconfig/webkit-1.0.pc:webkit-gtk
52       depends_lib-append path:lib/pkgconfig/webkit-1.0.pc:webkit-gtk-2.0
53    }
54}
55
56configure.args  --disable-jpilot \
57                --disable-acpi_notifier-plugin \
58                --disable-archive-plugin \
59                --disable-bogofilter-plugin \
60                --disable-bsfilter-plugin \
61                --disable-clamd-plugin \
62                --disable-spamassassin-plugin \
63                --disable-spam_report-plugin \
64                --disable-tnef_parse-plugin \
65                --enable-manual \
66                --enable-ipv6 \
67                --enable-crash-dialog
68
69livecheck.regex /${name}-(\[0-9.\]+)${extract.suffix}
Note: See TracBrowser for help on using the repository browser.