[106122] trunk/dports/comms/telepathy-logger/Portfile
devans at macports.org
devans at macports.org
Wed May 15 12:56:29 PDT 2013
Revision: 106122
https://trac.macports.org/changeset/106122
Author: devans at macports.org
Date: 2013-05-15 12:56:29 -0700 (Wed, 15 May 2013)
Log Message:
-----------
telepathy-logger: correctly install gsettings schemas.
Modified Paths:
--------------
trunk/dports/comms/telepathy-logger/Portfile
Modified: trunk/dports/comms/telepathy-logger/Portfile
===================================================================
--- trunk/dports/comms/telepathy-logger/Portfile 2013-05-15 18:58:00 UTC (rev 106121)
+++ trunk/dports/comms/telepathy-logger/Portfile 2013-05-15 19:56:29 UTC (rev 106122)
@@ -5,7 +5,7 @@
name telepathy-logger
version 0.8.0
-revision 1
+revision 2
set branch [join [lrange [split ${version} .] 0 1] .]
license LGPL-2.1+
description The ${name} component of Telepathy - a Flexible Communications Framework
@@ -36,7 +36,8 @@
configure.args --disable-silent-rules \
--disable-coding-style-checks \
- --enable-introspection
+ --disable-schemas-compile \
+ --enable-introspection=yes
# gobject-introspection uses g-ir-scanner, which uses $CC from env
build.args-append CC="${configure.cc} ${configure.cc_archflags}"
@@ -60,6 +61,16 @@
default_variants +python27
}
+post-destroot {
+ set gsettingsschemadir ${prefix}/share/glib-2.0/schemas
+ file mkdir ${destroot}${gsettingsschemadir}
+ file copy [glob ${worksrcpath}/data/*.gschema.xml] ${destroot}${gsettingsschemadir}
+}
+
+post-activate {
+ system "${prefix}/bin/glib-compile-schemas ${prefix}/share/glib-2.0/schemas"
+}
+
livecheck.type regex
livecheck.url ${master_sites}
livecheck.regex ${name}-(\[0-9\]+\\.\[0-9\]*\[02468\](\\.\[0-9\]+)*)${extract.suffix}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130515/cf3dd4fa/attachment.html>
More information about the macports-changes
mailing list