Clarify what WANT_GNOME does and add an example for gnomedepends.py.

This commit is contained in:
Maxim Sobolev 2002-01-30 18:30:34 +00:00
parent c3a4cf05a6
commit e9df1abb79
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/www/; revision=12023

View file

@ -33,10 +33,9 @@ USE_X_PREFIX= yes
WANT_GNOME= yes WANT_GNOME= yes
</pre> </pre>
<p>If the user has defined <tt>WITH_GNOME</tt> in their <p>If the ports system detects GNOME installed on the system
<tt>/etc/make.conf</tt> then GNOME components will be built. then GNOME components will be built. Other useful GNOME-related
Other useful GNOME-related macros that can be define in your port's macros that can be define in your port's Makefile include:</p>
Makefile include:</p>
<!-- Begin GNOME-related Makefile macros --> <!-- Begin GNOME-related Makefile macros -->
<ul> <ul>
@ -108,7 +107,34 @@ CONFIGURE_ARGS+= --without-gnome
<tt>USE_GNOME= yes</tt> you should be fine. If you're <tt>USE_GNOME= yes</tt> you should be fine. If you're
uncertain if you need to require any other packages, you can use uncertain if you need to require any other packages, you can use
the script <tt>${PORTSDIR}/Tools/scripts/gnomedepends.py</tt> the script <tt>${PORTSDIR}/Tools/scripts/gnomedepends.py</tt>
to examine your port's pkg-plist.</p> to examine your port's pkg-plist:</p>
<pre>
# cd /usr/ports/x11/mygnomeport
# /usr/ports/Tools/scripts/gnomedepends.py
According to the contents of pkg-plist the port depends on the following GNOME
port(s):
/usr/ports/mail/gmail, for directories:
share/gnome/help
share/gnome/apps
share/gnome
/usr/ports/sysutils/gnomecontrolcenter, for directories:
share/gnome/apps/Settings
share/gnome/apps
/usr/ports/textproc/scrollkeeper, for directories:
share/gnome/omf
share/gnome
/usr/ports/x11/gnomecore, for directories:
share/gnome/apps/System
/usr/ports/x11/gnomelibs, for directories:
share/gnome/pixmaps
share/gnome/help
</pre>
<p>To see a list of what packages your port will actually require, <p>To see a list of what packages your port will actually require,
use the command <tt>make package-depends</tt>.</p> use the command <tt>make package-depends</tt>.</p>