[35993] trunk/dports/gnome/dasher/Portfile

mr_bond at macports.org mr_bond at macports.org
Sun Apr 13 18:30:15 PDT 2008


Revision: 35993
          http://trac.macosforge.org/projects/macports/changeset/35993
Author:   mr_bond at macports.org
Date:     2008-04-13 18:30:14 -0700 (Sun, 13 Apr 2008)

Log Message:
-----------
dasher: modeline and whitespace changes

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

Modified: trunk/dports/gnome/dasher/Portfile
===================================================================
--- trunk/dports/gnome/dasher/Portfile	2008-04-13 23:51:28 UTC (rev 35992)
+++ trunk/dports/gnome/dasher/Portfile	2008-04-14 01:30:14 UTC (rev 35993)
@@ -34,46 +34,6 @@
 
 configure.args  --mandir=${prefix}/share/man \
                 --disable-scrollkeeper
-
-set storagedir  ${prefix}/etc/macports/gconf
-set storagefile $storagedir/${name}
-
-post-destroot {
-    # Register schemas with gconf. See http://trac.macosforge.org/projects/macports/ticket/14729
-
-    # Find all .schemas file in the destroot
-    fs-traverse schema ${destroot}${prefix}/etc/gconf/schemas {
-        if { [ file isfile $schema ] } {
-            lappend schemafiles $schema
-        }
-    }
-
-    # And put them in etc/macports/gconf/$name
-    if { [ llength $schemafiles ] > 0 } {
-        file mkdir ${destroot}${storagedir}
-        set fh [open ${destroot}${storagefile} w]
-        foreach file $schemafiles {
-            puts $fh [exec basename $file]
-        }
-        close $fh
-    }
+post-activate   {
+    system "scrollkeeper-update"
 }
-
-post-activate {
-    if { [file exists ${storagefile} ] } {
-        set fh [open ${storagefile} r]
-        while { ! [eof $fh] } {
-            lappend schemafiles [gets $fh]
-        }
-        close $fh
-    }
-
-    set schemastring [join $schemafiles " "]
-
-    system "cd ${prefix}/etc/gconf/schemas && \
-         GCONF_CONFIG_SOURCE=`${prefix}/bin/gconftool-2 --get-default-source` \
-         ${prefix}/bin/gconftool-2 --makefile-install-rule $schemastring"
-
-    system "${prefix}/bin/scrollkeeper-update"
-    system "${prefix}/bin/gtk-update-icon-cache -f -t ${prefix}/share/icons/hicolor"
-}

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


More information about the macports-changes mailing list