Document the new INSTALLS_OMF.

Submitted by:	bland
Reviewed by:	my team, FreeBSD GNOME team
This commit is contained in:
Jeremy Messenger 2004-11-16 07:35:53 +00:00
parent 503b024742
commit 84ddb616f2
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/www/; revision=22970

View file

@ -1,6 +1,6 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" [
<!ENTITY base CDATA "../..">
<!ENTITY date "$FreeBSD: www/en/gnome/docs/porting.sgml,v 1.43 2004/07/26 20:46:45 marcus Exp $">
<!ENTITY date "$FreeBSD: www/en/gnome/docs/porting.sgml,v 1.44 2004/09/18 04:25:52 mezz Exp $">
<!ENTITY title "FreeBSD GNOME Project: How To Make a Port">
<!ENTITY % gnomeincludes SYSTEM "../includes.sgml"> %gnomeincludes;
<!ENTITY % includes SYSTEM "../../includes.sgml"> %includes;
@ -219,33 +219,12 @@ WANT_GNOME= yes
by ScrollKeeper in order for applications like Yelp to
find help documentation. In order to accomplish proper
registry of these OMF files when installing GNOME applications
from packages, you should make sure your port's
<tt>pkg-plist</tt> has the following for <em>each</em> OMF file
listed.</p>
from packages, you should make sure your <tt>Makefile</tt> has
this defined:</p>
<pre>
@exec scrollkeeper-install -q \
%D/path/to/help_file.omf \
2&gt;/dev/null || /usr/bin/true
@unexec scrollkeeper-uninstall -q \
%D/path/to/help_file.omf \
2&gt;/dev/null || /usr/bin/true
INSTALLS_OMF=yes
</pre>
<p>For example:</p>
<pre>
@exec scrollkeeper-install -q \
%D/share/gnome/bug-buddy/bug-buddy-C.omf \
2&gt;/dev/null || /usr/bin/true
@unexec scrollkeeper-uninstall -q \
%D/share/gnome/bug-buddy/bug-buddy-C.omf \
2&gt;/dev/null || /usr/bin/true
</pre>
<p>You can use this <a href="/gnome/omf.pl">script</a> to
add these entries automatically.</p>
<!-- End GNOME OMF -->
<!-- Begin GConf schemas -->