[53103] trunk/dports/gnome/evolution-data-server/Portfile
devans at macports.org
devans at macports.org
Mon Jun 29 10:26:46 PDT 2009
Revision: 53103
http://trac.macports.org/changeset/53103
Author: devans at macports.org
Date: 2009-06-29 10:26:45 -0700 (Mon, 29 Jun 2009)
Log Message:
-----------
evolution-data-server:
* add build dependencies required by this port
* disable installation of gconf schemas at destroot time, and correctly install them in a post activate phase. This ensures that the schemas are correctly installed for MacPorts.
* closes #20104 (approved by maintainer).
Modified Paths:
--------------
trunk/dports/gnome/evolution-data-server/Portfile
Modified: trunk/dports/gnome/evolution-data-server/Portfile
===================================================================
--- trunk/dports/gnome/evolution-data-server/Portfile 2009-06-29 16:53:19 UTC (rev 53102)
+++ trunk/dports/gnome/evolution-data-server/Portfile 2009-06-29 17:26:45 UTC (rev 53103)
@@ -5,6 +5,7 @@
name evolution-data-server
version 2.26.2
+revision 1
set branch [join [lrange [split ${version} .] 0 1] .]
description Addressbook and calender libs for GNOME.
long_description Evolution Data Server provides a central location for \
@@ -19,6 +20,11 @@
sha1 ca60a350259c6bc297cc0c324c5908a3d08ac4e3 \
rmd160 c8ede51a8537dc9db96a796a0904f0fedcc25f37
+depends_build port:pkgconfig \
+ port:intltool \
+ port:p5-xml-parser \
+ port:gtk-doc
+
depends_lib port:libgnomeui \
port:libgweather \
port:libical \
@@ -42,7 +48,8 @@
--with-nspr-libs=${prefix}/lib/nspr \
--with-nss-includes=${prefix}/include/nss \
--with-nss-libs=${prefix}/lib/nss \
- --with-krb5=/usr
+ --with-krb5=/usr \
+ --disable-schemas-install
platform darwin 8 {
post-patch {
@@ -55,6 +62,11 @@
configure.args-append --enable-gtk-doc
}
+post-activate {
+ system "export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` && \
+ gconftool-2 --makefile-install-rule ${prefix}/etc/gconf/schemas/*.schemas"
+}
+
livecheck.check regex
livecheck.url http://ftp.gnome.org/pub/gnome/sources/${name}/${branch}/
livecheck.regex {LATEST-IS-(\d+(?:\.\d+)*)}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090629/94f8e0d7/attachment.html>
More information about the macports-changes
mailing list