View | Details | Raw Unified | Return to bug 205432 | Differences between
and this patch

Collapse All | Expand All

(-)CHANGES (+9 lines)
Lines 10-15 Link Here
10
10
11
All ports committers are allowed to commit to this file.
11
All ports committers are allowed to commit to this file.
12
12
13
20151225:
14
AUTHOR: kwm@FreeBSD.org
15
16
  The GNOME and MATE framework activation changed. To use the frameworks
17
  now either gnome or mate needs to be added USES.
18
19
  The usage of USE_GNOME, USE_MATE, INSTALLS_ICONS and for example
20
  GLIB_SCHEMAS stays the same.
21
13
20151105:
22
20151105:
14
AUTHOR: mat@FreeBSD.org
23
AUTHOR: mat@FreeBSD.org
15
24
(-)Mk/Uses/gnome.mk (-24 / +25 lines)
Lines 13-24 Link Here
13
#
13
#
14
# ======================= /USERS ================================
14
# ======================= /USERS ================================
15
15
16
.if !defined(_POSTMKINCLUDED) && !defined(Gnome_Pre_Include)
17
18
# Please make sure all changes to this file are passed through the maintainer.
16
# Please make sure all changes to this file are passed through the maintainer.
19
# Do not commit them yourself (unless of course you're the Port's Wraith ;).
17
# Do not commit them yourself (unless of course you're the Port's Wraith ;).
20
Gnome_Include_MAINTAINER=	gnome@FreeBSD.org
21
Gnome_Pre_Include=			bsd.gnome.mk
22
18
23
# This section defines possible names of GNOME components and all information
19
# This section defines possible names of GNOME components and all information
24
# necessary for ports to use those components.
20
# necessary for ports to use those components.
Lines 59-65 Link Here
59
#				and will display correctly. This macro isn't needed
55
#				and will display correctly. This macro isn't needed
60
#				for QT based applications, which use a different method.
56
#				for QT based applications, which use a different method.
61
#
57
#
58
# MAINTAINER: gnome@FreeBSD.org
62
59
60
.if !defined(_INCLUDE_USES_GNOME_MK)
61
_INCLUDE_USES_GNOME_MK=        yes
62
63
_USES_POST+=	gnome
64
65
.if !empty(gnome_ARGS)
66
IGNORE=	USES=gnome takes no arguments
67
.endif
68
63
# non-version specific components
69
# non-version specific components
64
_USE_GNOME_ALL= esound intlhack intltool introspection \
70
_USE_GNOME_ALL= esound intlhack intltool introspection \
65
		referencehack gnomemimedata \
71
		referencehack gnomemimedata \
Lines 554-570 Link Here
554
.  endif
560
.  endif
555
.endif
561
.endif
556
562
557
.endif
558
# End of optional part.
559
560
.if defined(_POSTMKINCLUDED) && !defined(Gnome_Post_Include)
561
562
Gnome_Post_Include=		bsd.gnome.mk
563
564
.if !defined(Gnome_Pre_Include)
565
.error The Pre include part of bsd.gnome.mk part is not included. Did you forget WANT_GNOME=yes before bsd.port.pre.mk?
566
.endif
567
568
.if defined(USE_GNOME)
563
.if defined(USE_GNOME)
569
# First of all expand all USE_GNOME_IMPL recursively
564
# First of all expand all USE_GNOME_IMPL recursively
570
. for component in ${_USE_GNOME_ALL}
565
. for component in ${_USE_GNOME_ALL}
Lines 653-666 Link Here
653
. endif
648
. endif
654
.endif
649
.endif
655
650
656
.if defined(GNOME_PRE_PATCH)
657
658
pre-patch: gnome-pre-patch
659
660
gnome-pre-patch:
661
	@${GNOME_PRE_PATCH:C/^;//1}
662
.endif
663
664
.if defined(WANT_GNOME)
651
.if defined(WANT_GNOME)
665
USE_GNOME?=
652
USE_GNOME?=
666
.  if ${_USE_GNOME_SAVED}==${USE_GNOME}
653
.  if ${_USE_GNOME_SAVED}==${USE_GNOME}
Lines 676-684 Link Here
676
SUB_LIST+=		GNOME_SUBR=${GNOME_SUBR}
663
SUB_LIST+=		GNOME_SUBR=${GNOME_SUBR}
677
.endif
664
.endif
678
665
666
.endif
667
# end of the part
668
669
.if defined(_POSTMKINCLUDED) && !defined(_INCLUDE_USES_GNOME_POST_MK)
670
_INCLUDE_USES_GNOME_POST_MK=     yes
671
672
.if defined(GNOME_PRE_PATCH)
673
674
_USES_patch+=	290:gnome-pre-patch
675
676
gnome-pre-patch:
677
	@${GNOME_PRE_PATCH:C/^;//1}
678
.endif
679
679
.if defined(GCONF_SCHEMAS) || defined(INSTALLS_OMF) || defined(INSTALLS_ICONS) \
680
.if defined(GCONF_SCHEMAS) || defined(INSTALLS_OMF) || defined(INSTALLS_ICONS) \
680
	|| defined(GLIB_SCHEMAS)
681
	|| defined(GLIB_SCHEMAS)
681
post-install: gnome-post-install
682
_USES_install+=	690:gnome-post-install
682
683
683
gnome-post-install:
684
gnome-post-install:
684
.  if defined(GCONF_SCHEMAS)
685
.  if defined(GCONF_SCHEMAS)
(-)Mk/Uses/mate.mk (-27 / +20 lines)
Lines 2-19 Link Here
2
# ex:ts=4
2
# ex:ts=4
3
#
3
#
4
# $FreeBSD$
4
# $FreeBSD$
5
#	$NetBSD$
6
#     $MCom: ports-experimental/Mk/bsd.mate.mk,v 1.13 2012/09/03 17:02:31 mezz Exp $
7
#
5
#
8
# Please view me with 4 column tabs!
6
# Please view me with 4 column tabs!
9
7
10
#######################################################
11
#
12
# *** WARNING: Disable MARCUSCOM before merge in FreeBSD!
13
#     Please also remove this section before merging into FreeBSD.
14
#
15
#MARCUSCOM_CVS=yes
16
17
# ======================= USERS =================================
8
# ======================= USERS =================================
18
#
9
#
19
# There are no significant user-definable settings in here.
10
# There are no significant user-definable settings in here.
Lines 20-33 Link Here
20
# This file is a framework to make it easier to create MATE ports.
11
# This file is a framework to make it easier to create MATE ports.
21
#
12
#
22
# ======================= /USERS ================================
13
# ======================= /USERS ================================
23
14
#
24
.if !defined(_POSTMKINCLUDED) && !defined(Mate_Pre_Include)
25
26
# Please make sure all changes to this file are passed through the maintainer.
15
# Please make sure all changes to this file are passed through the maintainer.
27
# Do not commit them yourself (unless of course you're the Port's Wraith ;).
16
# Do not commit them yourself (unless of course you're the Port's Wraith ;).
28
Mate_Include_MAINTAINER=	gnome@FreeBSD.org
17
#
29
Mate_Pre_Include=			bsd.mate.mk
18
# MAINTAINER: gnome@FreeBSD.org
30
19
20
.if !defined(_INCLUDE_USES_MATE_MK)
21
_INCLUDE_USES_MATE_MK= yes
22
23
_USES_POST+=	mate
24
25
.if !empty(mate_ARGS)
26
IGNORE=	USES=mate takes no arguments
27
.endif
28
31
# This section defines possible names of MATE components and all information
29
# This section defines possible names of MATE components and all information
32
# necessary for ports to use those components.
30
# necessary for ports to use those components.
33
31
Lines 142-154 Link Here
142
140
143
# End component definition section
141
# End component definition section
144
142
145
.endif
146
# End of optional part.
147
148
.if defined(_POSTMKINCLUDED) && !defined(Mate_Post_Include)
149
150
Mate_Post_Include=		bsd.mate.mk
151
152
.if defined(USE_MATE)
143
.if defined(USE_MATE)
153
# Comparing between USE_MATE and _USE_MATE_ALL to make sure the component
144
# Comparing between USE_MATE and _USE_MATE_ALL to make sure the component
154
# exists in _USE_MATE_ALL. If it does not exist then give an error about it.
145
# exists in _USE_MATE_ALL. If it does not exist then give an error about it.
Lines 202-212 Link Here
202
. endfor
193
. endfor
203
.endif # USE_MATE check
194
.endif # USE_MATE check
204
195
196
.endif
197
# End of optional part.
198
199
.if defined(_POSTMKINCLUDED) && !defined(_INCLUDE_USES_MATE_POST_MK)
200
_INCLUDE_USES_MATE_POST_MK=     yes
201
205
.if ${USE_MATE:Mautogen}!=""
202
.if ${USE_MATE:Mautogen}!=""
206
203
207
CONFIGURE_ENV+=	NOCONFIGURE=yes
204
CONFIGURE_ENV+=	NOCONFIGURE=yes
208
205
209
pre-configure: mate-pre-configure
206
_USES_configure+=	295:mate-pre-configure
210
207
211
mate-pre-configure:
208
mate-pre-configure:
212
	@(cd ${CONFIGURE_WRKSRC} ; ${SETENV} ${CONFIGURE_ENV} ./autogen.sh)
209
	@(cd ${CONFIGURE_WRKSRC} ; ${SETENV} ${CONFIGURE_ENV} ./autogen.sh)
Lines 214-228 Link Here
214
211
215
.if defined(MATE_PRE_PATCH)
212
.if defined(MATE_PRE_PATCH)
216
213
217
pre-configure-script: mate-pre-configure-script
214
_USES_configure+=	445:mate-pre-configure-script
218
215
219
mate-pre-configure-script:
216
mate-pre-configure-script:
220
	@${MATE_PRE_PATCH:C/^;//1}
217
	@${MATE_PRE_PATCH:C/^;//1}
221
.endif
218
.endif
222
219
223
.if ${MAINTAINER}=="gnome@FreeBSD.org"
224
CONFIGURE_FAIL_MESSAGE= "Please run the gnomelogalyzer, available from \"http://www.freebsd.org/gnome/gnomelogalyzer.sh\", which will diagnose the problem and suggest a solution. If - and only if - the gnomelogalyzer cannot solve the problem, report the build failure to the FreeBSD MATE team at ${MAINTAINER}, and attach (a) \"${CONFIGURE_WRKSRC}/${CONFIGURE_LOG}\", (b) the output of the failed make command, and (c) the gnomelogalyzer output. Also, it might be a good idea to provide an overview of all packages installed on your system (i.e. an \`ls ${PKG_DBDIR}\`). Put your attachment up on any website, copy-and-paste into http://freebsd-gnome.pastebin.com, or use send-pr(1) with the attachment. Try to avoid sending any attachments to the mailing list (${MAINTAINER}), because attachments sent to FreeBSD mailing lists are usually discarded by the mailing list software."
225
.endif
220
.endif
226
227
.endif
228
# End of use part.
221
# End of use part.
(-)Mk/bsd.gnome.mk (-731 lines)
Lines 1-731 Link Here
1
#-*- mode: Fundamental; tab-width: 4; -*-
2
# ex:ts=4
3
#
4
# $FreeBSD$
5
#	$NetBSD: $
6
#
7
# Please view me with 4 column tabs!
8
9
# ======================= USERS =================================
10
#
11
# There are no significant user-definable settings in here.
12
# This file is a framework to make it easier to create GNOME ports.
13
#
14
# ======================= /USERS ================================
15
16
.if !defined(_POSTMKINCLUDED) && !defined(Gnome_Pre_Include)
17
18
# Please make sure all changes to this file are passed through the maintainer.
19
# Do not commit them yourself (unless of course you're the Port's Wraith ;).
20
Gnome_Include_MAINTAINER=	gnome@FreeBSD.org
21
Gnome_Pre_Include=			bsd.gnome.mk
22
23
# This section defines possible names of GNOME components and all information
24
# necessary for ports to use those components.
25
26
# Ports can use this as follows:
27
#
28
# USE_GNOME=	glib20 introspection:build
29
#
30
# .include <bsd.port.mk>
31
#
32
# As a result proper LIB_DEPENDS/RUN_DEPENDS will be added and CONFIGURE_ENV
33
# and MAKE_ENV defined.
34
#
35
#
36
# GCONF_SCHEMAS		- Set the following to list of all the gconf schema files
37
#				that your port installs. These schema files and
38
#				%gconf.xml files will be automatically added to
39
#				the ${PLIST}. For example, if your port has
40
#				"etc/gconf/schemas/(foo.schemas and bar.schemas)",
41
#				add the following to your Makefile:
42
#				"GCONF_SCHEMAS=foo.schemas bar.schemas".
43
#
44
# GLIB_SCHEMAS		- Set the following to list of all gsettings schema files
45
#				(*.gschema.xml) that your ports installs. The 
46
#				schema files will be automatically added to 
47
#				the ${PLIST}. For example, if your port has 
48
#				"share/glib-2.0/schemas/(foo.gschema.xml and bar.gschema.xml)", 
49
#				add the following to your Makefile:
50
#				"GLIB_SCHEMAS=foo.gschema.xml bar.gschema.xml".
51
#
52
# INSTALLS_OMF		- If set, bsd.gnome.mk will automatically scan pkg-plist
53
#				file and add apropriate @exec/@unexec directives for
54
#				each .omf file found to track OMF registration database.
55
#
56
# INSTALLS_ICONS	- If a GTK+ port installs Freedesktop-style icons to
57
#				${LOCALBASE}/share/icons, then you should use this
58
#				macro. Using this macro ensures that icons are cached
59
#				and will display correctly. This macro isn't needed
60
#				for QT based applications, which use a different method.
61
#
62
63
# non-version specific components
64
_USE_GNOME_ALL= esound intlhack intltool introspection \
65
		referencehack gnomemimedata \
66
		gnomeprefix
67
68
# GNOME 1 components
69
_USE_GNOME_ALL+= gdkpixbuf glib12 gtk12
70
71
# GNOME 2 components
72
_USE_GNOME_ALL+= atk atspi cairo gal2 \
73
		gdkpixbuf2 gconf2 glib20 \
74
		gnomedocutils gnomesharp20 \
75
		gnomespeech gnomevfs2 gtk-update-icon-cache gtk20 gtkhtml3 gtksharp10 \
76
		gtksharp20 gtksourceview gtksourceview2 gvfs libartlgpl2 libbonobo \
77
		libbonoboui libgda4 libglade2 libgnome \
78
		libgnomecanvas libgnomekbd libgnomeprint libgnomeprintui \
79
		libgnomeui libgsf libgtkhtml libidl librsvg2 libwnck \
80
		libxml2 libxslt \
81
		orbit2 pango pangox-compat pygnome2 pygobject pygtk2 \
82
		pygtksourceview vte
83
84
# GNOME 3 components
85
_USE_GNOME_ALL+=dconf evolutiondataserver3 gnomecontrolcenter3 gnomedesktop3 \
86
		gnomemenus3 gsound gtk30 gtkhtml4 gtksourceview3 libgda5 \
87
		libgda5-ui libwnck3 metacity nautilus3 py3gobject3 \
88
		pygobject3 vte3
89
90
# C++ bindings
91
_USE_GNOME_ALL+=atkmm cairomm gconfmm26 glibmm gtkmm20 gtkmm24 \
92
		gtkmm30 gtksourceviewmm3 libgdamm libgdamm5 \
93
		libgtksourceviewmm libxml++26 libsigc++12 libsigc++20 \
94
		pangomm
95
96
GNOME_MAKEFILEIN?=	Makefile.in
97
SCROLLKEEPER_DIR=	/var/db/rarian
98
99
referencehack_PRE_PATCH=	${FIND} ${WRKSRC} -name "Makefile.in" -type f | ${XARGS} ${REINPLACE_CMD} -e \
100
				"s|test \"\$$\$$installfiles\" = '\$$(srcdir)/html/\*'|:|"
101
102
GNOME_HTML_DIR?=	${PREFIX}/share/doc
103
GCONF_CONFIG_OPTIONS?=	merged
104
GCONF_CONFIG_DIRECTORY?=etc/gconf/gconf.xml.defaults
105
GCONF_CONFIG_SOURCE?=xml:${GCONF_CONFIG_OPTIONS}:${PREFIX}/${GCONF_CONFIG_DIRECTORY}
106
GNOME_LOCALSTATEDIR?=	${PREFIX}/share
107
gnomeprefix_CONFIGURE_ENV=GTKDOC="false"
108
gnomeprefix_CONFIGURE_ARGS=--localstatedir=${GNOME_LOCALSTATEDIR} \
109
			   --with-html-dir=${GNOME_HTML_DIR} \
110
			   --disable-gtk-doc \
111
			   --with-gconf-source=${GCONF_CONFIG_SOURCE}
112
113
atkmm_DETECT=		${LOCALBASE}/libdata/pkgconfig/atkmm-1.6.pc
114
atkmm_LIB_DEPENDS=	libatkmm-1.6.so:${PORTSDIR}/accessibility/atkmm
115
atkmm_USE_GNOME_IMPL=	glibmm atk
116
117
libxml++26_DETECT=		${LOCALBASE}/libdata/pkgconfig/libxml++-2.6.pc
118
libxml++26_LIB_DEPENDS=		libxml++-2.6.so:${PORTSDIR}/textproc/libxml++26
119
libxml++26_USE_GNOME_IMPL=	glibmm libxml2
120
121
cairo_DETECT=		${LOCALBASE}/libdata/pkgconfig/cairo.pc
122
cairo_LIB_DEPENDS=	libcairo.so:${PORTSDIR}/graphics/cairo
123
124
cairomm_DETECT=		${LOCALBASE}/libdata/pkgconfig/cairomm-1.0.pc
125
cairomm_LIB_DEPENDS=	libcairomm-1.0.so:${PORTSDIR}/graphics/cairomm
126
cairomm_USE_GNOME_IMPL=	cairo libxml++26
127
128
gconfmm26_DETECT=		${LOCALBASE}/libdata/pkgconfig/gconfmm-2.6.pc
129
gconfmm26_LIB_DEPENDS=		libgconfmm-2.6.so:${PORTSDIR}/devel/gconfmm26
130
gconfmm26_USE_GNOME_IMPL=	glibmm gconf2
131
132
glibmm_DETECT=		${LOCALBASE}/libdata/pkgconfig/glibmm-2.4.pc
133
glibmm_LIB_DEPENDS=	libglibmm-2.4.so:${PORTSDIR}/devel/glibmm
134
glibmm_USE_GNOME_IMPL=	libsigc++20 glib20
135
136
gsound_DETECT=		${LOCALBASE}/libdata/pkgconfig/gsound.pc
137
gsound_BUILD_DEPENDS=	gsound-play:${PORTSDIR}/audio/gsound
138
gsound_LIB_DEPENDS=	libgsound.so:${PORTSDIR}/audio/gsound
139
gsound_RUN_DEPENDS=	gsound-play:${PORTSDIR}/audio/gsound
140
gsound_USE_GNOME_IMPL=	glib20
141
142
gtkmm20_DETECT=		${LOCALBASE}/libdata/pkgconfig/gtkmm-2.0.pc
143
gtkmm20_LIB_DEPENDS=	libgtkmm-2.0.so:${PORTSDIR}/x11-toolkits/gtkmm20
144
gtkmm20_USE_GNOME_IMPL=	libsigc++12 gtk20
145
146
gtkmm24_DETECT=		${LOCALBASE}/libdata/pkgconfig/gtkmm-2.4.pc
147
gtkmm24_LIB_DEPENDS=	libgtkmm-2.4.so:${PORTSDIR}/x11-toolkits/gtkmm24
148
gtkmm24_USE_GNOME_IMPL=	glibmm cairomm atkmm pangomm gtk20
149
150
gtkmm30_DETECT=		${LOCALBASE}/libdata/pkgconfig/gtkmm-3.0.pc
151
gtkmm30_LIB_DEPENDS=	libgtkmm-3.0.so:${PORTSDIR}/x11-toolkits/gtkmm30
152
gtkmm30_USE_GNOME_IMPL=	glibmm cairomm atkmm pangomm gtk30
153
154
gtksourceviewmm3_DETECT=		${LOCALBASE}/libdata/pkgconfig/gtksourceviewmm-3.0.pc
155
gtksourceviewmm3_LIB_DEPENDS=		libgtksourceviewmm-3.0.so:${PORTSDIR}/x11-toolkits/gtksourceviewmm3
156
gtksourceviewmm3_USE_GNOME_IMPL=	gtkmm30 gtksourceview3
157
158
libgdamm_DETECT=	${LOCALBASE}/libdata/pkgconfig/libgdamm-4.0.pc
159
libgdamm_LIB_DEPENDS=	libgdamm-4.0.so:${PORTSDIR}/databases/libgdamm
160
libgdamm_USE_GNOME_IMPL=libgda4 glibmm
161
162
libgdamm5_DETECT=		${LOCALBASE}/libdata/pkgconfig/libgdamm-5.0.pc
163
libgdamm5_LIB_DEPENDS=		libgdamm-5.0.so:${PORTSDIR}/databases/libgdamm5
164
libgdamm5_USE_GNOME_IMPL=	libgda5 glibmm
165
166
libgtksourceviewmm_DETECT=		${LOCALBASE}/libdata/pkgconfig/gtksourceviewmm-2.0.pc
167
libgtksourceviewmm_LIB_DEPENDS=		libgtksourceviewmm-2.0.so:${PORTSDIR}/x11-toolkits/libgtksourceviewmm
168
libgtksourceviewmm_USE_GNOME_IMPL=	gtksourceview2 gtkmm24
169
170
libsigc++12_DETECT=		${LOCALBASE}/libdata/pkgconfig/sigc++-1.2.pc
171
libsigc++12_LIB_DEPENDS=	libsigc-1.2.so:${PORTSDIR}/devel/libsigc++12
172
173
libsigc++20_DETECT=		${LOCALBASE}/libdata/pkgconfig/sigc++-2.0.pc
174
libsigc++20_LIB_DEPENDS=	libsigc-2.0.so:${PORTSDIR}/devel/libsigc++20
175
176
pangomm_DETECT=		${LOCALBASE}/libdata/pkgconfig/pangomm-1.4.pc
177
pangomm_LIB_DEPENDS=	libpangomm-1.4.so:${PORTSDIR}/x11-toolkits/pangomm
178
pangomm_USE_GNOME_IMPL=	pango glibmm cairomm
179
180
ESD_CONFIG?=		${LOCALBASE}/bin/esd-config
181
esound_LIB_DEPENDS=	libesd.so:${PORTSDIR}/audio/esound
182
esound_CONFIGURE_ENV=	ESD_CONFIG="${ESD_CONFIG}"
183
esound_MAKE_ENV=	ESD_CONFIG="${ESD_CONFIG}"
184
esound_DETECT=		${ESD_CONFIG}
185
186
GLIB_CONFIG?=		${LOCALBASE}/bin/glib-config
187
glib12_LIB_DEPENDS=	libglib.so:${PORTSDIR}/devel/glib12
188
glib12_CONFIGURE_ENV=	GLIB_CONFIG="${GLIB_CONFIG}"
189
glib12_MAKE_ENV=	GLIB_CONFIG="${GLIB_CONFIG}"
190
glib12_DETECT=		${GLIB_CONFIG}
191
192
GTK_CONFIG?=		${LOCALBASE}/bin/gtk-config
193
gtk12_LIB_DEPENDS=	libgtk.so:${PORTSDIR}/x11-toolkits/gtk12
194
gtk12_CONFIGURE_ENV=	GTK_CONFIG="${GTK_CONFIG}"
195
gtk12_MAKE_ENV=		GTK_CONFIG="${GTK_CONFIG}"
196
gtk12_DETECT=		${GTK_CONFIG}
197
gtk12_USE_GNOME_IMPL=	glib12
198
199
GDK_PIXBUF_CONFIG?=	${LOCALBASE}/bin/gdk-pixbuf-config
200
gdkpixbuf_LIB_DEPENDS=	libgdk_pixbuf.so:${PORTSDIR}/graphics/gdk-pixbuf
201
gdkpixbuf_CONFIGURE_ENV=GDK_PIXBUF_CONFIG="${GDK_PIXBUF_CONFIG}"
202
gdkpixbuf_MAKE_ENV=	GDK_PIXBUF_CONFIG="${GDK_PIXBUF_CONFIG}"
203
gdkpixbuf_DETECT=	${GDK_PIXBUF_CONFIG}
204
gdkpixbuf_USE_GNOME_IMPL=gtk12
205
206
gnomemimedata_DETECT=	${LOCALBASE}/libdata/pkgconfig/gnome-mime-data-2.0.pc
207
gnomemimedata_BUILD_DEPENDS=${gnomemimedata_DETECT}:${PORTSDIR}/misc/gnome-mime-data
208
gnomemimedata_RUN_DEPENDS=${gnomemimedata_DETECT}:${PORTSDIR}/misc/gnome-mime-data
209
210
glib20_LIB_DEPENDS=	libglib-2.0.so:${PORTSDIR}/devel/glib20
211
glib20_DETECT=		${LOCALBASE}/libdata/pkgconfig/glib-2.0.pc
212
213
atk_LIB_DEPENDS=	libatk-1.0.so:${PORTSDIR}/accessibility/atk
214
atk_DETECT=		${LOCALBASE}/libdata/pkgconfig/atk.pc
215
atk_USE_GNOME_IMPL=	glib20
216
217
dconf_BUILD_DEPENDS=	dconf:${PORTSDIR}/devel/dconf
218
dconf_LIB_DEPENDS=	libdconf.so:${PORTSDIR}/devel/dconf
219
dconf_RUN_DEPENDS=	dconf:${PORTSDIR}/devel/dconf
220
dconf_DETECT=		${LOCALBASE}/libdata/pkgconfig/dconf.pc
221
dconf_USE_GNOME_IMPL=	glib20
222
223
pango_LIB_DEPENDS=	libpango-1.0.so:${PORTSDIR}/x11-toolkits/pango
224
pango_DETECT=		${LOCALBASE}/libdata/pkgconfig/pango.pc
225
pango_USE_GNOME_IMPL=	glib20
226
227
pangox-compat_LIB_DEPENDS=	libpangox-1.0.so:${PORTSDIR}/x11-toolkits/pangox-compat
228
pangox-compat_DETECT=		${LOCALBASE}/libdata/pkgconfig/pangox.pc
229
pangox-compat_USE_GNOME_IMPL=	glib20 pango
230
231
gdkpixbuf2_LIB_DEPENDS=	libgdk_pixbuf-2.0.so:${PORTSDIR}/graphics/gdk-pixbuf2
232
gdkpixbuf2_DETECT=	${LOCALBASE}/libdata/pkgconfig/gdk-pixbuf-2.0.pc
233
gdkpixbuf2_USE_GNOME_IMPL=glib20
234
235
gtk-update-icon-cache_BUILD_DEPENDS=	gtk-update-icon-cache:${PORTSDIR}/graphics/gtk-update-icon-cache
236
gtk-update-icon-cache_RUN_DEPENDS=	gtk-update-icon-cache:${PORTSDIR}/graphics/gtk-update-icon-cache
237
gtk-update-icon-cache_DETECT=		${LOCALBASE}/bin/gtk-update-icon-cache
238
gtk-update-icon-cache_USE_GNOME_IMPL=	atk pango gdkpixbuf2
239
240
gtk20_LIB_DEPENDS=	libgtk-x11-2.0.so:${PORTSDIR}/x11-toolkits/gtk20
241
gtk20_DETECT=		${LOCALBASE}/libdata/pkgconfig/gtk+-x11-2.0.pc
242
gtk20_USE_GNOME_IMPL=	atk pango
243
GTK2_VERSION=		2.10.0
244
245
gtk30_LIB_DEPENDS=	libgtk-3.so:${PORTSDIR}/x11-toolkits/gtk30
246
gtk30_DETECT=		${LOCALBASE}/libdata/pkgconfig/gtk+-3.0.pc
247
gtk30_USE_GNOME_IMPL=	atk pango
248
GTK3_VERSION=		3.0.0
249
250
libidl_LIB_DEPENDS=	libIDL-2.so:${PORTSDIR}/devel/libIDL
251
libidl_DETECT=		${LOCALBASE}/libdata/pkgconfig/libIDL-2.0.pc
252
libidl_USE_GNOME_IMPL=	glib20
253
254
orbit2_LIB_DEPENDS=	libORBit-2.so:${PORTSDIR}/devel/ORBit2
255
orbit2_DETECT=		${LOCALBASE}/libdata/pkgconfig/ORBit-2.0.pc
256
orbit2_USE_GNOME_IMPL=	libidl
257
258
libglade2_LIB_DEPENDS=	libglade-2.0.so:${PORTSDIR}/devel/libglade2
259
libglade2_DETECT=	${LOCALBASE}/libdata/pkgconfig/libglade-2.0.pc
260
libglade2_USE_GNOME_IMPL=libxml2 gtk20
261
262
libxml2_BUILD_DEPENDS=	xml2-config:${PORTSDIR}/textproc/libxml2
263
libxml2_LIB_DEPENDS=	libxml2.so:${PORTSDIR}/textproc/libxml2
264
libxml2_RUN_DEPENDS=	xml2-config:${PORTSDIR}/textproc/libxml2
265
libxml2_DETECT=		${LOCALBASE}/libdata/pkgconfig/libxml-2.0.pc
266
267
libxslt_BUILD_DEPENDS=	xsltproc:${PORTSDIR}/textproc/libxslt
268
libxslt_LIB_DEPENDS=	libxslt.so:${PORTSDIR}/textproc/libxslt
269
libxslt_RUN_DEPENDS=	${libxslt_BUILD_DEPENDS}
270
libxslt_DETECT=		${LOCALBASE}/libdata/pkgconfig/libxslt.pc
271
libxslt_USE_GNOME_IMPL=	libxml2
272
273
libbonobo_LIB_DEPENDS=	libbonobo-2.so:${PORTSDIR}/devel/libbonobo
274
libbonobo_DETECT=	${LOCALBASE}/libdata/pkgconfig/libbonobo-2.0.pc
275
libbonobo_USE_GNOME_IMPL=libxml2 orbit2
276
277
introspection_DETECT=		${LOCALBASE}/libdata/pkgconfig/gobject-introspection-1.0.pc
278
introspection_BUILD_DEPENDS=	g-ir-scanner:${PORTSDIR}/devel/gobject-introspection
279
introspection_LIB_DEPENDS=	libgirepository-1.0.so:${PORTSDIR}/devel/gobject-introspection
280
introspection_RUN_DEPENDS=	g-ir-scanner:${PORTSDIR}/devel/gobject-introspection
281
introspection_USE_GNOME_IMPL=	glib20
282
introspection_MAKE_ENV=		GI_SCANNER_DISABLE_CACHE=1 XDG_CACHE_HOME=${WRKDIR}
283
284
gconf2_LIB_DEPENDS=	libgconf-2.so:${PORTSDIR}/devel/gconf2
285
gconf2_DETECT=		${LOCALBASE}/libdata/pkgconfig/gconf-2.0.pc
286
gconf2_USE_GNOME_IMPL=	orbit2 libxml2 gtk20
287
288
gnomevfs2_LIB_DEPENDS=	libgnomevfs-2.so:${PORTSDIR}/devel/gnome-vfs
289
gnomevfs2_DETECT=	${LOCALBASE}/libdata/pkgconfig/gnome-vfs-2.0.pc
290
gnomevfs2_USE_GNOME_IMPL=gconf2 gnomemimedata
291
292
libgnomecanvas_LIB_DEPENDS=	libgnomecanvas-2.so:${PORTSDIR}/graphics/libgnomecanvas
293
libgnomecanvas_DETECT=		${LOCALBASE}/libdata/pkgconfig/libgnomecanvas-2.0.pc
294
libgnomecanvas_USE_GNOME_IMPL=	libglade2 libartlgpl2
295
296
libartlgpl2_LIB_DEPENDS=	libart_lgpl_2.so:${PORTSDIR}/graphics/libart_lgpl
297
libartlgpl2_DETECT=		${LOCALBASE}/libdata/pkgconfig/libart-2.0.pc
298
299
libgnomeprint_LIB_DEPENDS=	libgnomeprint-2-2.so:${PORTSDIR}/print/libgnomeprint
300
libgnomeprint_DETECT=		${LOCALBASE}/libdata/pkgconfig/libgnomeprint-2.2.pc
301
libgnomeprint_USE_GNOME_IMPL=	libbonobo libartlgpl2 gtk20
302
303
libgnomeprintui_LIB_DEPENDS=	libgnomeprintui-2-2.so:${PORTSDIR}/x11-toolkits/libgnomeprintui
304
libgnomeprintui_DETECT=		${LOCALBASE}/libdata/pkgconfig/libgnomeprintui-2.2.pc
305
libgnomeprintui_USE_GNOME_IMPL=	libgnomeprint libgnomecanvas
306
307
libgnome_LIB_DEPENDS=	libgnome-2.so:${PORTSDIR}/x11/libgnome
308
libgnome_DETECT=	${LOCALBASE}/libdata/pkgconfig/libgnome-2.0.pc
309
libgnome_USE_GNOME_IMPL=gnomevfs2 esound libbonobo
310
311
libbonoboui_LIB_DEPENDS=	libbonoboui-2.so:${PORTSDIR}/x11-toolkits/libbonoboui
312
libbonoboui_DETECT=		${LOCALBASE}/libdata/pkgconfig/libbonoboui-2.0.pc
313
libbonoboui_USE_GNOME_IMPL=	libgnomecanvas libgnome
314
315
libgnomeui_LIB_DEPENDS=		libgnomeui-2.so:${PORTSDIR}/x11-toolkits/libgnomeui
316
libgnomeui_DETECT=		${LOCALBASE}/libdata/pkgconfig/libgnomeui-2.0.pc
317
libgnomeui_USE_GNOME_IMPL=	libbonoboui
318
319
atspi_LIB_DEPENDS=	libspi.so:${PORTSDIR}/accessibility/at-spi
320
atspi_DETECT=		${LOCALBASE}/libdata/pkgconfig/cspi-1.0.pc
321
atspi_USE_GNOME_IMPL=	gtk20 libbonobo
322
323
libgtkhtml_LIB_DEPENDS=	libgtkhtml-2.so:${PORTSDIR}/www/libgtkhtml
324
libgtkhtml_DETECT=	${LOCALBASE}/libdata/pkgconfig/libgtkhtml-2.0.pc
325
libgtkhtml_USE_GNOME_IMPL=libxslt gnomevfs2
326
327
gnomedesktop3_LIB_DEPENDS=	libgnome-desktop-3.so:${PORTSDIR}/x11/gnome-desktop
328
gnomedesktop3_DETECT=		${LOCALBASE}/libdata/pkgconfig/gnome-desktop-3.0.pc
329
gnomedesktop3_USE_GNOME_IMPL=	gtk30
330
331
libwnck_LIB_DEPENDS=	libwnck-1.so:${PORTSDIR}/x11-toolkits/libwnck
332
libwnck_DETECT=		${LOCALBASE}/libdata/pkgconfig/libwnck-1.0.pc
333
libwnck_USE_GNOME_IMPL=	gtk20
334
335
libwnck3_LIB_DEPENDS=	libwnck-3.so:${PORTSDIR}/x11-toolkits/libwnck3
336
libwnck3_DETECT=	${LOCALBASE}/libdata/pkgconfig/libwnck-3.0.pc
337
libwnck3_USE_GNOME_IMPL=gtk30
338
339
vte_LIB_DEPENDS=	libvte.so:${PORTSDIR}/x11-toolkits/vte
340
vte_DETECT=		${LOCALBASE}/libdata/pkgconfig/vte.pc
341
vte_USE_GNOME_IMPL=	gtk20
342
343
vte3_LIB_DEPENDS=	libvte-2.91.so:${PORTSDIR}/x11-toolkits/vte3
344
vte3_DETECT=		${LOCALBASE}/libdata/pkgconfig/vte-2.91.pc
345
vte3_USE_GNOME_IMPL=	gtk30
346
347
librsvg2_LIB_DEPENDS=	librsvg-2.so:${PORTSDIR}/graphics/librsvg2
348
librsvg2_DETECT=	${LOCALBASE}/libdata/pkgconfig/librsvg-2.0.pc
349
librsvg2_USE_GNOME_IMPL=libgsf gdkpixbuf2 pango
350
351
nautilus3_LIB_DEPENDS=	libnautilus-extension.so:${PORTSDIR}/x11-fm/nautilus
352
nautilus3_DETECT=	${LOCALBASE}/share/gir-1.0/Nautilus-3.0.gir
353
nautilus3_USE_GNOME_IMPL=gnomedesktop3 gvfs libxml2
354
355
metacity_LIB_DEPENDS=	libmetacity-private.so:${PORTSDIR}/x11-wm/metacity
356
metacity_DETECT=	${LOCALBASE}/libdata/pkgconfig/libmetacity-private.pc
357
358
gal2_LIB_DEPENDS=	libgal-2.4.so:${PORTSDIR}/x11-toolkits/gal2
359
gal2_DETECT=		${LOCALBASE}/libdata/pkgconfig/gal-2.4.pc
360
gal2_USE_GNOME_IMPL=gnomeui libgnomeprintui
361
362
gnomecontrolcenter3_DETECT=	${LOCALBASE}/libdata/pkgconfig/gnome-keybindings.pc
363
gnomecontrolcenter3_BUILD_DEPENDS=	${gnomecontrolcenter3_DETECT}:${PORTSDIR}/sysutils/gnome-control-center
364
gnomecontrolcenter3_RUN_DEPENDS=	${gnomecontrolcenter3_DETECT}:${PORTSDIR}/sysutils/gnome-control-center
365
gnomecontrolcenter3_USE_GNOME_IMPL=	gnomedesktop3
366
367
libgda4_LIB_DEPENDS=	libgda-4.0.so:${PORTSDIR}/databases/libgda4
368
libgda4_DETECT=		${LOCALBASE}/libdata/pkgconfig/libgda-4.0.pc
369
libgda4_USE_GNOME_IMPL=	glib20 libxslt
370
371
libgda5_LIB_DEPENDS=	libgda-5.0.so:${PORTSDIR}/databases/libgda5
372
libgda5_DETECT=		${LOCALBASE}/libdata/pkgconfig/libgda-5.0.pc
373
libgda5_USE_GNOME_IMPL=	glib20 libxslt
374
375
libgda5-ui_LIB_DEPENDS=	libgda-ui-5.0.so:${PORTSDIR}/databases/libgda5-ui
376
libgda5-ui_DETECT=	${LOCALBASE}/libdata/pkgconfig/libgda-ui-5.0.pc
377
libgda5-ui_USE_GNOME_IMPL=glib20 libxslt libgda5
378
379
gtksourceview_LIB_DEPENDS=	libgtksourceview-1.0.so:${PORTSDIR}/x11-toolkits/gtksourceview
380
gtksourceview_DETECT=	${LOCALBASE}/libdata/pkgconfig/gtksourceview-1.0.pc
381
gtksourceview_USE_GNOME_IMPL=libgnome libgnomeprintui
382
383
gtksourceview2_LIB_DEPENDS=	libgtksourceview-2.0.so:${PORTSDIR}/x11-toolkits/gtksourceview2
384
gtksourceview2_DETECT=	${LOCALBASE}/libdata/pkgconfig/gtksourceview-2.0.pc
385
gtksourceview2_USE_GNOME_IMPL=gtk20 libxml2
386
387
gtksourceview3_LIB_DEPENDS=	libgtksourceview-3.0.so:${PORTSDIR}/x11-toolkits/gtksourceview3
388
gtksourceview3_DETECT=	${LOCALBASE}/libdata/pkgconfig/gtksoureview-3.0.pc
389
gtksourceview3_USE_GNOME_IMPL=gtk30 libxml2
390
391
libgsf_LIB_DEPENDS=	libgsf-1.so:${PORTSDIR}/devel/libgsf
392
libgsf_DETECT=		${LOCALBASE}/libdata/pkgconfig/libgsf-1.pc
393
libgsf_USE_GNOME_IMPL=	glib20 libxml2
394
395
pygobject_DETECT=		${LOCALBASE}/libdata/pkgconfig/pygobject-2.0.pc
396
pygobject_BUILD_DEPENDS=	pygobject-codegen-2.0:${PORTSDIR}/devel/py-gobject
397
pygobject_RUN_DEPENDS=		pygobject-codegen-2.0:${PORTSDIR}/devel/py-gobject
398
pygobject_USE_GNOME_IMPL=	glib20
399
400
py3gobject3_DETECT=		${LOCALBASE}/share/py3gobject3/.keep
401
py3gobject3_BUILD_DEPENDS=	py3?-gobject3>=0:${PORTSDIR}/devel/py3-gobject3
402
py3gobject3_RUN_DEPENDS=	py3?-gobject3>=0:${PORTSDIR}/devel/py3-gobject3
403
py3gobject3_USE_GNOME_IMPL=	glib20
404
405
pygobject3_DETECT=		${LOCALBASE}/share/pygobject3/.keep
406
pygobject3_BUILD_DEPENDS=	py2?-gobject3>=0:${PORTSDIR}/devel/py-gobject3
407
pygobject3_RUN_DEPENDS=		py2?-gobject3>=0:${PORTSDIR}/devel/py-gobject3
408
pygobject3_USE_GNOME_IMPL=	glib20
409
410
pygtk2_DETECT=		${LOCALBASE}/libdata/pkgconfig/pygtk-2.0.pc
411
pygtk2_BUILD_DEPENDS=	${pygtk2_DETECT}:${PORTSDIR}/x11-toolkits/py-gtk2
412
pygtk2_RUN_DEPENDS=	${pygtk2_DETECT}:${PORTSDIR}/x11-toolkits/py-gtk2
413
pygtk2_USE_GNOME_IMPL=	libglade2 pygobject
414
415
pygnome2_DETECT=	${LOCALBASE}/libdata/pkgconfig/gnome-python-2.0.pc
416
pygnome2_BUILD_DEPENDS=	${pygnome2_DETECT}:${PORTSDIR}/x11-toolkits/py-gnome2
417
pygnome2_RUN_DEPENDS=	${pygnome2_DETECT}:${PORTSDIR}/x11-toolkits/py-gnome2
418
pygnome2_USE_GNOME_IMPL=libgnomeui pygtk2
419
420
intltool_DETECT=	${LOCALBASE}/bin/intltool-extract
421
intltool_BUILD_DEPENDS=	${intltool_DETECT}:${PORTSDIR}/textproc/intltool
422
423
intlhack_PRE_PATCH=	${FIND} ${WRKSRC} -name "intltool-merge.in" | ${XARGS} ${REINPLACE_CMD} \
424
			's|mkdir $$lang or|mkdir $$lang, 0777 or| ; \
425
			 s|^push @INC, "/.*|push @INC, "${LOCALBASE}/share/intltool";| ; \
426
			 s|/usr/bin/iconv|${ICONV_CMD}|g ; \
427
			 s|unpack *[(]'"'"'U\*'"'"'|unpack ('"'"'C*'"'"'|' ; \
428
			${FIND} ${WRKSRC} -name configure | ${XARGS} ${REINPLACE_CMD} \
429
			's/DATADIRNAME=lib/DATADIRNAME=share/'
430
intlhack_USE_GNOME_IMPL=intltool
431
432
gtkhtml3_LIB_DEPENDS=	libgtkhtml-3.14.so:${PORTSDIR}/www/gtkhtml3
433
gtkhtml3_DETECT=	${LOCALBASE}/libdata/pkgconfig/libgtkhtml-3.14.pc
434
gtkhtml3_USE_GNOME_IMPL=libglade2
435
436
gtkhtml4_LIB_DEPENDS=	libgtkhtml-4.0.so:${PORTSDIR}/www/gtkhtml4
437
gtkhtml4_DETECT=	${LOCALBASE}/libdata/pkgconfig/libgtkhtml-4.0.pc
438
gtkhtml4_USE_GNOME_IMPL=gtk30 libxml2
439
440
gnomespeech_LIB_DEPENDS=libgnomespeech.so:${PORTSDIR}/accessibility/gnome-speech
441
gnomespeech_DETECT=	${LOCALBASE}/libdata/pkgconfig/gnome-speech-1.0.pc
442
gnomespeech_USE_GNOME_IMPL=libbonobo
443
444
evolutiondataserver3_LIB_DEPENDS=	libedataserver-1.2.so:${PORTSDIR}/databases/evolution-data-server
445
evolutiondataserver3_DETECT=		${LOCALBASE}/libdata/pkgconfig/libedataserverui-3.0.pc
446
evolutiondataserver3_USE_GNOME_IMPL=	libxml2 gtk30
447
448
gnomemenus3_BUILD_DEPENDS=	gnome-menus>=3.2.0:${PORTSDIR}/x11/gnome-menus
449
gnomemenus3_RUN_DEPENDS=	gnome-menus>=3.2.0:${PORTSDIR}/x11/gnome-menus
450
gnomemenus3_DETECT=		${LOCALBASE}/libdata/pkgconfig/libgnome-menu-3.0.pc
451
gnomemenus3_USE_GNOME_IMPL=	glib20
452
453
gnomedocutils_DETECT=		${LOCALBASE}/libdata/pkgconfig/gnome-doc-utils.pc
454
gnomedocutils_BUILD_DEPENDS=	${gnomedocutils_DETECT}:${PORTSDIR}/textproc/gnome-doc-utils
455
gnomedocutils_RUN_DEPENDS=	${gnomedocutils_DETECT}:${PORTSDIR}/textproc/gnome-doc-utils
456
gnomedocutils_USE_GNOME_IMPL=	libxslt
457
458
gtksharp10_DETECT=		${LOCALBASE}/libdata/pkgconfig/gtk-sharp.pc
459
gtksharp10_BUILD_DEPENDS=	${gtksharp10_DETECT}:${PORTSDIR}/x11-toolkits/gtk-sharp10
460
gtksharp10_RUN_DEPENDS=		${gtksharp10_DETECT}:${PORTSDIR}/x11-toolkits/gtk-sharp10
461
gtksharp10_USE_GNOME_IMPL=	gtk20
462
463
gtksharp20_DETECT=		${LOCALBASE}/libdata/pkgconfig/gtk-sharp-2.0.pc
464
gtksharp20_BUILD_DEPENDS=	${gtksharp20_DETECT}:${PORTSDIR}/x11-toolkits/gtk-sharp20
465
gtksharp20_RUN_DEPENDS=		${gtksharp20_DETECT}:${PORTSDIR}/x11-toolkits/gtk-sharp20
466
gtksharp20_USE_GNOME_IMPL=	gtk20
467
468
gnomesharp20_DETECT=		${LOCALBASE}/libdata/pkgconfig/gnome-sharp-2.0.pc
469
gnomesharp20_BUILD_DEPENDS=	${gnomesharp20_DETECT}:${PORTSDIR}/x11-toolkits/gnome-sharp20
470
gnomesharp20_RUN_DEPENDS=	${gnomesharp20_DETECT}:${PORTSDIR}/x11-toolkits/gnome-sharp20
471
gnomesharp20_USE_GNOME_IMPL=	gnomevfs2 gtkhtml3 gtksharp20 librsvg2 vte
472
473
libgnomekbd_DETECT=		${LOCALBASE}/libdata/pkgconfig/libgnomekbd.pc
474
libgnomekbd_LIB_DEPENDS=	libgnomekbd.so:${PORTSDIR}/x11/libgnomekbd
475
libgnomekbd_USE_GNOME_IMPL=	gtk30 libxml2
476
477
pygtksourceview_DETECT=		${LOCALBASE}/libdata/pkgconfig/pygtksourceview-2.0.pc
478
pygtksourceview_BUILD_DEPENDS=	${pygtksourceview_DETECT}:${PORTSDIR}/x11-toolkits/py-gtksourceview
479
pygtksourceview_RUN_DEPENDS=	${pygtksourceview_DETECT}:${PORTSDIR}/x11-toolkits/py-gtksourceview
480
pygtksourceview_USE_GNOME_IMPL=	gtksourceview2 pygtk2
481
482
gvfs_DETECT=		${LOCALBASE}/lib/gvfs/libgvfscommon.so
483
gvfs_BUILD_DEPENDS=	gvfs>=0:${PORTSDIR}/devel/gvfs
484
gvfs_RUN_DEPENDS=	gvfs>=0:${PORTSDIR}/devel/gvfs
485
gvfs_USE_GNOME_IMPL=	glib20
486
487
.if defined(INSTALLS_ICONS)
488
USE_GNOME+=	gtk-update-icon-cache
489
.endif
490
491
# End component definition section
492
493
# This section defines tests for optional software.  These work off four
494
# types of variables:  WANT_GNOME, WITH_GNOME, HAVE_GNOME and USE_GNOME.
495
# The logic of this is that a port can WANT support for a package; a user
496
# specifies if they want ports compiled WITH certain features; this section
497
# tests if we HAVE these features; and the port is then free to USE them.
498
499
# The logic of this section is like this:
500
#
501
# .if defined(WANT_GNOME) && !defined(WITHOUT_GNOME)
502
#   .for foo in ALL_GNOME_COMPONENTS
503
#     .if defined(WITH_GNOME)
504
#       HAVE_GNOME += foo
505
#     .elif (foo installed)
506
#       HAVE_GNOME += foo
507
#     .else
508
#       Print option message
509
#     .endif
510
#   .endfor
511
# .endif
512
#
513
# Although it appears a little more convoluted in the tests.
514
515
# Ports can make use of this like so:
516
#
517
# WANT_GNOME=		yes
518
#
519
# .include <bsd.port.pre.mk>
520
#
521
# .if ${HAVE_GNOME:Mfoo}!=""
522
# ... Do some things ...
523
# USE_GNOME=		foo
524
# .else
525
# ... Do some other things ...
526
# .endif
527
528
# We also check each component to see if it has a desktop requirement.  If
529
# it does, and its requirement disagrees with the user's chosen desktop,
530
# do not add the component to the HAVE_GNOME list.
531
532
_USE_GNOME_SAVED:=${USE_GNOME}
533
HAVE_GNOME?=
534
.if (defined(WANT_GNOME) && !defined(WITHOUT_GNOME))
535
. for component in ${_USE_GNOME_ALL}
536
.         if exists(${${component}_DETECT})
537
HAVE_GNOME+=	${component}
538
.         elif defined(WITH_GNOME)
539
.            if ${WITH_GNOME}=="yes" || ${WITH_GNOME:M${component}}!="" \
540
		|| ${WITH_GNOME}=="1"
541
HAVE_GNOME+=	${component}
542
.            endif
543
.         endif
544
. endfor
545
.elif defined(WITHOUT_GNOME)
546
.  if ${WITHOUT_GNOME}!="yes" && ${WITHOUT_GNOME}!="1"
547
.    for component in ${_USE_GNOME_ALL}
548
.      if ${WITHOUT_GNOME:M${component}}==""
549
.        if exists(${${component}_DETECT})
550
HAVE_GNOME+=	${component}
551
.        endif
552
.      endif
553
.    endfor
554
.  endif
555
.endif
556
557
.endif
558
# End of optional part.
559
560
.if defined(_POSTMKINCLUDED) && !defined(Gnome_Post_Include)
561
562
Gnome_Post_Include=		bsd.gnome.mk
563
564
.if !defined(Gnome_Pre_Include)
565
.error The Pre include part of bsd.gnome.mk part is not included. Did you forget WANT_GNOME=yes before bsd.port.pre.mk?
566
.endif
567
568
.if defined(USE_GNOME)
569
# First of all expand all USE_GNOME_IMPL recursively
570
. for component in ${_USE_GNOME_ALL}
571
.  for subcomponent in ${${component}_USE_GNOME_IMPL}
572
${component}_USE_GNOME_IMPL+=${${subcomponent}_USE_GNOME_IMPL}
573
.  endfor
574
. endfor
575
576
# Then use already expanded USE_GNOME_IMPL to expand USE_GNOME.
577
# Also, check to see if each component has a desktop requirement.  If it does,
578
# and if the user's chosen desktop is not of the same version, mark the
579
# port as IGNORE.
580
. for component in ${USE_GNOME:C/^([^:]+).*/\1/}
581
.  if ${_USE_GNOME_ALL:M${component}}==""
582
IGNORE=	cannot install: Unknown component ${component}
583
.  endif
584
_USE_GNOME+=	${${component}_USE_GNOME_IMPL} ${component}
585
. endfor
586
587
# Setup the GTK+ API version for pixbuf loaders, input method modules,
588
# and theme engines.
589
PLIST_SUB+=			GTK2_VERSION="${GTK2_VERSION}" \
590
				GTK3_VERSION="${GTK3_VERSION}"
591
592
# Set USE_CSTD for all ports that depend on glib12
593
.if defined(_USE_GNOME) && !empty(_USE_GNOME:Mglib12)
594
USE_CSTD=	gnu89
595
.endif
596
597
.if defined(_USE_GNOME) && empty(_USE_GNOME:Mglib20:u) && defined(GLIB_SCHEMAS)
598
IGNORE=		GLIB_SCHEMAS is set, but needs USE_GNOME=glib20 to work
599
.endif
600
601
.if defined(_USE_GNOME) && empty(_USE_GNOME:Mgconf2:u) && defined(GCONF_SCHEMAS)
602
IGNORE=		GCONF_SCHEMAS is set, but needs USE_GNOME=gconf2 to work
603
.endif
604
605
# Then traverse through all components, check which of them
606
# exist in ${_USE_GNOME} and set variables accordingly
607
.ifdef _USE_GNOME
608
609
. for component in ${_USE_GNOME:O:u}
610
.  if defined(${component}_PATCH_DEPENDS)
611
PATCH_DEPENDS+=	${${component}_PATCH_DEPENDS}
612
.  endif
613
614
.  if defined(${component}_DETECT)
615
.   if ${USE_GNOME:M${component}\:build}!=""
616
BUILD_DEPENDS+=	${${component}_BUILD_DEPENDS}
617
.   elif ${USE_GNOME:M${component}\:run}!=""
618
RUN_DEPENDS+=	${${component}_RUN_DEPENDS}
619
.   else
620
.    if defined(${component}_LIB_DEPENDS)
621
LIB_DEPENDS+=	${${component}_LIB_DEPENDS}
622
.    else
623
BUILD_DEPENDS+=	${${component}_BUILD_DEPENDS}
624
RUN_DEPENDS+=	${${component}_RUN_DEPENDS}
625
.    endif
626
.   endif
627
.  endif
628
629
.  if defined(${component}_CONFIGURE_ARGS)
630
CONFIGURE_ARGS+=${${component}_CONFIGURE_ARGS}
631
.  endif
632
633
.  if defined(${component}_CONFIGURE_ENV)
634
CONFIGURE_ENV+=	${${component}_CONFIGURE_ENV}
635
.  endif
636
637
.  if defined(${component}_MAKE_ENV)
638
MAKE_ENV+=	${${component}_MAKE_ENV}
639
.  endif
640
641
.  if !defined(CONFIGURE_TARGET) && defined(${component}_CONFIGURE_TARGET)
642
CONFIGURE_TARGET=	${${component}_CONFIGURE_TARGET}
643
.  endif
644
645
.  if defined(${component}_PRE_PATCH)
646
GNOME_PRE_PATCH+=	; ${${component}_PRE_PATCH}
647
.  endif
648
. endfor
649
.endif
650
651
. if defined(GCONF_SCHEMAS)
652
MAKE_ENV+=	GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
653
. endif
654
.endif
655
656
.if defined(GNOME_PRE_PATCH)
657
658
pre-patch: gnome-pre-patch
659
660
gnome-pre-patch:
661
	@${GNOME_PRE_PATCH:C/^;//1}
662
.endif
663
664
.if defined(WANT_GNOME)
665
USE_GNOME?=
666
.  if ${_USE_GNOME_SAVED}==${USE_GNOME}
667
PLIST_SUB+=	GNOME:="@comment " NOGNOME:=""
668
.  else
669
PLIST_SUB+=	GNOME:="" NOGNOME:="@comment "
670
.  endif
671
.endif
672
673
.if defined(USE_GNOME_SUBR)
674
GNOME_SUBR=		${LOCALBASE}/etc/gnome.subr
675
RUN_DEPENDS+=	${GNOME_SUBR}:${PORTSDIR}/sysutils/gnome_subr
676
SUB_LIST+=		GNOME_SUBR=${GNOME_SUBR}
677
.endif
678
679
.if defined(GCONF_SCHEMAS) || defined(INSTALLS_OMF) || defined(INSTALLS_ICONS) \
680
	|| defined(GLIB_SCHEMAS)
681
post-install: gnome-post-install
682
683
gnome-post-install:
684
.  if defined(GCONF_SCHEMAS)
685
	@for i in ${GCONF_SCHEMAS}; do \
686
		${ECHO_CMD} "@postunexec env GCONF_CONFIG_SOURCE=xml:${GCONF_CONFIG_OPTIONS}:%D/${GCONF_CONFIG_DIRECTORY} HOME=${WRKDIR} gconftool-2 --makefile-uninstall-rule %D/etc/gconf/schemas/$${i} > /dev/null || /usr/bin/true" \
687
			>> ${TMPPLIST}; \
688
		${ECHO_CMD} "etc/gconf/schemas/$${i}" >> ${TMPPLIST}; \
689
		${ECHO_CMD} "@postexec env GCONF_CONFIG_SOURCE=xml:${GCONF_CONFIG_OPTIONS}:%D/${GCONF_CONFIG_DIRECTORY} HOME=${WRKDIR} gconftool-2 --makefile-install-rule %D/etc/gconf/schemas/$${i} > /dev/null || /usr/bin/true" \
690
			>> ${TMPPLIST}; \
691
	done
692
.  endif
693
694
# we put the @unexec behind the plist schema entry, because it compiles files 
695
# in the directory. So we should remove the port file first before recompiling.
696
.  if defined(GLIB_SCHEMAS)
697
	@for i in ${GLIB_SCHEMAS}; do \
698
		${ECHO_CMD} "share/glib-2.0/schemas/$${i}" >> ${TMPPLIST}; \
699
	done
700
	@${ECHO_CMD} "@glib-schemas" >> ${TMPPLIST};
701
.endif
702
703
.  if defined(INSTALLS_OMF)
704
	@for i in `${GREP} "\.omf$$" ${TMPPLIST}`; do \
705
		${ECHO_CMD} "@postexec scrollkeeper-install -q %D/$${i} 2>/dev/null || /usr/bin/true" \
706
			>> ${TMPPLIST}; \
707
		${ECHO_CMD} "@postunexec scrollkeeper-uninstall -q %D/$${i} 2>/dev/null || /usr/bin/true" \
708
			>> ${TMPPLIST}; \
709
	done
710
.  endif
711
712
.  if defined(INSTALLS_ICONS)
713
	@${RM} -f ${TMPPLIST}.icons1
714
	@for i in `${GREP} "^share/icons/.*/" ${TMPPLIST} | ${CUT} -d / -f 1-3 | ${SORT} -u`; do \
715
		${ECHO_CMD} "@rmtry $${i}/icon-theme.cache" \
716
			>> ${TMPPLIST}.icons1; \
717
		${ECHO_CMD} "@postexec ${LOCALBASE}/bin/gtk-update-icon-cache -q -f %D/$${i} 2>/dev/null || /usr/bin/true" \
718
			>> ${TMPPLIST}; \
719
		${ECHO_CMD} "@postunexec ${LOCALBASE}/bin/gtk-update-icon-cache -q -f %D/$${i} 2>/dev/null || /usr/bin/true" \
720
			>> ${TMPPLIST}; \
721
	done
722
	@if test -f ${TMPPLIST}.icons1; then \
723
		${CAT} ${TMPPLIST}.icons1 ${TMPPLIST} > ${TMPPLIST}.icons2; \
724
		${RM} -f ${TMPPLIST}.icons1; \
725
		${MV} -f ${TMPPLIST}.icons2 ${TMPPLIST}; \
726
	fi
727
.  endif
728
.endif
729
730
.endif
731
# End of use part.
(-)Mk/bsd.mate.mk (-228 lines)
Lines 1-228 Link Here
1
#-*- tab-width: 4; -*-
2
# ex:ts=4
3
#
4
# $FreeBSD$
5
#	$NetBSD$
6
#     $MCom: ports-experimental/Mk/bsd.mate.mk,v 1.13 2012/09/03 17:02:31 mezz Exp $
7
#
8
# Please view me with 4 column tabs!
9
10
#######################################################
11
#
12
# *** WARNING: Disable MARCUSCOM before merge in FreeBSD!
13
#     Please also remove this section before merging into FreeBSD.
14
#
15
#MARCUSCOM_CVS=yes
16
17
# ======================= USERS =================================
18
#
19
# There are no significant user-definable settings in here.
20
# This file is a framework to make it easier to create MATE ports.
21
#
22
# ======================= /USERS ================================
23
24
.if !defined(_POSTMKINCLUDED) && !defined(Mate_Pre_Include)
25
26
# Please make sure all changes to this file are passed through the maintainer.
27
# Do not commit them yourself (unless of course you're the Port's Wraith ;).
28
Mate_Include_MAINTAINER=	gnome@FreeBSD.org
29
Mate_Pre_Include=			bsd.mate.mk
30
31
# This section defines possible names of MATE components and all information
32
# necessary for ports to use those components.
33
34
# Ports can use this as follows:
35
#
36
# USE_MATE=	caja common desktop
37
#
38
# .include <bsd.port.mk>
39
#
40
# As a result proper LIB_DEPENDS/RUN_DEPENDS will be added and CONFIGURE_ENV
41
# and MAKE_ENV defined.
42
#
43
44
# non-version specific components. Do not use :build/:run on those.
45
_USE_MATE_ALL=	autogen intlhack intltool
46
47
# MATE components, you can use the :build or :run if need. Without the :build
48
# and :run, it will be added in both build and run dependency. It will check
49
# for the library dependency first. If not exists then do the build/run on
50
# the *.pc file instead.
51
_USE_MATE_ALL+=	caja common controlcenter desktop dialogs docutils icontheme \
52
		libmatekbd libmateweather \
53
		marco menus notificationdaemon panel polkit pluma \
54
		settingsdaemon
55
56
SCROLLKEEPER_DIR=	/var/db/rarian
57
58
caja_DETECT=		${LOCALBASE}/libdata/pkgconfig/libcaja-extension.pc
59
caja_BUILD_DEPENDS=	${caja_DETECT}:${PORTSDIR}/x11-fm/caja
60
caja_LIB_DEPENDS=	libcaja-extension.so:${PORTSDIR}/x11-fm/caja
61
caja_RUN_DEPENDS=	${caja_DETECT}:${PORTSDIR}/x11-fm/caja
62
63
common_DETECT=		${LOCALBASE}/bin/mate-autogen
64
common_BUILD_DEPENDS=	${common_DETECT}:${PORTSDIR}/devel/mate-common
65
common_RUN_DEPENDS=	${common_DETECT}:${PORTSDIR}/devel/mate-common
66
67
controlcenter_DETECT=		${LOCALBASE}/libdata/pkgconfig/mate-window-settings-2.0.pc
68
controlcenter_BUILD_DEPENDS=	${controlcenter_DETECT}:${PORTSDIR}/sysutils/mate-control-center
69
controlcenter_LIB_DEPENDS=	libmate-window-settings.so:${PORTSDIR}/sysutils/mate-control-center
70
controlcenter_RUN_DEPENDS=	${controlcenter_DETECT}:${PORTSDIR}/sysutils/mate-control-center
71
72
desktop_DETECT=		${LOCALBASE}/libdata/pkgconfig/mate-desktop-2.0.pc
73
desktop_BUILD_DEPENDS=	${desktop_DETECT}:${PORTSDIR}/x11/mate-desktop
74
desktop_LIB_DEPENDS=	libmate-desktop-2.so:${PORTSDIR}/x11/mate-desktop
75
desktop_RUN_DEPENDS=	${desktop_DETECT}:${PORTSDIR}/x11/mate-desktop
76
77
dialogs_DETECT=		${LOCALBASE}/bin/matedialog
78
dialogs_BUILD_DEPENDS=	${dialogs_DETECT}:${PORTSDIR}/x11/mate-dialogs
79
dialogs_RUN_DEPENDS=	${dialogs_DETECT}:${PORTSDIR}/x11/mate-dialogs
80
81
docutils_DETECT=	${LOCALBASE}/libdata/pkgconfig/mate-doc-utils.pc
82
docutils_BUILD_DEPENDS=	${docutils_DETECT}:${PORTSDIR}/textproc/mate-doc-utils
83
docutils_RUN_DEPENDS=	${docutils_DETECT}:${PORTSDIR}/textproc/mate-doc-utils
84
85
icontheme_DETECT=	${LOCALBASE}/libdata/pkgconfig/mate-icon-theme.pc
86
icontheme_BUILD_DEPENDS=${icontheme_DETECT}:${PORTSDIR}/x11-themes/mate-icon-theme
87
icontheme_RUN_DEPENDS=	${icontheme_DETECT}:${PORTSDIR}/x11-themes/mate-icon-theme
88
89
intltool_DETECT=	${LOCALBASE}/bin/intltool-extract
90
intltool_BUILD_DEPENDS=	${intltool_DETECT}:${PORTSDIR}/textproc/intltool
91
92
intlhack_PRE_PATCH=		${FIND} ${WRKSRC} -name "intltool-merge.in" | ${XARGS} ${REINPLACE_CMD} -e \
93
				's|mkdir $$lang or|mkdir $$lang, 0777 or| ; \
94
				 s|^push @INC, "/.*|push @INC, "${LOCALBASE}/share/intltool";| ; \
95
				 s|/usr/bin/iconv|${LOCALBASE}/bin/iconv|g ; \
96
				 s|unpack *[(]'"'"'U\*'"'"'|unpack ('"'"'C*'"'"'|'
97
.if ${USE_MATE:Mintlhack}!=""
98
USE_MATE+=				intltool
99
.endif
100
101
libmatekbd_DETECT=		${LOCALBASE}/libdata/pkgconfig/libmatekbd.pc
102
libmatekbd_BUILD_DEPENDS=	${libmatekbd_DETECT}:${PORTSDIR}/x11/libmatekbd
103
libmatekbd_LIB_DEPENDS=		libmatekbd.so:${PORTSDIR}/x11/libmatekbd
104
libmatekbd_RUN_DEPENDS=		${libmatekbd_DETECT}:${PORTSDIR}/x11/libmatekbd
105
106
libmateweather_DETECT=		${LOCALBASE}/libdata/pkgconfig/mateweather.pc
107
libmateweather_BUILD_DEPENDS=	${libmateweather_DETECT}:${PORTSDIR}/net/libmateweather
108
libmateweather_LIB_DEPENDS=	libmateweather.so:${PORTSDIR}/net/libmateweather
109
libmateweather_RUN_DEPENDS=	${libmateweather_DETECT}:${PORTSDIR}/net/libmateweather
110
111
marco_DETECT=		${LOCALBASE}/libdata/pkgconfig/libmarco-private.pc
112
marco_BUILD_DEPENDS=	${marco_DETECT}:${PORTSDIR}/x11-wm/marco
113
marco_LIB_DEPENDS=	libmarco-private.so:${PORTSDIR}/x11-wm/marco
114
marco_RUN_DEPENDS=	${marco_DETECT}:${PORTSDIR}/x11-wm/marco
115
116
menus_DETECT=		${LOCALBASE}/libdata/pkgconfig/libmate-menu.pc
117
menus_BUILD_DEPENDS=	${menus_DETECT}:${PORTSDIR}/x11/mate-menus
118
menus_LIB_DEPENDS=	libmate-menu.so:${PORTSDIR}/x11/mate-menus
119
menus_RUN_DEPENDS=	${menus_DETECT}:${PORTSDIR}/x11/mate-menus
120
121
notificationdaemon_DETECT=		${LOCALBASE}/libexec/mate-notification-daemon
122
notificationdaemon_BUILD_DEPENDS=	${notificationdaemon_DETECT}:${PORTSDIR}/deskutils/mate-notification-daemon
123
notificationdaemon_RUN_DEPENDS=		${notificationdaemon_DETECT}:${PORTSDIR}/deskutils/mate-notification-daemon
124
125
panel_DETECT=		${LOCALBASE}/libdata/pkgconfig/libmatepanelapplet-4.0.pc
126
panel_BUILD_DEPENDS=	${panel_DETECT}:${PORTSDIR}/x11/mate-panel
127
panel_LIB_DEPENDS=	libmate-panel-applet-4.so:${PORTSDIR}/x11/mate-panel
128
panel_RUN_DEPENDS=	${panel_DETECT}:${PORTSDIR}/x11/mate-panel
129
130
polkit_DETECT=		${LOCALBASE}/libdata/pkgconfig/polkit-gtk-mate-1.pc
131
polkit_BUILD_DEPENDS=	${polkit_DETECT}:${PORTSDIR}/sysutils/mate-polkit
132
polkit_LIB_DEPENDS=	libpolkit-gtk-mate-1.so:${PORTSDIR}/sysutils/mate-polkit
133
polkit_RUN_DEPENDS=	${polkit_DETECT}:${PORTSDIR}/sysutils/mate-polkit
134
135
pluma_DETECT=		${LOCALBASE}/libdata/pkgconfig/pluma.pc
136
pluma_BUILD_DEPENDS=	${pluma_DETECT}:${PORTSDIR}/editors/pluma
137
pluma_RUN_DEPENDS=	${pluma_DETECT}:${PORTSDIR}/editors/pluma
138
139
settingsdaemon_DETECT=		${LOCALBASE}/libdata/pkgconfig/mate-settings-daemon.pc
140
settingsdaemon_BUILD_DEPENDS=	${settingsdaemon_DETECT}:${PORTSDIR}/sysutils/mate-settings-daemon
141
settingsdaemon_RUN_DEPENDS=	${settingsdaemon_DETECT}:${PORTSDIR}/sysutils/mate-settings-daemon
142
143
# End component definition section
144
145
.endif
146
# End of optional part.
147
148
.if defined(_POSTMKINCLUDED) && !defined(Mate_Post_Include)
149
150
Mate_Post_Include=		bsd.mate.mk
151
152
.if defined(USE_MATE)
153
# Comparing between USE_MATE and _USE_MATE_ALL to make sure the component
154
# exists in _USE_MATE_ALL. If it does not exist then give an error about it.
155
#. for component in ${USE_MATE:O:u:C/^([^:]+).*/\1/}
156
. for component in ${USE_MATE:C/^([^:]+).*/\1/}
157
#. for component in ${USE_GNOME:C/^([^:]+).*/\1/}
158
.  if ${_USE_MATE_ALL:M${component}}==""
159
.error cannot install: Unknown component USE_MATE=${component}
160
.  endif
161
. endfor
162
163
. for component in ${USE_MATE:O:u:C/^([^:]+).*/\1/}
164
.  if defined(${component}_PATCH_DEPENDS)
165
PATCH_DEPENDS+=	${${component}_PATCH_DEPENDS}
166
.  endif
167
168
.  if defined(${component}_DETECT)
169
.   if ${USE_MATE:M${component}\:build}!=""
170
BUILD_DEPENDS+=	${${component}_BUILD_DEPENDS}
171
.   elif ${USE_MATE:M${component}\:run}!=""
172
RUN_DEPENDS+=	${${component}_RUN_DEPENDS}
173
.   else
174
.    if defined(${component}_LIB_DEPENDS)
175
LIB_DEPENDS+=	${${component}_LIB_DEPENDS}
176
.    else
177
BUILD_DEPENDS+=	${${component}_BUILD_DEPENDS}
178
RUN_DEPENDS+=	${${component}_RUN_DEPENDS}
179
.    endif
180
.   endif
181
.  endif
182
183
.  if defined(${component}_CONFIGURE_TARGET)
184
CONFIGURE_ARGS+=${${component}_CONFIGURE_ARGS}
185
.  endif
186
187
.  if defined(${component}_CONFIGURE_ENV)
188
CONFIGURE_ENV+=	${${component}_CONFIGURE_ENV}
189
.  endif
190
191
.  if defined(${component}_MAKE_ENV)
192
MAKE_ENV+=	${${component}_MAKE_ENV}
193
.  endif
194
195
.  if !defined(CONFIGURE_TARGET) && defined(${component}_CONFIGURE_TARGET)
196
CONFIGURE_TARGET=	${${component}_CONFIGURE_TARGET}
197
.  endif
198
199
.  if defined(${component}_PRE_PATCH)
200
MATE_PRE_PATCH+=	; ${${component}_PRE_PATCH}
201
.  endif
202
. endfor
203
.endif # USE_MATE check
204
205
.if ${USE_MATE:Mautogen}!=""
206
207
CONFIGURE_ENV+=	NOCONFIGURE=yes
208
209
pre-configure: mate-pre-configure
210
211
mate-pre-configure:
212
	@(cd ${CONFIGURE_WRKSRC} ; ${SETENV} ${CONFIGURE_ENV} ./autogen.sh)
213
.endif
214
215
.if defined(MATE_PRE_PATCH)
216
217
pre-configure-script: mate-pre-configure-script
218
219
mate-pre-configure-script:
220
	@${MATE_PRE_PATCH:C/^;//1}
221
.endif
222
223
.if ${MAINTAINER}=="gnome@FreeBSD.org"
224
CONFIGURE_FAIL_MESSAGE= "Please run the gnomelogalyzer, available from \"http://www.freebsd.org/gnome/gnomelogalyzer.sh\", which will diagnose the problem and suggest a solution. If - and only if - the gnomelogalyzer cannot solve the problem, report the build failure to the FreeBSD MATE team at ${MAINTAINER}, and attach (a) \"${CONFIGURE_WRKSRC}/${CONFIGURE_LOG}\", (b) the output of the failed make command, and (c) the gnomelogalyzer output. Also, it might be a good idea to provide an overview of all packages installed on your system (i.e. an \`ls ${PKG_DBDIR}\`). Put your attachment up on any website, copy-and-paste into http://freebsd-gnome.pastebin.com, or use send-pr(1) with the attachment. Try to avoid sending any attachments to the mailing list (${MAINTAINER}), because attachments sent to FreeBSD mailing lists are usually discarded by the mailing list software."
225
.endif
226
227
.endif
228
# End of use part.
(-)Mk/bsd.port.mk (-20 / +2 lines)
Lines 388-403 Link Here
388
# USE_GECKO		- If set, this port uses the Gecko/Mozilla product.
388
# USE_GECKO		- If set, this port uses the Gecko/Mozilla product.
389
#				  See bsd.gecko.mk for more details.
389
#				  See bsd.gecko.mk for more details.
390
##
390
##
391
# USE_GNOME		- A list of the Gnome dependencies the port has (e.g.,
392
#				  glib12, gtk12).  Implies that the port needs Gnome.
393
#				  Implies inclusion of bsd.gnome.mk.  See bsd.gnome.mk
394
#				  or http://www.FreeBSD.org/gnome/docs/porting.html
395
#				  for more details.
396
##
397
# USE_MATE		- A list of the MATE dependencies the port has. Implies
398
#				  that the port needs MATE. Implies inclusion of
399
#				  bsd.mate.mk. See bsd.mate.mk for more details.
400
##
401
# USE_WX		- If set, this port uses the WxWidgets library and related
391
# USE_WX		- If set, this port uses the WxWidgets library and related
402
#				  components. See bsd.wx.mk for more details.
392
#				  components. See bsd.wx.mk for more details.
403
##
393
##
Lines 1398-1408 Link Here
1398
.endif
1388
.endif
1399
1389
1400
.if defined(WANT_GNOME) || defined(USE_GNOME) || defined(INSTALLS_ICONS)
1390
.if defined(WANT_GNOME) || defined(USE_GNOME) || defined(INSTALLS_ICONS)
1401
.include "${PORTSDIR}/Mk/bsd.gnome.mk"
1391
USES+=	gnome
1402
.endif
1392
.endif
1403
1393
1404
.if defined(USE_MATE)
1394
.if defined(USE_MATE)
1405
.include "${PORTSDIR}/Mk/bsd.mate.mk"
1395
USES+=	mate
1406
.endif
1396
.endif
1407
1397
1408
.if defined(WANT_WX) || defined(USE_WX) || defined(USE_WX_NOT)
1398
.if defined(WANT_WX) || defined(USE_WX) || defined(USE_WX_NOT)
Lines 1915-1928 Link Here
1915
.include "${PORTSDIR}/Mk/bsd.gecko.mk"
1905
.include "${PORTSDIR}/Mk/bsd.gecko.mk"
1916
.endif
1906
.endif
1917
1907
1918
.if defined(WANT_GNOME) || defined(USE_GNOME)
1919
.include "${PORTSDIR}/Mk/bsd.gnome.mk"
1920
.endif
1921
1922
.if defined(USE_MATE)
1923
.include "${PORTSDIR}/Mk/bsd.mate.mk"
1924
.endif
1925
1926
.if defined(USE_KDE4)
1908
.if defined(USE_KDE4)
1927
.include "${PORTSDIR}/Mk/bsd.kde4.mk"
1909
.include "${PORTSDIR}/Mk/bsd.kde4.mk"
1928
.endif
1910
.endif

Return to bug 205432