Clarify what WANT_GNOME does and add an example for gnomedepends.py.
This commit is contained in:
parent
c3a4cf05a6
commit
e9df1abb79
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/www/; revision=12023
1 changed files with 31 additions and 5 deletions
|
@ -33,10 +33,9 @@ USE_X_PREFIX= yes
|
|||
WANT_GNOME= yes
|
||||
</pre>
|
||||
|
||||
<p>If the user has defined <tt>WITH_GNOME</tt> in their
|
||||
<tt>/etc/make.conf</tt> then GNOME components will be built.
|
||||
Other useful GNOME-related macros that can be define in your port's
|
||||
Makefile include:</p>
|
||||
<p>If the ports system detects GNOME installed on the system
|
||||
then GNOME components will be built. Other useful GNOME-related
|
||||
macros that can be define in your port's Makefile include:</p>
|
||||
|
||||
<!-- Begin GNOME-related Makefile macros -->
|
||||
<ul>
|
||||
|
@ -108,7 +107,34 @@ CONFIGURE_ARGS+= --without-gnome
|
|||
<tt>USE_GNOME= yes</tt> you should be fine. If you're
|
||||
uncertain if you need to require any other packages, you can use
|
||||
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,
|
||||
use the command <tt>make package-depends</tt>.</p>
|
||||
|
|
Loading…
Reference in a new issue