--- Portfile.orig	2008-03-20 17:25:11.000000000 +0800
+++ Portfile	2008-03-21 16:33:48.000000000 +0800
@@ -95,6 +95,11 @@
 		apps_gnucash_window_pages_account_tree.schemas \
 		apps_gnucash_window_pages_register.schemas \
 		apps_gnucash_history.schemas \
-		apps_gnucash_dialog_hbci.schemas \
 		apps_gnucash_import_generic_matcher.schemas"
+		
+		if {! [variant_isset without_hbci]} {
+        	system "cd ${prefix}/etc/gconf/schemas && \
+        	GCONF_CONFIG_SOURCE=`${prefix}/bin/gconftool-2 --get-default-source` ${prefix}/bin/gconftool-2 --makefile-install-rule \
+			apps_gnucash_dialog_hbci.schemas"
+		}
 }

