most recent changes, diff for yelp
Index: gnome/yelp/Portfile
--- gnome/yelp/Portfile (revision 35775)
+++ gnome/yelp/Portfile (revision 35776)
@@ -2,59 +2,45 @@
PortSystem 1.0
-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.
-maintainers nomaintainer
-categories gnome
-platforms darwin
-homepage http://www.gnome.org/
+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_lib port:startup-notification \
- port:libgtkhtml \
- port:gnome-doc-utils \
- port:libxslt \
- port:rarian \
- port:gconf \
- port:gnome-vfs \
- port:libbonobo \
- port:libgnome \
- port:libgnomeui \
- port:tiff \
- port:firefox-x11
+checksums md5 941e67796bbc332c1db3d63771ae2590
-use_bzip2 yes
-configure.args --enable-info --enable-man --with-mozilla=firefox
+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
+ configure.args-append --enable-debug
}
-post-destroot {
- # In order to call gecko, yelp must be installed in the same directory as FireFox.
- # Move it and put a symlink in the bin directory
- if { [catch {set ff [registry_active "firefox-x11"]} result]} {
- ui_err "FireFox is not active: $result"
- } else {
- set ffver [lindex $ff 0 1]
- xinstall -d ${destroot}${prefix}/lib/firefox-${ffver}
- move ${destroot}${prefix}/bin/yelp ${destroot}${prefix}/lib/firefox-${ffver}
- ln -s ${prefix}/lib/firefox-${ffver}/yelp ${destroot}${prefix}/bin
- }
-}
-
-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.
+ # 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 "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"
}