Update to present of Mk/*:

-Remove USE_XLIB.
	-share/gnome/ -> share/.
	-Remove example of PLIST_SUB="share/gnome", no longer needs it.
This commit is contained in:
Jeremy Messenger 2008-08-23 16:54:41 +00:00
parent 2da1d228cc
commit d2913799ef
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/www/; revision=32726

View file

@ -1,6 +1,6 @@
<!DOCTYPE HTML PUBLIC "-//FreeBSD//DTD HTML 4.01 Transitional-Based Extension//EN" [
<!ENTITY base CDATA "../..">
<!ENTITY date "$FreeBSD: www/en/gnome/docs/porting.sgml,v 1.54 2006/10/22 08:15:50 joel Exp $">
<!ENTITY date "$FreeBSD: www/en/gnome/docs/porting.sgml,v 1.55 2007/06/21 06:55:20 marcus Exp $">
<!ENTITY title "FreeBSD GNOME Project: How To Make a Port">
<!ENTITY email "freebsd-gnome">
<!ENTITY % navinclude.gnome "INCLUDE">
@ -45,7 +45,6 @@ USE_GNOME= gnomeprefix gnomehack libgnomeui
the shortest way to define this:</p>
<pre>
USE_XLIB= yes
USE_GNOME= gtk20
</pre>
@ -53,7 +52,6 @@ USE_GNOME= gtk20
the shortest way to define this:</p>
<pre>
USE_XLIB= yes
USE_GNOME= gtk12
</pre>
@ -139,10 +137,8 @@ WANT_GNOME= yes
USE_GNOME+= gnomeprefix gnomepanel
CONFIGURE_ARGS+= --with-gnome
PKGNAMESUFFIX= -gnome
PLIST_SUB= DATADIR="share/gnome"
.else
CONFIGURE_ARGS+= --without-gnome
PLIST_SUB= DATADIR="share"
.endif
.include &lt;bsd.port.post.mk&gt;
@ -301,10 +297,10 @@ GCONF_SCHEMAS= CDDB-Slave2.schemas gnome-audio-profiles.schemas \
<p>Some ports provide MIME definitions in their <tt>.desktop</tt>
files. If your port install <tt>.desktop</tt> file into
<tt>share/gnome/applications</tt> and there is a line starting
<tt>share/applications</tt> and there is a line starting
with <tt>MimeType</tt> in it, you need to update desktop
database after install and deinstall. This database is represented
by <tt>share/gnome/applications/mimeinfo.cache</tt> file. Add
by <tt>share/applications/mimeinfo.cache</tt> file. Add
dependency on GNOME component <tt>desktopfileutils</tt> and
these lines to the end of <tt>pkg-plist</tt>:</p>