blob: d5aaa663183be8f239138ab00bba55d6c83fa110 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
|
#-*- mode: Makefile; tab-width: 4; -*-
# ex:ts=4
#
# $FreeBSD$
#
# Please view me with 4 column tabs!
# This section defines possible names of linux infrastructure ports
# (components) and all information necessary for ports to use those components.
#
# Ports can use this as follows:
#
# USE_LINUX_APPS= esound xorglibs
#
# .include <bsd.port.mk>
#
# As a result proper RUN_DEPENDS will be added.
#
# Variables:
# LINUX_DIST_SUFFIX - Contains the value which is added to a port's name
# (i.e. linux<this_variable>-port ) to get the right
# linux infrastructure port.
# _ALL_LINUX_APPS - A (sorted) list of all linux infrastructure ports
# (components), covered here.
# OVERRIDE_LINUX_NONBASE_PORTS
# - This specifies a none-default linux infrastructure ports to use.
# Valid values are "f8" and "f10" to use Linux Fedora [8,10] ports.
# This is an user-only variable. Don't use it in any port,
# it's meant to be used in make.conf.
.if !defined(_POSTMKINCLUDED) && !defined(Linux_APPS_Pre_Include)
Linux_APPS_Include_MAINTAINER= emulation@FreeBSD.org
Linux_APPS_Pre_Include= bsd.linux-apps.mk
.endif
.if defined(_POSTMKINCLUDED) && !defined(Linux_APPS_Post_Include)
Linux_APPS_Post_Include= bsd.linux-apps.mk
# OVERRIDE_LINUX_NONBASE_PORTS may be used only with LINUX_OSRELEASE=2.6.16
. if (${LINUX_OSRELEASE} == "2.6.16") && defined(OVERRIDE_LINUX_NONBASE_PORTS)
. if ${OVERRIDE_LINUX_NONBASE_PORTS} == "f8"
LINUX_DIST_SUFFIX= -f8
. elif ${OVERRIDE_LINUX_NONBASE_PORTS} == "f10"
LINUX_DIST_SUFFIX= -f10
. else
IGNORE= valid values for OVERRIDE_LINUX_NONBASE_PORTS are \"f8\", \"f10\"
. endif
. elif ${OSVERSION} < 800076
# default for OSVERSION < 800076
LINUX_DIST_SUFFIX=
. else
# default for OSVERSION >= 800076
LINUX_DIST_SUFFIX= -f10
. endif
# I'm not sure if kompozer is better for linux-f8 ports, so use nvu
WEB_AUTH= nvu
# Non-version specific components
_LINUX_APPS_ALL= allegro alsalib arts aspell atk cairo curl dri esound expat fontconfig \
freealut gdkpixbuf gtk gtk2 hicontheme imlib jpeg libaudiofile \
libg2c libglade libglade2 libglu libmng libogg libsigcpp20 libtheora \
libvorbis libxml libxml2 mikmod naslibs openal openmotif openssl pango png png10 qt33 \
scimgtk scimlibs sdl12 sdlimage sdlmixer tiff xorglibs ucl ungif upx webauth
# 2.4.2 components
_LINUX_APPS_ALL+=
# 2.6.16 components
_LINUX_26_APPS= blt cyrus-sasl2 dbusglib dbuslibs libidn libssh2 nspr nss openal-soft \
openldap sqlite3 tcl84 tk84
_LINUX_APPS_ALL+= ${_LINUX_26_APPS}
# Let's check if components from USE_LINUX_APPS exist at _LINUX_26_APPS for LINUX_DIST_SUFFIX:=""
. if ${LINUX_DIST_SUFFIX}==""
. for component in ${USE_LINUX_APPS}
. if ${_LINUX_26_APPS:M${component}}!=""
IGNORE= bsd.linux-apps.mk test failed: The component ${component} can be used with at least linux_base-f8
. endif
. endfor
. endif
# Component definition section
#
# component${LINUX_DIST_SUFFIX:S/-/_/}_FILE
# - Variables are used to name a file to check,
# file names may differ for different LINUX_DIST_SUFFIX.
# The value is LINUX_DIST_SUFFIX without the leading dash.
# component_DETECT - The resulting file to check for a dependency existence.
# component_PORT - A port which will be used to install a missing dependency.
# component_DEPENDS - A list of components the current component depends on.
allegro_FILE= ${LINUXBASE}/usr/lib/liballeg-4.0.3.so
allegro_f8_FILE= ${LINUXBASE}/usr/lib/liballeg-4.2.2.so
allegro_f10_FILE= ${LINUXBASE}/usr/lib/liballeg-4.2.2.so
allegro_DETECT= ${allegro${LINUX_DIST_SUFFIX:S/-/_/}_FILE}
allegro_PORT= ${PORTSDIR}/devel/linux${LINUX_DIST_SUFFIX}-allegro
allegro_DEPENDS= xorglibs
alsalib_FILE= ${LINUXBASE}/lib/libasound.so.2.0.0
alsalib_f8_FILE= ${alsalib_FILE}
alsalib_f10_FILE= ${LINUXBASE}/lib/libasound.so.2.0.0
alsalib_DETECT= ${alsalib${LINUX_DIST_SUFFIX:S/-/_/}_FILE}
alsalib_PORT= ${PORTSDIR}/audio/linux${LINUX_DIST_SUFFIX}-alsa-lib
arts_FILE= ${LINUXBASE}/usr/lib/libartsc.so.0
arts_f8_FILE= ${arts_FILE}
arts_f10_FILE= ${LINUXBASE}/usr/lib/libartsc.so.0
arts_DETECT= ${arts${LINUX_DIST_SUFFIX:S/-/_/}_FILE}
arts_PORT= ${PORTSDIR}/audio/linux${LINUX_DIST_SUFFIX}-arts
aspell_FILE= ${LINUXBASE}/usr/lib/libaspell.so.15.0.2
aspell_f8_FILE= ${LINUXBASE}/usr/lib/libaspell.so.15.1.4
aspell_f10_FILE= ${LINUXBASE}/usr/lib/libaspell.so.15.1.4
aspell_DETECT= ${aspell${LINUX_DIST_SUFFIX:S/-/_/}_FILE}
aspell_PORT= ${PORTSDIR}/textproc/linux${LINUX_DIST_SUFFIX}-aspell
atk_FILE= ${LINUXBASE}/usr/lib/libatk-1.0.so.0.901.0
atk_f8_FILE= ${LINUXBASE}/usr/lib/libatk-1.0.so.0.2009.1
atk_f10_FILE= ${LINUXBASE}/usr/lib/libatk-1.0.so.0.2409.1
atk_DETECT= ${atk${LINUX_DIST_SUFFIX:S/-/_/}_FILE}
atk_PORT= ${PORTSDIR}/accessibility/linux${LINUX_DIST_SUFFIX}-atk
blt_f10_FILE= ${LINUXBASE}/usr/lib/libBLT24.so
blt_DETECT= ${blt${LINUX_DIST_SUFFIX:S/-/_/}_FILE}
blt_PORT= ${PORTSDIR}/x11-toolkits/linux${LINUX_DIST_SUFFIX}-blt
blt_DEPENDS= tcl84 tk84 xorglibs
cairo_FILE= ${LINUXBASE}/usr/lib/libcairo.so.2.2.3
cairo_f8_FILE= ${LINUXBASE}/usr/lib/libcairo.so.2.11.7
cairo_f10_FILE= ${LINUXBASE}/usr/lib/libcairo.so.2.10800.0
cairo_DETECT= ${cairo${LINUX_DIST_SUFFIX:S/-/_/}_FILE}
cairo_PORT= ${PORTSDIR}/graphics/linux${LINUX_DIST_SUFFIX}-cairo
cairo_DEPENDS= fontconfig png xorglibs
curl_FILE= ${LINUXBASE}/usr/lib/libcurl.so.3.0.0
curl_f8_FILE= ${LINUXBASE}/usr/lib/libcurl.so.4.1.0
curl_f10_FILE= ${LINUXBASE}/usr/lib/libcurl.so.4.1.1
curl_DETECT= ${curl${LINUX_DIST_SUFFIX:S/-/_/}_FILE}
curl_PORT= ${PORTSDIR}/ftp/linux${LINUX_DIST_SUFFIX}-curl
. if ${LINUX_DIST_SUFFIX} == "-f10"
curl_DEPENDS= cyrus-sasl2 openldap
. endif
# no cyrus-sasl2_FILE, cyrus-sasl2_f8_FILE
cyrus-sasl2_f10_FILE= ${LINUXBASE}/usr/lib/libsasl2.so.2.0.22
cyrus-sasl2_DETECT= ${cyrus-sasl2${LINUX_DIST_SUFFIX:S/-/_/}_FILE}
cyrus-sasl2_PORT= ${PORTSDIR}/security/linux${LINUX_DIST_SUFFIX}-cyrus-sasl2
# no dbusglib_FILE
# no dbusglib_f8_FILE
dbusglib_f10_FILE= ${LINUXBASE}/usr/lib/libdbus-glib-1.so.2
dbusglib_DETECT= ${dbusglib${LINUX_DIST_SUFFIX:S/-/_/}_FILE}
dbusglib_PORT= ${PORTSDIR}/devel/linux${LINUX_DIST_SUFFIX}-dbus-glib
dbusglib_DEPENDS= dbuslibs expat
# no dbuslibs_FILE
# no dbuslibs_f8_FILE
dbuslibs_f10_FILE= ${LINUXBASE}/lib/libdbus-1.so.3
dbuslibs_DETECT= ${dbuslibs${LINUX_DIST_SUFFIX:S/-/_/}_FILE}
dbuslibs_PORT= ${PORTSDIR}/devel/linux${LINUX_DIST_SUFFIX}-dbus-libs
dri_FILE= ${LINUXBASE}/usr/X11R6/lib/libGL.so.1
dri_f8_FILE= ${LINUXBASE}/usr/lib/libGL.so.1
dri_f10_FILE= ${LINUXBASE}/usr/lib/libGL.so.1.2
dri_DETECT= ${dri${LINUX_DIST_SUFFIX:S/-/_/}_FILE}
. if ${LINUX_DIST_SUFFIX} == ""
dri_PORT= ${PORTSDIR}/graphics/linux_dri
. elif ${LINUX_DIST_SUFFIX} == "-f8"
dri_PORT= ${PORTSDIR}/graphics/linux${LINUX_DIST_SUFFIX}-dri
. else
dri_PORT= ${PORTSDIR}/graphics/linux-dri74
. endif
dri_DEPENDS= xorglibs
esound_FILE= ${LINUXBASE}/usr/lib/libesd.so.0.2.36
esound_f8_FILE= ${LINUXBASE}/usr/lib/libesd.so.0.2.38
esound_f10_FILE= ${LINUXBASE}/usr/lib/libesd.so.0.2.39
esound_DETECT= ${esound${LINUX_DIST_SUFFIX:S/-/_/}_FILE}
esound_PORT= ${PORTSDIR}/audio/linux${LINUX_DIST_SUFFIX}-esound
esound_DEPENDS= libaudiofile
expat_FILE= ${LINUXBASE}/usr/lib/libexpat.so.0
expat_f8_FILE= ${LINUXBASE}/lib/libexpat.so.1
expat_f10_FILE= ${LINUXBASE}/lib/libexpat.so.1
expat_DETECT= ${expat${LINUX_DIST_SUFFIX:S/-/_/}_FILE}
expat_PORT= ${PORTSDIR}/textproc/linux${LINUX_DIST_SUFFIX}-expat
fontconfig_FILE= ${LINUXBASE}/usr/lib/libfontconfig.so.1
fontconfig_f8_FILE= ${LINUXBASE}/usr/lib/libfontconfig.so.1.2.0
fontconfig_f10_FILE= ${LINUXBASE}/usr/lib/libfontconfig.so.1.3.0
fontconfig_DETECT= ${fontconfig${LINUX_DIST_SUFFIX:S/-/_/}_FILE}
fontconfig_PORT= ${PORTSDIR}/x11-fonts/linux${LINUX_DIST_SUFFIX}-fontconfig
fontconfig_DEPENDS= expat
freealut_FILE= ${LINUXBASE}/usr/lib/libalut.so.0.1.0
freealut_f8_FILE= ${freealut_FILE}
freealut_f10_FILE= ${LINUXBASE}/usr/lib/libalut.so.0.1.0
freealut_DETECT= ${freealut${LINUX_DIST_SUFFIX:S/-/_/}_FILE}
freealut_PORT= ${PORTSDIR}/audio/linux${LINUX_DIST_SUFFIX}-freealut
freealut_DEPENDS= openal
gdkpixbuf_FILE= ${LINUXBASE}/usr/lib/libgdk_pixbuf.so.2
gdkpixbuf_f8_FILE= ${gdkpixbuf_FILE}
gdkpixbuf_f10_FILE= ${LINUXBASE}/usr/lib/libgdk_pixbuf.so.2
gdkpixbuf_DETECT= ${gdkpixbuf${LINUX_DIST_SUFFIX:S/-/_/}_FILE}
gdkpixbuf_PORT= ${PORTSDIR}/graphics/linux${LINUX_DIST_SUFFIX}-gdk-pixbuf
gtk_FILE= ${LINUXBASE}/usr/lib/libgtk-1.2.so.0.9.1
gtk_f8_FILE= ${gtk_FILE}
gtk_f10_FILE= ${LINUXBASE}/usr/lib/libgtk-1.2.so.0.9.1
gtk_DETECT= ${gtk${LINUX_DIST_SUFFIX:S/-/_/}_FILE}
gtk_PORT= ${PORTSDIR}/x11-toolkits/linux${LINUX_DIST_SUFFIX}-gtk
gtk_DEPENDS= xorglibs
gtk2_FILE= ${LINUXBASE}/usr/lib/libgtk-x11-2.0.so.0.600.10
gtk2_f8_FILE= ${LINUXBASE}/usr/lib/libgtk-x11-2.0.so.0.1200.8
gtk2_f10_FILE= ${LINUXBASE}/usr/lib/libgtk-x11-2.0.so.0.1400.7
gtk2_DETECT= ${gtk2${LINUX_DIST_SUFFIX:S/-/_/}_FILE}
gtk2_PORT= ${PORTSDIR}/x11-toolkits/linux${LINUX_DIST_SUFFIX}-gtk2
gtk2_DEPENDS= atk jpeg png pango tiff xorglibs
hicontheme_FILE= ${LINUXBASE}/usr/share/icons/hicolor
hicontheme_f8_FILE= ${hicontheme_FILE}
hicontheme_f10_FILE= ${LINUXBASE}/usr/share/icons/hicolor
hicontheme_DETECT= ${hicontheme${LINUX_DIST_SUFFIX:S/-/_/}_FILE}
hicontheme_PORT= ${PORTSDIR}/x11-themes/linux${LINUX_DIST_SUFFIX}-hicolor-icon-theme
imlib_FILE= ${LINUXBASE}/usr/lib/libgdk_imlib.so.1.9.13
imlib_f8_FILE= ${LINUXBASE}/usr/lib/libgdk_imlib.so.1.9.15
imlib_f10_FILE= ${LINUXBASE}/usr/lib/libgdk_imlib.so.1.9.15
imlib_DETECT= ${imlib${LINUX_DIST_SUFFIX:S/-/_/}_FILE}
imlib_PORT= ${PORTSDIR}/graphics/linux${LINUX_DIST_SUFFIX}-imlib
jpeg_FILE= ${LINUXBASE}/usr/lib/libjpeg.so.62.0.0
jpeg_f8_FILE= ${jpeg_FILE}
jpeg_f10_FILE= ${LINUXBASE}/usr/lib/libjpeg.so.62.0.0
jpeg_DETECT= ${jpeg${LINUX_DIST_SUFFIX:S/-/_/}_FILE}
jpeg_PORT= ${PORTSDIR}/graphics/linux${LINUX_DIST_SUFFIX}-jpeg
libaudiofile_FILE= ${LINUXBASE}/usr/lib/libaudiofile.so.0.0.2
libaudiofile_f8_FILE= ${libaudiofile_FILE}
libaudiofile_f10_FILE= ${LINUXBASE}/usr/lib/libaudiofile.so.0.0.2
libaudiofile_DETECT= ${libaudiofile${LINUX_DIST_SUFFIX:S/-/_/}_FILE}
libaudiofile_PORT= ${PORTSDIR}/audio/linux${LINUX_DIST_SUFFIX}-libaudiofile
libg2c_FILE= ${LINUXBASE}/usr/lib/libg2c.so.0.0.0
libg2c_f8_FILE= ${libg2c_FILE}
libg2c_f10_FILE= ${LINUXBASE}/usr/lib/libg2c.so.0.0.0
libg2c_DETECT= ${libg2c${LINUX_DIST_SUFFIX:S/-/_/}_FILE}
libg2c_PORT= ${PORTSDIR}/lang/linux${LINUX_DIST_SUFFIX}-libg2c
libglade_FILE= ${LINUXBASE}/usr/lib/libglade.so.0.4.2
libglade_f8_FILE= ${libglade_FILE}
libglade_f10_FILE= ${LINUXBASE}/usr/lib/libglade.so.0.4.2
libglade_DETECT= ${libglade${LINUX_DIST_SUFFIX:S/-/_/}_FILE}
libglade_PORT= ${PORTSDIR}/devel/linux${LINUX_DIST_SUFFIX}-libglade
libglade2_FILE= ${LINUXBASE}/usr/lib/libglade-2.0.so.0.0.7
libglade2_f8_FILE= ${libglade2_FILE}
libglade2_f10_FILE= ${LINUXBASE}/usr/lib/libglade-2.0.so.0.0.7
libglade2_DETECT= ${libglade2${LINUX_DIST_SUFFIX:S/-/_/}_FILE}
libglade2_PORT= ${PORTSDIR}/devel/linux${LINUX_DIST_SUFFIX}-libglade2
libglu_FILE= ${LINUXBASE}/usr/X11R6/lib/libGLU.so.1
libglu_f8_FILE= ${LINUXBASE}/usr/lib/libGLU.so.1
libglu_f10_FILE= ${LINUXBASE}/usr/lib/libGLU.so.1
libglu_DETECT= ${libglu${LINUX_DIST_SUFFIX:S/-/_/}_FILE}
libglu_PORT= ${PORTSDIR}/graphics/linux${LINUX_DIST_SUFFIX}-libGLU
# no libidn_FILE (there is no libidn port for Fedora 4 distribution)
libidn_f8_FILE= ${LINUXBASE}/usr/lib/libidn.so.11
# no libidn_f10_FILE (libidn is integrated into linux_base-f10 port)
libidn_DETECT= ${libidn${LINUX_DIST_SUFFIX:S/-/_/}_FILE}
libidn_PORT= ${PORTSDIR}/dns/linux${LINUX_DIST_SUFFIX}-libidn
libmng_FILE= ${LINUXBASE}/usr/lib/libmng.so.1.0.0
libmng_f8_FILE= ${libmng_FILE}
libmng_f10_FILE= ${LINUXBASE}/usr/lib/libmng.so.1.0.0
libmng_DETECT= ${libmng${LINUX_DIST_SUFFIX:S/-/_/}_FILE}
libmng_PORT= ${PORTSDIR}/graphics/linux${LINUX_DIST_SUFFIX}-libmng
libmng_DEPENDS= jpeg
libogg_FILE= ${LINUXBASE}/usr/lib/libogg.so.0.5.2
libogg_f8_FILE= ${LINUXBASE}/usr/lib/libogg.so.0.5.3
libogg_f10_FILE= ${LINUXBASE}/usr/lib/libogg.so.0.5.3
libogg_DETECT= ${libogg${LINUX_DIST_SUFFIX:S/-/_/}_FILE}
libogg_PORT= ${PORTSDIR}/audio/linux${LINUX_DIST_SUFFIX}-libogg
libsigcpp20_FILE= ${LINUXBASE}/usr/lib/libsigc-2.0.so.0
libsigcpp20_f8_FILE= ${libsigcpp20_FILE}
libsigcpp20_f10_FILE= ${LINUXBASE}/usr/lib/libsigc-2.0.so.0
libsigcpp20_DETECT= ${libsigcpp20${LINUX_DIST_SUFFIX:S/-/_/}_FILE}
libsigcpp20_PORT= ${PORTSDIR}/devel/linux${LINUX_DIST_SUFFIX}-libsigc++20
# no libssh2_FILE
libssh2_f8_FILE= ${LINUXBASE}/usr/lib/libssh2.so.1
libssh2_f10_FILE= ${LINUXBASE}/usr/lib/libssh2.so.1
libssh2_DETECT= ${libssh2${LINUX_DIST_SUFFIX:S/-/_/}_FILE}
libssh2_PORT= ${PORTSDIR}/security/linux${LINUX_DIST_SUFFIX}-libssh2
libssh2_DEPENDS= openssl
libtheora_FILE= ${LINUXBASE}/usr/lib/libtheora.so.0.1.0
libtheora_f8_FILE= ${LINUXBASE}/usr/lib/libtheora.so.0.3.2
libtheora_f10_FILE= ${LINUXBASE}/usr/lib/libtheora.so.0.3.3
libtheora_DETECT= ${libtheora${LINUX_DIST_SUFFIX:S/-/_/}_FILE}
libtheora_PORT= ${PORTSDIR}/multimedia/linux${LINUX_DIST_SUFFIX}-libtheora
libvorbis_FILE= ${LINUXBASE}/usr/lib/libvorbis.so.0.3.0
libvorbis_f8_FILE= ${LINUXBASE}/usr/lib/libvorbis.so.0.4.0
libvorbis_f10_FILE= ${LINUXBASE}/usr/lib/libvorbis.so.0.4.0
libvorbis_DETECT= ${libvorbis${LINUX_DIST_SUFFIX:S/-/_/}_FILE}
libvorbis_PORT= ${PORTSDIR}/audio/linux${LINUX_DIST_SUFFIX}-libvorbis
libvorbis_DEPENDS= libogg
libxml_FILE= ${LINUXBASE}/usr/lib/libxml.so.1.8.17
libxml_f8_FILE= ${libxml_FILE}
libxml_f10_FILE= ${LINUXBASE}/usr/lib/libxml.so.1.8.17
libxml_DETECT= ${libxml${LINUX_DIST_SUFFIX:S/-/_/}_FILE}
libxml_PORT= ${PORTSDIR}/textproc/linux${LINUX_DIST_SUFFIX}-libxml
libxml2_FILE= ${LINUXBASE}/usr/lib/libxml2.so.2.6.19
libxml2_f8_FILE= ${LINUXBASE}/usr/lib/libxml2.so.2.7.2
libxml2_f10_FILE= ${LINUXBASE}/usr/lib/libxml2.so.2.7.3
libxml2_DETECT= ${libxml2${LINUX_DIST_SUFFIX:S/-/_/}_FILE}
libxml2_PORT= ${PORTSDIR}/textproc/linux${LINUX_DIST_SUFFIX}-libxml2
mikmod_FILE= ${LINUXBASE}/usr/lib/libmikmod.so.2.0.4
mikmod_f8_FILE= ${mikmod_FILE}
mikmod_f10_FILE= ${LINUXBASE}/usr/lib/libmikmod.so.3.0.0
mikmod_DETECT= ${mikmod${LINUX_DIST_SUFFIX:S/-/_/}_FILE}
mikmod_PORT= ${PORTSDIR}/audio/linux${LINUX_DIST_SUFFIX}-mikmod
naslibs_FILE= ${LINUXBASE}/usr/lib/libaudio.so.2
naslibs_f8_FILE= ${naslibs_FILE}
naslibs_f10_FILE= ${naslibs_FILE}
naslibs_DETECT= ${naslibs${LINUX_DIST_SUFFIX:S/-/_/}_FILE}
naslibs_PORT= ${PORTSDIR}/audio/linux${LINUX_DIST_SUFFIX}-nas-libs
naslibs_DEPENDS= xorglibs
# no openldap_FILE, openldap_f8_FILE
openldap_f10_FILE= ${LINUXBASE}/usr/lib/libldap-2.4.so.2.2.0
openldap_DETECT= ${openldap${LINUX_DIST_SUFFIX:S/-/_/}_FILE}
openldap_PORT= ${PORTSDIR}/net/linux${LINUX_DIST_SUFFIX}-openldap
openmotif_FILE= ${LINUXBASE}/usr/X11R6/lib/libXm.so.3.0.3
openmotif_f8_FILE= ${LINUXBASE}/usr/lib/libXm.so.4.0.2
openmotif_f10_FILE= ${LINUXBASE}/usr/X11R6/lib/libXm.so.3.0.3
openmotif_DETECT= ${openmotif${LINUX_DIST_SUFFIX:S/-/_/}_FILE}
openmotif_PORT= ${PORTSDIR}/x11-toolkits/linux${LINUX_DIST_SUFFIX}-openmotif
openmotif_DEPENDS= xorglibs
# no nspr_FILE
nspr_f8_FILE= ${LINUXBASE}/usr/lib/libnspr4.so
nspr_f10_FILE= ${LINUXBASE}/lib/libnspr4.so
nspr_DETECT= ${nspr${LINUX_DIST_SUFFIX:S/-/_/}_FILE}
nspr_PORT= ${PORTSDIR}/devel/linux${LINUX_DIST_SUFFIX}-nspr
# no nss_FILE
nss_f8_FILE= ${LINUXBASE}/usr/lib/libnss3.so
nss_f10_FILE= ${LINUXBASE}/lib/libnss3.so
nss_DETECT= ${nss${LINUX_DIST_SUFFIX:S/-/_/}_FILE}
nss_PORT= ${PORTSDIR}/security/linux${LINUX_DIST_SUFFIX}-nss
nss_DEPENDS= nspr sqlite3
openal_FILE= ${LINUXBASE}/usr/lib/libopenal.so.0.0.0
openal_f8_FILE= ${openal_FILE}
openal_f10_FILE= ${LINUXBASE}/usr/lib/libopenal.so.0.0.0
openal_DETECT= ${openal${LINUX_DIST_SUFFIX:S/-/_/}_FILE}
openal_PORT= ${PORTSDIR}/audio/linux${LINUX_DIST_SUFFIX}-openal
openal_DEPENDS= alsalib arts esound libaudiofile libvorbis sdl12
# no openal-soft_FILE, openal-soft_f8_FILE
openal-soft_f10_FILE= ${LINUXBASE}/usr/lib/libopenal.so.1.8.466
openal-soft_DETECT= ${openal-soft${LINUX_DIST_SUFFIX:S/-/_/}_FILE}
openal-soft_PORT= ${PORTSDIR}/audio/linux${LINUX_DIST_SUFFIX}-openal-soft
openal-soft_DEPENDS= alsalib arts esound
openssl_FILE= ${LINUXBASE}/lib/libssl.so.0.9.7f
openssl_f8_FILE= ${LINUXBASE}/lib/libssl.so.0.9.8b
openssl_f10_FILE= ${LINUXBASE}/lib/libssl.so.0.9.8g
openssl_DETECT= ${openssl${LINUX_DIST_SUFFIX:S/-/_/}_FILE}
openssl_PORT= ${PORTSDIR}/security/linux${LINUX_DIST_SUFFIX}-openssl
pango_FILE= ${LINUXBASE}/usr/lib/libpango-1.0.so.0.1001.1
pango_f8_FILE= ${LINUXBASE}/usr/lib/libpango-1.0.so.0.1800.4
pango_f10_FILE= ${LINUXBASE}/usr/lib/libpango-1.0.so.0.2203.0
pango_DETECT= ${pango${LINUX_DIST_SUFFIX:S/-/_/}_FILE}
pango_PORT= ${PORTSDIR}/x11-toolkits/linux${LINUX_DIST_SUFFIX}-pango
pango_DEPENDS= cairo expat fontconfig xorglibs
png_FILE= ${LINUXBASE}/usr/lib/libpng.so.3.1.2.8
png_f8_FILE= ${LINUXBASE}/usr/lib/libpng.so.3.22.0
png_f10_FILE= ${LINUXBASE}/usr/lib/libpng.so.3.37.0
png_DETECT= ${png${LINUX_DIST_SUFFIX:S/-/_/}_FILE}
png_PORT= ${PORTSDIR}/graphics/linux${LINUX_DIST_SUFFIX}-png
png10_FILE= ${LINUXBASE}/usr/lib/libpng.so.2.1.0.18
png10_f8_FILE= ${LINUXBASE}/usr/lib/libpng.so.2.1.0.30
png10_f10_FILE= ${LINUXBASE}/usr/lib/libpng.so.2.1.0.43
png10_DETECT= ${png10${LINUX_DIST_SUFFIX:S/-/_/}_FILE}
png10_PORT= ${PORTSDIR}/graphics/linux${LINUX_DIST_SUFFIX}-png10
qt33_FILE= ${LINUXBASE}/usr/lib/qt-3.3/lib/libqt-mt.so.3.3.4
qt33_f8_FILE= ${LINUXBASE}/usr/lib/qt-3.3/lib/libqt-mt.so.3.3.8
qt33_f10_FILE= ${LINUXBASE}/usr/lib/qt-3.3/lib/libqt-mt.so.3.3.8
qt33_DETECT= ${qt33${LINUX_DIST_SUFFIX:S/-/_/}_FILE}
qt33_PORT= ${PORTSDIR}/x11-toolkits/linux${LINUX_DIST_SUFFIX}-qt33
qt33_DEPENDS= fontconfig libmng png
sdl12_FILE= ${LINUXBASE}/usr/lib/libSDL-1.2.so.0.7.3
sdl12_f8_FILE= ${LINUXBASE}/usr/lib/libSDL-1.2.so.0.11.2
sdl12_f10_FILE= ${LINUXBASE}/usr/lib/libSDL-1.2.so.0.11.2
sdl12_DETECT= ${sdl12${LINUX_DIST_SUFFIX:S/-/_/}_FILE}
sdl12_PORT= ${PORTSDIR}/devel/linux${LINUX_DIST_SUFFIX}-sdl12
sdl12_DEPENDS= xorglibs
sdlimage_FILE= ${LINUXBASE}/usr/lib/libSDL_image-1.2.so.0.1.4
sdlimage_f8_FILE= ${LINUXBASE}/usr/lib/libSDL_image-1.2.so.0.1.5
sdlimage_f10_FILE= ${LINUXBASE}/usr/lib/libSDL_image-1.2.so.0.1.5
sdlimage_DETECT= ${sdlimage${LINUX_DIST_SUFFIX:S/-/_/}_FILE}
sdlimage_PORT= ${PORTSDIR}/graphics/linux${LINUX_DIST_SUFFIX}-sdl_image
. if ${LINUX_DIST_SUFFIX} == ""
sdlimage_DEPENDS= sdl12
. else
sdlimage_DEPENDS= jpeg png sdl12 tiff
. endif
sdlmixer_FILE= ${LINUXBASE}/usr/lib/libSDL_mixer-1.2.so.0.2.4
sdlmixer_f8_FILE= ${LINUXBASE}/usr/lib/libSDL_mixer-1.2.so.0.2.6
sdlmixer_f10_FILE= ${LINUXBASE}/usr/lib/libSDL_mixer-1.2.so.0.2.6
sdlmixer_DETECT= ${sdlmixer${LINUX_DIST_SUFFIX:S/-/_/}_FILE}
sdlmixer_PORT= ${PORTSDIR}/audio/linux${LINUX_DIST_SUFFIX}-sdl_mixer
sdlmixer_DEPENDS= sdl12
scimgtk_FILE= ${LINUXBASE}/usr/lib/gtk-2.0/immodules/im-scim.so
scimgtk_f8_FILE= ${scimgtk_FILE}
scimgtk_f10_FILE= ${LINUXBASE}/usr/lib/gtk-2.0/immodules/im-scim.so
scimgtk_DETECT= ${scimgtk${LINUX_DIST_SUFFIX:S/-/_/}_FILE}
scimgtk_PORT= ${PORTSDIR}/textproc/linux${LINUX_DIST_SUFFIX}-scim-gtk
scimgtk_DEPENDS= gtk2 scimlibs
scimlibs_FILE= ${LINUXBASE}/usr/lib/libscim-1.0.so.8
scimlibs_f8_FILE= ${LINUXBASE}/usr/lib/libscim-1.0.so.8
scimlibs_f10_FILE= ${LINUXBASE}/usr/lib/libscim-1.0.so.8
scimlibs_DETECT= ${scimlibs${LINUX_DIST_SUFFIX:S/-/_/}_FILE}
scimlibs_PORT= ${PORTSDIR}/textproc/linux${LINUX_DIST_SUFFIX}-scim-libs
scimlibs_DEPENDS= gtk2
# no sqlite3_FILE
sqlite3_f8_FILE= ${LINUXBASE}/usr/lib/libsqlite3.so.0
sqlite3_f10_FILE= ${LINUXBASE}/usr/lib/libsqlite3.so.0
sqlite3_DETECT= ${sqlite3${LINUX_DIST_SUFFIX:S/-/_/}_FILE}
sqlite3_PORT= ${PORTSDIR}/databases/linux${LINUX_DIST_SUFFIX}-sqlite3
# no tcl84_FILE
tcl84_f8_FILE= ${LINUXBASE}/usr/lib/libtcl8.4.so
# XXX: tcl85!!!
tcl84_f10_FILE= ${LINUXBASE}/usr/lib/libtcl8.5.so
tcl84_DETECT= ${tcl84${LINUX_DIST_SUFFIX:S/-/_/}_FILE}
. if ${LINUX_DIST_SUFFIX} == "-f8"
tcl84_PORT= ${PORTSDIR}/lang/linux${LINUX_DIST_SUFFIX}-tcl84
. else
tcl84_PORT= ${PORTSDIR}/lang/linux${LINUX_DIST_SUFFIX}-tcl85
. endif
tiff_FILE= ${LINUXBASE}/usr/lib/libtiff.so.3.7.1
tiff_f8_FILE= ${LINUXBASE}/usr/lib/libtiff.so.3.8.2
tiff_f10_FILE= ${LINUXBASE}/usr/lib/libtiff.so.3.8.2
tiff_DETECT= ${tiff${LINUX_DIST_SUFFIX:S/-/_/}_FILE}
tiff_PORT= ${PORTSDIR}/graphics/linux${LINUX_DIST_SUFFIX}-tiff
tiff_DEPENDS= jpeg
# no tk84_FILE
tk84_f8_FILE= ${LINUXBASE}/usr/lib/libtk8.4.so
# XXX: tk85!!!
tk84_f10_FILE= ${LINUXBASE}/usr/lib/libtk8.5.so
tk84_DETECT= ${tk84${LINUX_DIST_SUFFIX:S/-/_/}_FILE}
. if ${LINUX_DIST_SUFFIX} == "-f8"
tk84_PORT= ${PORTSDIR}/x11-toolkits/linux${LINUX_DIST_SUFFIX}-tk84
. else
tk84_PORT= ${PORTSDIR}/x11-toolkits/linux${LINUX_DIST_SUFFIX}-tk85
. endif
tk84_DEPENDS= xorglibs
xorglibs_FILE= ${LINUXBASE}/usr/X11R6/lib/libXrandr.so.2.0
xorglibs_f8_FILE= ${LINUXBASE}/usr/lib/libXrandr.so.2.1.0
xorglibs_f10_FILE= ${LINUXBASE}/usr/lib/libXrandr.so.2.1.0
xorglibs_DETECT= ${xorglibs${LINUX_DIST_SUFFIX:S/-/_/}_FILE}
xorglibs_PORT= ${PORTSDIR}/x11/linux${LINUX_DIST_SUFFIX}-xorg-libs
xorglibs_DEPENDS= fontconfig
ucl_FILE= ${LINUXBASE}/usr/lib/libucl.so.1
ucl_f8_FILE= ${ucl_FILE}
ucl_f10_FILE= ${LINUXBASE}/usr/lib/libucl.so.1
ucl_DETECT= ${ucl${LINUX_DIST_SUFFIX:S/-/_/}_FILE}
ucl_PORT= ${PORTSDIR}/archivers/linux${LINUX_DIST_SUFFIX}-ucl
ungif_FILE= ${LINUXBASE}/usr/lib/libgif.so.4.1.3
ungif_f8_FILE= ${ungif_FILE}
ungif_f10_FILE= ${LINUXBASE}/usr/lib/libgif.so.4.1.3
ungif_DETECT= ${ungif${LINUX_DIST_SUFFIX:S/-/_/}_FILE}
ungif_PORT= ${PORTSDIR}/graphics/linux${LINUX_DIST_SUFFIX}-ungif
upx_FILE= ${LINUXBASE}/usr/bin/upx
upx_f8_FILE= ${upx_FILE}
upx_f10_FILE= ${LINUXBASE}/usr/bin/upx
upx_DETECT= ${upx${LINUX_DIST_SUFFIX:S/-/_/}_FILE}
upx_PORT= ${PORTSDIR}/archivers/linux${LINUX_DIST_SUFFIX}-upx
upx_DEPENDS= ucl
# use the same wabauth for now
webauth_FILE= ${LOCALBASE}/bin/linux-nvu
webauth_f8_FILE= ${webauth_FILE}
webauth_f10_FILE= ${LOCALBASE}/bin/linux-nvu
webauth_DETECT= ${webauth${LINUX_DIST_SUFFIX:S/-/_/}_FILE}
webauth_PORT= ${PORTSDIR}/www/linux-${WEB_AUTH}
webauth_DEPENDS= gtk2 atk pango fontconfig
# End component definition section
# Let's check if components from USE_LINUX_APPS exist at _LINUX_APPS_ALL
. for component in ${USE_LINUX_APPS}
. if ${_LINUX_APPS_ALL:M${component}}==""
IGNORE= bsd.linux-apps.mk test failed: Invalid component USE_LINUX_APPS=${component}
. endif
. endfor
# Let's check if components from USE_LINUX_APPS have corresponding <app>_DETECT
# i.e. if a corresponding <app>_FILE defined for given LINUX_DIST_SUFFIX
. for component in ${USE_LINUX_APPS}
. if ${${component}_DETECT}==""
. if defined(${component}${LINUX_DIST_SUFFIX:S/-/_/}_FILE)
IGNORE= bsd.linux-apps.mk test failed: The component ${component} is empty for LINUX_DIST_SUFFIX=${LINUX_DIST_SUFFIX} (the corresponding variable ${component}${LINUX_DIST_SUFFIX:S/-/_/}_FILE is empty)
. else
IGNORE= bsd.linux-apps.mk test failed: The component ${component} is not defined for LINUX_DIST_SUFFIX=${LINUX_DIST_SUFFIX} (the corresponding variable ${component}${LINUX_DIST_SUFFIX:S/-/_/}_FILE is not defined). This usually means that the current port should be used with non default linux base and/or infrastructure port(s)
. endif
. endif
. endfor
# Recursively expand all dependencies for each app at _LINUX_APPS_ALL
. for component in ${_LINUX_APPS_ALL}
. for subcomponent in ${${component}_DEPENDS}
${component}_DEPENDS+=${${subcomponent}_DEPENDS}
. endfor
. endfor
# Use just expanded dependencies (<app>_DEPENDS) to expand USE_LINUX_APPS
. for component in ${USE_LINUX_APPS}
_USE_LINUX_APPS+=${${component}_DEPENDS} ${component}
. endfor
# Set dependencies for _USE_LINUX_APPS which exists at _LINUX_APPS_ALL
. for component in ${_LINUX_APPS_ALL}
. if ${_USE_LINUX_APPS:M${component}}!=""
. if defined(${component}${LINUX_DIST_SUFFIX:S/-/_/}_FILE)
RUN_DEPENDS+= ${${component}_DETECT}:${${component}_PORT}
. endif
. endif
. endfor
.endif
|