source: trunk/dports/comms/telepathy-glib/Portfile @ 97562

Last change on this file since 97562 was 97562, checked in by devans@…, 8 years ago

telepathy-glib: build using +vala by default as required by port 'folks'.

  • 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 97562 2012-09-09 09:50:19Z devans@macports.org $
3
4PortSystem 1.0
5
6name            telepathy-glib
7version         0.18.2
8revision        1
9license         LGPL-2.1+
10description     The ${name} component of Telepathy - a Flexible Communications Framework.
11long_description \
12                The ${name} component of Telepathy - a Flexible Communications Framework. \
13                The Telepathy project is building a unified framework for many \
14                different kinds of real-time communications. It uses the D-Bus \
15                messaging system to provide a simple interface for client applications, \
16                allowing them to quickly take advantage of Telepathy's benefits.
17maintainers     devans openmaintainer
18categories      comms
19platforms       darwin
20homepage        http://telepathy.freedesktop.org/wiki
21master_sites    http://telepathy.freedesktop.org/releases/${name}/
22
23checksums       rmd160  f66d204ffcb37b8c8c14f1466a65bd0ec9240612 \
24                sha256  372375578be8053398f9fb1e12188a8b472d6d897e0ac73b230d31e112c68b3f
25
26depends_build   port:pkgconfig \
27                port:gnome-doc-utils \
28                port:gtk-doc
29
30depends_lib     port:dbus-glib
31
32patchfiles      patch-configure.diff
33
34use_parallel_build no
35
36configure.args  --enable-introspection=no
37
38variant vala description {Enable GObject introspection and Vala bindings} {
39    depends_build-append    port:vala
40    depends_lib-append      port:gobject-introspection
41    configure.args-delete   --enable-introspection=no
42    configure.args-append   --enable-introspection=yes \
43                            --enable-vala-bindings
44}
45
46variant python25 conflicts python26 python27 description {Build using Python 2.5} {
47    configure.python          ${prefix}/bin/python2.5
48    depends_build-append      port:python25
49}
50
51variant python26 conflicts python25 python27 description {Build using Python 2.6} {
52    configure.python          ${prefix}/bin/python2.6
53    depends_build-append      port:python26
54}
55
56variant python27 conflicts python25 python26 description {Build using Python 2.7} {
57    configure.python          ${prefix}/bin/python2.7
58    depends_build-append      port:python27
59}
60
61if {![variant_isset python25] && ![variant_isset python26]} {
62    default_variants +python27
63}
64
65# port folks requires +vala
66
67default_variants +vala
68
69livecheck.type  regex
70livecheck.url   ${master_sites}
71livecheck.regex ${name}-(\[0-9\]+\\.\[0-9\]*\[02468\](\\.\[0-9\]+)*)${extract.suffix}
Note: See TracBrowser for help on using the repository browser.