[110174] trunk/dports/devel

devans at macports.org devans at macports.org
Tue Aug 27 14:11:04 PDT 2013


Revision: 110174
          https://trac.macports.org/changeset/110174
Author:   devans at macports.org
Date:     2013-08-27 14:11:04 -0700 (Tue, 27 Aug 2013)
Log Message:
-----------
zeitgeist: new port, a service which logs the users's activities and events.

Added Paths:
-----------
    trunk/dports/devel/zeitgeist/
    trunk/dports/devel/zeitgeist/Portfile
    trunk/dports/devel/zeitgeist/files/
    trunk/dports/devel/zeitgeist/files/patch-configure.ac.diff

Added: trunk/dports/devel/zeitgeist/Portfile
===================================================================
--- trunk/dports/devel/zeitgeist/Portfile	                        (rev 0)
+++ trunk/dports/devel/zeitgeist/Portfile	2013-08-27 21:11:04 UTC (rev 110174)
@@ -0,0 +1,85 @@
+# -*- 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
+# $Id$
+
+PortSystem          1.0
+
+name                zeitgeist
+version             0.9.14
+license             LGPL-2.1
+set branch          [join [lrange [split ${version} .] 0 1] .]
+description         Zeitgeist is a service which logs the users's activities and \
+                    events (files opened, websites visites, conversations held with \
+                    other people, etc.) and makes relevant information available to \
+                    other applications.
+long_description    ${description}
+maintainers         devans openmaintainer
+categories          devel
+platforms           darwin
+homepage            https://launchpad.net/zeitgeist-project
+master_sites        http://ftp.heanet.ie/mirrors/gnome/teams/releng/tarballs-needing-help/${name}/
+
+checksums           rmd160  fad3efc670a627e7494fe179b8afcbd612152a05 \
+                    sha256  64affdf543ca16c688845ac053bbacd8cb6021991afa7b27c4545efc5d86033f
+
+depends_build       port:pkgconfig \
+                    port:intltool \
+                    port:autoconf \
+                    port:automake \
+                    port:libtool \
+                    port:gnome-common
+
+depends_lib         port:gtk3 \
+                    path:lib/pkgconfig/glib-2.0.pc:glib2 \
+                    port:dbus \
+                    port:json-glib \
+                    port:telepathy-glib \
+                    port:gobject-introspection \
+                    port:raptor2 \
+                    port:vala
+
+patchfiles          patch-configure.ac.diff
+
+post-patch {
+    reinplace "s|^#\!.*|#!${configure.python}|" \
+        ${worksrcpath}/data/ontology2code \
+        ${worksrcpath}/test/dbus/blacklist-test.py \
+        ${worksrcpath}/test/dbus/dsr-test.py \
+        ${worksrcpath}/test/dbus/engine-test.py \
+        ${worksrcpath}/test/dbus/histogram-test.py \
+        ${worksrcpath}/test/dbus/monitor-test.py \
+        ${worksrcpath}/test/dbus/remote-test.py \
+        ${worksrcpath}/test/dbus/result-types-test.py \
+        ${worksrcpath}/test/dbus/run-all-tests.py \
+        ${worksrcpath}/test/dbus/upgrade-test.py \
+        ${worksrcpath}/tools/development/index_switcher.py \
+        ${worksrcpath}/tools/development/insert_events_from_json.py \
+        ${worksrcpath}/tools/development/query_timings.py \
+        ${worksrcpath}/tools/development/series.py \
+        ${worksrcpath}/tools/development/slow_query_finder.py \
+        ${worksrcpath}/tools/generate_events.py \
+        ${worksrcpath}/tools/gtk/zeitgeist-data-sources-gtk.py \
+        ${worksrcpath}/tools/ontology_graph.py \
+        ${worksrcpath}/tools/scalability_benchmark.py \
+        ${worksrcpath}/tools/talis  \
+        ${worksrcpath}/tools/zeitgeist-explorer/zeitgeist-explorer
+}
+
+configure.cmd       ./autogen.sh
+configure.args      --disable-silent-rules \
+                    --disable-introspection
+
+variant python25 description {Build using Python 2.5} {
+    depends_lib-append  port:py25-rdflib
+    configure.python    ${prefix}/bin/python2.5
+}
+
+variant python26 description {Build using Python 2.6} {
+    depends_lib-append  port:py26-rdflib
+    configure.python    ${prefix}/bin/python2.6
+}
+
+default_variants    +python26
+
+livecheck.type      regex
+livecheck.url       ${master_sites}
+livecheck.regex     "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"


Property changes on: trunk/dports/devel/zeitgeist/Portfile
___________________________________________________________________
Added: svn:keywords
   + Id
Added: svn:eol-style
   + native

Added: trunk/dports/devel/zeitgeist/files/patch-configure.ac.diff
===================================================================
--- trunk/dports/devel/zeitgeist/files/patch-configure.ac.diff	                        (rev 0)
+++ trunk/dports/devel/zeitgeist/files/patch-configure.ac.diff	2013-08-27 21:11:04 UTC (rev 110174)
@@ -0,0 +1,20 @@
+--- configure.ac.orig	2013-06-17 19:42:57.000000000 -0700
++++ configure.ac	2013-08-24 12:55:20.000000000 -0700
+@@ -7,6 +7,17 @@
+ 
+ AM_PATH_PYTHON
+ 
++dnl Override standard python locations with MacPorts version specific ones
++
++AC_SUBST([PYTHON_PREFIX], [`$PYTHON -c 'import sys; print(sys.prefix);'`])
++AC_SUBST([PYTHON_EXEC_PREFIX], [`$PYTHON -c 'import sys; print(sys.exec_prefix)'`])
++
++am_cv_python_pythondir=$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages
++am_cv_python_pyexecdir=$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages
++
++AC_SUBST([pythondir], [$am_cv_python_pythondir])
++AC_SUBST([pyexecdir], [$am_cv_python_pyexecdir])
++
+ AC_PROG_CC
+ AM_PROG_CC_C_O
+ AC_PROG_CXX
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130827/fa73484d/attachment.html>


More information about the macports-changes mailing list