[35776] trunk/dports/gnome/yelp/Portfile
gui_dos at macports.org
gui_dos at macports.org
Sat Apr 5 23:03:43 PDT 2008
Revision: 35776
http://trac.macosforge.org/projects/macports/changeset/35776
Author: gui_dos at macports.org
Date: 2008-04-05 23:03:40 -0700 (Sat, 05 Apr 2008)
Log Message:
-----------
yelp:
* Remove the ugly workaround: the shared libraries of the
latest Firefox (2.0.0.13) don't have @executable_path
in their install_name anymore
(http://trac.macports.org/projects/macports/changeset/35533)
* Correct and simplify the dependencies and the configure options
* More finishing touches in post-activate
Modified Paths:
--------------
trunk/dports/gnome/yelp/Portfile
Modified: trunk/dports/gnome/yelp/Portfile
===================================================================
--- trunk/dports/gnome/yelp/Portfile 2008-04-05 21:19:42 UTC (rev 35775)
+++ trunk/dports/gnome/yelp/Portfile 2008-04-06 06:03:40 UTC (rev 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"
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080405/49a6002e/attachment.html
More information about the macports-changes
mailing list