source: trunk/dports/gnome/evolution-data-server/Portfile @ 87969

Last change on this file since 87969 was 85712, checked in by dports@…, 8 years ago

evolution-data-server: license

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.5 KB
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: Portfile 85712 2011-10-16 03:43:43Z dports@macports.org $
3
4PortSystem 1.0
5
6name            evolution-data-server
7version         2.30.3
8revision        2
9set branch      [join [lrange [split ${version} .] 0 1] .]
10description     Addressbook and calender libs for GNOME.
11long_description    Evolution Data Server provides a central location for \
12                    addressbook and calendar in the GNOME Desktop.
13maintainers     geekdaily.org:jim
14categories      gnome
15license         LGPL-2+
16platforms       darwin
17homepage        http://www.gnome.org/
18master_sites    gnome:sources/${name}/${branch}/
19
20checksums       md5     095bac0a80043d57d00f64319f3cbdbb \
21                sha1    449d3e7a9b19768d5a792434ca5d55c9d2496993 \
22                rmd160  2d4dc2fd6b8dfdc013042400b382f4684e642425
23
24depends_build   port:pkgconfig \
25                port:intltool \
26                port:gtk-doc
27
28depends_lib     port:gconf \
29                port:libgnome-keyring \
30                port:libgweather \
31                port:libical \
32                port:nss \
33                port:gnuregex \
34                port:db46
35
36use_bzip2       yes
37
38patchfiles      patch-configure.ac.diff \
39                patch-m4-evo_krb5_support.m4.diff
40
41use_autoreconf    yes
42autoreconf.args  -fvi
43
44configure.args  \
45        --enable-static \
46        --enable-smime \
47        --enable-gnome-keyring \
48        --enable-ipv6 \
49        --enable-nntp \
50        --with-nspr-includes=${prefix}/include/nspr  \
51        --with-nspr-libs=${prefix}/lib/nspr  \
52        --with-nss-includes=${prefix}/include/nss \
53        --with-nss-libs=${prefix}/lib/nss \
54        --with-krb5=/usr \
55        --disable-schemas-install
56
57#
58# port nss is not universal
59#
60universal_variant no
61
62platform darwin 8 {
63    post-patch {
64        reinplace "s|#include <stdio.h>|#include <stdio.h>\\\n#include <sys/types.h>|g" \
65        ${worksrcpath}/camel/camel-block-file.h
66    }
67    configure.args-delete --with-krb5=/usr
68    configure.args-append --without-krb5
69}
70
71variant gtk_doc description {Build gtk-doc documentation} {
72  configure.args-append --enable-gtk-doc
73}
74
75post-activate    {
76    system "export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` && \
77        gconftool-2 --makefile-install-rule ${prefix}/etc/gconf/schemas/*.schemas"
78}
79
80livecheck.type  regex
81livecheck.url   http://ftp.gnome.org/pub/gnome/sources/${name}/${branch}/
82livecheck.regex {LATEST-IS-(\d+(?:\.\d+)*)}
Note: See TracBrowser for help on using the repository browser.