# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 # $Id$ PortSystem 1.0 name dasher version 4.7.0 description Zooming text entry system. long_description \ Dasher is a zooming predictive text entry system, designed \ for situations where keyboard input is impractical (for \ instance, accessibility or PDAs). It is usable with highly \ limited amounts of physical input while still allowing high \ rates of text entry. maintainers nomaintainer categories gnome platforms darwin homepage http://www.gnome.org/ use_bzip2 yes master_sites gnome:sources/${name}/[strsed ${version} {/\.[0-9]*$//}]/ checksums md5 83fe6b7d3327baadcf350da19bfe7ce4 \ sha1 3c98835986f1db541fe681f470c7345eaa66421a \ rmd160 64323feeee6cb99fc71eb7b0e31edfdb3806ec14 depends_lib port:libbonoboui \ port:libgnomeui \ port:at-spi \ port:gnome-vfs \ port:gnome-speech \ port:libwnck \ port:gnome-keyring \ port:gnome-doc-utils configure.args --mandir=${prefix}/share/man \ --disable-scrollkeeper platform darwin 8 { configure.cxxflags-append -DWITH_DARWIN=1 } 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 { 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" }