1 | # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4 |
---|
2 | # $Id: $ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | |
---|
6 | name evolution |
---|
7 | version 3.22.1 |
---|
8 | set branch [join [lrange [split ${version} .] 0 1] .] |
---|
9 | description Email, calendar, todo client for GNOME. |
---|
10 | long_description Evolution is the former flagship email, calendar, todo, \ |
---|
11 | and personal organizer for the GNOME Desktop. \ |
---|
12 | Thanks to cal@.. and devans@.. for help with creating this port. |
---|
13 | maintainers gwhitney openmaintainer |
---|
14 | categories gnome |
---|
15 | license LGPL-2+ |
---|
16 | platforms darwin |
---|
17 | homepage https://wiki.gnome.org/Apps/Evolution |
---|
18 | master_sites gnome:sources/${name}/${branch}/ |
---|
19 | |
---|
20 | use_xz yes |
---|
21 | |
---|
22 | checksums rmd160 b648075002d23eb46f3e1db5c257c39021ad5014 \ |
---|
23 | sha256 fa652d830f4185c33666770e6e9cfcc39d5e2f09486bbd63a084f3527064e52e |
---|
24 | |
---|
25 | depends_build port:pkgconfig \ |
---|
26 | port:autoconf \ |
---|
27 | port:automake \ |
---|
28 | port:libtool \ |
---|
29 | port:intltool \ |
---|
30 | port:gtk-doc \ |
---|
31 | port:gnome-common \ |
---|
32 | port:yelp-tools \ |
---|
33 | port:yelp |
---|
34 | |
---|
35 | depends_lib port:evolution-data-server \ |
---|
36 | port:gnome-autoar \ |
---|
37 | port:libcanberra \ |
---|
38 | port:libiconv \ |
---|
39 | port:gtkspell3 \ |
---|
40 | port:highlight \ |
---|
41 | port:libpst |
---|
42 | |
---|
43 | depends_run port:gnome-keyring |
---|
44 | |
---|
45 | patchfiles patch-configure.ac.diff |
---|
46 | |
---|
47 | # reconfigure using upstream autogen.sh for intltool 0.51 compatibility |
---|
48 | |
---|
49 | post-patch { |
---|
50 | xinstall -m 755 ${filespath}/autogen.sh ${worksrcpath} |
---|
51 | } |
---|
52 | |
---|
53 | configure.cmd ./autogen.sh |
---|
54 | |
---|
55 | configure.args --with-nspr-includes=${prefix}/include/nspr \ |
---|
56 | --with-nspr-libs=${prefix}/lib/nspr \ |
---|
57 | --with-nss-includes=${prefix}/include/nss \ |
---|
58 | --with-nss-libs=${prefix}/lib/nss \ |
---|
59 | --with-help \ |
---|
60 | --disable-libcryptui \ |
---|
61 | --disable-schemas-compile |
---|
62 | configure.post_args --enable-gnome-desktop=no |
---|
63 | |
---|
64 | |
---|
65 | variant x11 { |
---|
66 | depends_lib-append port:gnome-desktop |
---|
67 | configure.post_args |
---|
68 | } |
---|
69 | |
---|
70 | default_variants +x11 |
---|
71 | |
---|
72 | # |
---|
73 | # port nss is not universal |
---|
74 | # |
---|
75 | |
---|
76 | universal_variant no |
---|
77 | |
---|
78 | post-activate { |
---|
79 | system "${prefix}/bin/glib-compile-schemas ${prefix}/share/glib-2.0/schemas" |
---|
80 | } |
---|
81 | |
---|
82 | livecheck.type gnome |
---|