Ticket #52281: Portfile.3

File Portfile.3, 2.5 KB (added by gwhitney, 8 years ago)

2016 Oct 16 version of evolution Portfile. Ignore all previous attachments.

Line 
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
4PortSystem          1.0
5
6name                evolution
7version             3.22.1
8set branch          [join [lrange [split ${version} .] 0 1] .]
9description         Email, calendar, todo client for GNOME.
10long_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.
13maintainers         gwhitney openmaintainer
14categories          gnome
15license             LGPL-2+
16platforms           darwin
17homepage            https://wiki.gnome.org/Apps/Evolution
18master_sites        gnome:sources/${name}/${branch}/
19
20use_xz              yes
21
22checksums           rmd160 b648075002d23eb46f3e1db5c257c39021ad5014 \
23                    sha256 fa652d830f4185c33666770e6e9cfcc39d5e2f09486bbd63a084f3527064e52e
24
25depends_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
35depends_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
43depends_run         port:gnome-keyring
44
45patchfiles          patch-configure.ac.diff
46
47# reconfigure using upstream autogen.sh for intltool 0.51 compatibility
48
49post-patch {
50    xinstall -m 755 ${filespath}/autogen.sh ${worksrcpath}
51}
52
53configure.cmd       ./autogen.sh
54
55configure.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
62configure.post_args --enable-gnome-desktop=no
63
64
65variant x11 {
66    depends_lib-append port:gnome-desktop
67    configure.post_args
68}
69
70default_variants    +x11
71
72#
73# port nss is not universal
74#
75
76universal_variant   no
77
78post-activate    {
79    system "${prefix}/bin/glib-compile-schemas ${prefix}/share/glib-2.0/schemas"
80}
81
82livecheck.type      gnome