source: trunk/dports/devel/zeitgeist/Portfile @ 115615

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

add gtk3-devel port at the request of devans, rewrite dependencies to be satisfyable using gtk3-devel, closes #42040

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 3.4 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 115615 2014-01-07 00:28:17Z cal@macports.org $
3
4PortSystem          1.0
5
6name                zeitgeist
7version             0.9.14
8revision            1
9license             LGPL-2.1
10set branch          [join [lrange [split ${version} .] 0 1] .]
11description         Zeitgeist is a service which logs the users's activities and \
12                    events (files opened, websites visites, conversations held with \
13                    other people, etc.) and makes relevant information available to \
14                    other applications.
15long_description    ${description}
16maintainers         devans openmaintainer
17categories          devel
18platforms           darwin
19homepage            https://launchpad.net/zeitgeist-project
20master_sites        http://ftp.heanet.ie/mirrors/gnome/teams/releng/tarballs-needing-help/${name}/
21
22checksums           rmd160  fad3efc670a627e7494fe179b8afcbd612152a05 \
23                    sha256  64affdf543ca16c688845ac053bbacd8cb6021991afa7b27c4545efc5d86033f
24
25depends_build       port:pkgconfig \
26                    port:intltool \
27                    port:autoconf \
28                    port:automake \
29                    port:libtool \
30                    port:gnome-common
31
32depends_lib         path:lib/pkgconfig/gtk+-3.0.pc:gtk3 \
33                    path:lib/pkgconfig/glib-2.0.pc:glib2 \
34                    port:dbus \
35                    port:json-glib \
36                    port:telepathy-glib \
37                    port:gobject-introspection \
38                    port:raptor2 \
39                    port:vala
40
41patchfiles          patch-configure.ac.diff
42
43post-patch {
44    reinplace "s|^#\!.*|#!${configure.python}|" \
45        ${worksrcpath}/data/ontology2code \
46        ${worksrcpath}/test/dbus/blacklist-test.py \
47        ${worksrcpath}/test/dbus/dsr-test.py \
48        ${worksrcpath}/test/dbus/engine-test.py \
49        ${worksrcpath}/test/dbus/histogram-test.py \
50        ${worksrcpath}/test/dbus/monitor-test.py \
51        ${worksrcpath}/test/dbus/remote-test.py \
52        ${worksrcpath}/test/dbus/result-types-test.py \
53        ${worksrcpath}/test/dbus/run-all-tests.py \
54        ${worksrcpath}/test/dbus/upgrade-test.py \
55        ${worksrcpath}/tools/development/index_switcher.py \
56        ${worksrcpath}/tools/development/insert_events_from_json.py \
57        ${worksrcpath}/tools/development/query_timings.py \
58        ${worksrcpath}/tools/development/series.py \
59        ${worksrcpath}/tools/development/slow_query_finder.py \
60        ${worksrcpath}/tools/generate_events.py \
61        ${worksrcpath}/tools/gtk/zeitgeist-data-sources-gtk.py \
62        ${worksrcpath}/tools/ontology_graph.py \
63        ${worksrcpath}/tools/scalability_benchmark.py \
64        ${worksrcpath}/tools/talis  \
65        ${worksrcpath}/tools/zeitgeist-explorer/zeitgeist-explorer
66}
67
68configure.cmd       ./autogen.sh
69configure.args      --disable-silent-rules \
70                    --disable-introspection
71
72variant python25 description {Build using Python 2.5} {
73    depends_lib-append  port:py25-rdflib
74    configure.python    ${prefix}/bin/python2.5
75}
76
77variant python26 description {Build using Python 2.6} {
78    depends_lib-append  port:py26-rdflib
79    configure.python    ${prefix}/bin/python2.6
80}
81
82default_variants    +python26
83
84livecheck.type      regex
85livecheck.url       ${master_sites}
86livecheck.regex     "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"
Note: See TracBrowser for help on using the repository browser.