From cfa7bc2bbd573379c20a921d171511cbe5cc950b Mon Sep 17 00:00:00 2001 From: Adam Weinberger Date: Sat, 20 Sep 2003 18:56:25 +0000 Subject: [PATCH] Change the code examples to use components of the GNOME 2 environment. --- en/gnome/docs/porting.sgml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/en/gnome/docs/porting.sgml b/en/gnome/docs/porting.sgml index 8e83d76aaa..56fd7c6510 100644 --- a/en/gnome/docs/porting.sgml +++ b/en/gnome/docs/porting.sgml @@ -1,6 +1,6 @@ - + %gnomeincludes; %includes; @@ -126,8 +126,8 @@ WANT_GNOME= yes .include <bsd.port.pre.mk> -.if ${HAVE_GNOME:Mlibpanel}!="" - USE_GNOME+= gnomeprefix libpanel +.if ${HAVE_GNOME:Mgnomepanel}!="" + USE_GNOME+= gnomeprefix gnomepanel CONFIGURE_ARGS+= --with-gnome PKGNAMESUFFIX= -gnome PLIST_SUB= DATADIR="share/gnome" @@ -142,12 +142,12 @@ WANT_GNOME= yes

Here, WANT_GNOME tells the ports system to check for the existence of the various GNOME components listed above. For each component found, its name is appended - to HAVE_GNOME. Since this port can use libpanel, + to HAVE_GNOME. Since this port can use gnomepanel, we check HAVE_GNOME to see if it contains - libpanel (for more on the :Mpattern make syntax, + gnomepanel (for more on the :Mpattern make syntax, please refer to the make(1) manpage). - If libpanel is found, then it is added the list of + If gnomepanel is found, then it is added the list of USE_GNOME dependencies, and the port-specific --with-gnome CONFIGURE_ARG is passed. In an old GNOME infrastructure, PKGNAMESUFFIX was @@ -171,7 +171,7 @@ WANT_GNOME= yes .include <bsd.port.pre.mk> .if ${HAVE_GNOME:Mgnomelibs}!="" - USE_GNOME+= gnomelibs + USE_GNOME+= libgnome .else USE_GNOME+= gtk12 # WRONG! .endif