# $Id: Portfile 35776 2008-04-06 06:03:40Z gui_dos@macports.org $ PortSystem 1.0 name yelp version 2.22.0 revision 2 description Help browser for GNOME. long_description Yelp is the default help browser for the \ GNOME desktop. Yelp provides a simple graphical \ interface for viewing DocBook, HTML, man, and info \ formatted documentation. maintainers nomaintainer categories gnome platforms darwin homepage http://www.gnome.org/ master_sites gnome:sources/yelp/2.22/ checksums md5 941e67796bbc332c1db3d63771ae2590 depends_build port:gnome-doc-utils depends_lib port:gnome-vfs \ port:libgnomeui \ port:startup-notification \ port:firefox-x11 use_bzip2 yes configure.args --with-gecko=firefox variant debug description {Enables debugging} { configure.cflags-append -O0 -g configure.cxxflags-append -O0 -g configure.args-append --enable-debug } 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" system "${prefix}/bin/gtk-update-icon-cache -f -t ${prefix}/share/icons/hicolor" system "${prefix}/bin/scrollkeeper-update; true" system "${prefix}/bin/update-desktop-database -q ${prefix}/share/applications; true" system "${prefix}/bin/update-mime-database ${prefix}/share/mime; true" }