[35192] trunk/dports/gnome/yelp/Portfile

reiffert at macports.org reiffert at macports.org
Thu Mar 20 01:55:23 PDT 2008


Revision: 35192
          http://trac.macosforge.org/projects/macports/changeset/35192
Author:   reiffert at macports.org
Date:     2008-03-20 01:55:20 -0700 (Thu, 20 Mar 2008)

Log Message:
-----------
Register the yelp schema with gconf in post-activate

Modified Paths:
--------------
    trunk/dports/gnome/yelp/Portfile

Modified: trunk/dports/gnome/yelp/Portfile
===================================================================
--- trunk/dports/gnome/yelp/Portfile	2008-03-20 07:52:43 UTC (rev 35191)
+++ trunk/dports/gnome/yelp/Portfile	2008-03-20 08:55:20 UTC (rev 35192)
@@ -4,6 +4,7 @@
 
 name		yelp
 version		2.22.0
+revision	1
 description	Help browser for GNOME.
 long_description        Help browser for GNOME 2.0 which supports docbook documents, \
 			info and man.
@@ -27,8 +28,8 @@
 		port:firefox-x11
 
 use_bzip2 	yes
-
-variant debug description {Builds yelp for debugging} {
+configure.args	--enable-info --enable-man --with-mozilla=firefox
+variant debug description {Enables debugging} {
         configure.cflags-append -O0 -g
         configure.cxxflags-append -O0 -g
 	configure.args-append --enable-debug
@@ -49,3 +50,11 @@
 
 configure.cppflags-append "-L${prefix}/lib"
 configure.cflags-append "-no-cpp-precomp -flat_namespace -undefined suppress"
+
+post-activate {
+	# We need to register some stuff to gconf. Just putting the
+	# schema files to the right place is not enough.
+	# You can watch the successful installation with gconf-editor.
+
+	system "GCONF_CONFIG_SOURCE=`${prefix}/bin/gconftool-2 --get-default-source` ${prefix}/bin/gconftool-2 --makefile-install-rule ${prefix}/etc/gconf/schemas/yelp.schemas"
+}

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080320/34dfa3f4/attachment.html 


More information about the macports-changes mailing list