View | Details | Raw Unified | Return to bug 74107
Collapse All | Expand All

(-)Makefile (-458 / +21 lines)
Lines 7-66 Link Here
7
7
8
PORTNAME=	mplayer
8
PORTNAME=	mplayer
9
PORTVERSION=	1.1.0
9
PORTVERSION=	1.1.0
10
PORTREVISION=	2
10
PORTREVISION=	3
11
CATEGORIES=	multimedia
11
CATEGORIES=	multimedia
12
MASTER_SITES=	http://www.mplayerhq.hu/MPlayer/Skin/ \
12
MASTER_SITES=	http://www.mplayerhq.hu/MPlayer/Skin/ \
13
		http://ftp.lug.udel.edu/MPlayer/Skin/ \
13
		http://ftp.lug.udel.edu/MPlayer/Skin/ \
14
		ftp://ftp.mplayerhq.hu/MPlayer/Skin/ \
14
		ftp://ftp.mplayerhq.hu/MPlayer/Skin/ \
15
		ftp://ftp.lug.udel.edu/MPlayer/Skin/
15
		ftp://ftp.lug.udel.edu/MPlayer/Skin/
16
PKGNAMESUFFIX=	-skins
16
PKGNAMESUFFIX=	-skins
17
DISTFILES=	\
17
DISTFILES=	# filled in later after options
18
		${ABYSS_FILE} \
19
		${ALIENMIND_FILE} \
20
		${AVIFILE_FILE} \
21
		${DEFAULT_FILE} \
22
		${DEFAULT_SMALL_FILE} \
23
		${BLUEHEART_FILE} \
24
		${CANARY_FILE} \
25
		${CORELIAN_FILE} \
26
		${CORNERMP_FILE} \
27
		${CORNERMP_AQUA_FILE} \
28
		${CYRUS_FILE} \
29
		${DISAPPEARER_FILE} \
30
		${DUSHKU_FILE} \
31
		${DVDPLAYER_FILE} \
32
		${GNOME_FILE} \
33
		${HANDHELD_FILE} \
34
		${HAYRAPHON_FILE} \
35
		${HWSW_FILE} \
36
		${INDUSTRIAL_FILE} \
37
		${JIMPLAYER_FILE} \
38
		${KDE_FILE} \
39
		${KRYSTAL_FILE} \
40
		${MENTALIC_FILE} \
41
		${MIDNIGHTLOVE_FILE} \
42
		${MINI_FILE} \
43
		${NEUTRON_FILE} \
44
		${NEWAGE_FILE} \
45
		${ORANGE_FILE} \
46
		${OSXBRUSHED_FILE} \
47
		${OSXMOD_FILE} \
48
		${PHONY_FILE} \
49
		${PLASTIC_FILE} \
50
		${POWERPLAYER_FILE} \
51
		${PROTON_FILE} \
52
		${QPLAYER_FILE} \
53
		${SLIM_FILE} \
54
		${SOFTGRIP_FILE} \
55
		${TERMINATOR3_FILE} \
56
		${TRIUM_FILE} \
57
		${TVISOR_FILE} \
58
		${ULTRAFINA_FILE} \
59
		${WMP6_FILE} \
60
		${XANIM_FILE} \
61
		${XFCE4_FILE} \
62
		${XINE_LCD_FILE} \
63
		${XMMPLAYER_FILE}
64
18
65
DIST_SUBDIR=	mplayer
19
DIST_SUBDIR=	mplayer
66
20
Lines 180-605 Link Here
180
WITH_SKIN_ALL=yes
134
WITH_SKIN_ALL=yes
181
.endif	# BATCH
135
.endif	# BATCH
182
136
137
ALLSKINS=       ABYSS ALIENMIND AVIFILE BLUEHEART CANARY CORELIAN \
138
		CORNERMP CORNERMP_AQUA CYRUS DISAPPEARER DUSHKU \
139
		DVDPLAYER GNOME HANDHELD HAYRAPHON HWSW INDUSTRIAL \
140
		JIMPLAYER KDE KRYSTAL MENTALIC MIDNIGHTLOVE MINI \
141
		NEUTRON NEWAGE ORANGE OSXBRUSHED OSXMOD PHONY PLASTIC \
142
		POWERPLAYER PROTON QPLAYER SLIM SOFTGRIP TERMINATOR3 \
143
		TRIUM TVISOR ULTRAFINA WINDOWSMEDIAPLAYER6 XANIM \
144
		XFCE4 XINE_LCD XMMPLAYER \
145
		DEFAULT DEFAULT_SMALL
146
183
# Build and install all skins (rather expensive)
147
# Build and install all skins (rather expensive)
184
.if defined(WITH_SKIN_ALL)
148
.if defined(WITH_SKIN_ALL)
185
WITH_SKIN_DEFAULT=yes
149
.for f in ${ALLSKINS}
186
WITH_SKIN_DEFAULT_SMALL=yes
150
WITH_SKIN_${f}=	yes
187
WITH_SKIN_ABYSS=yes
151
.endfor
188
WITH_SKIN_ALIENMIND=yes
189
WITH_SKIN_AVIFILE=yes
190
WITH_SKIN_BLUEHEART=yes
191
WITH_SKIN_CANARY=yes
192
WITH_SKIN_CORELIAN=yes
193
WITH_SKIN_CORNERMP=yes
194
WITH_SKIN_CORNERMP_AQUA=yes
195
WITH_SKIN_CYRUS=yes
196
WITH_SKIN_DISAPPEARER=yes
197
WITH_SKIN_DUSHKU=yes
198
WITH_SKIN_DVDPLAYER=yes
199
WITH_SKIN_GNOME=yes
200
WITH_SKIN_HANDHELD=yes
201
WITH_SKIN_HAYRAPHON=yes
202
WITH_SKIN_HWSW=yes
203
WITH_SKIN_INDUSTRIAL=yes
204
WITH_SKIN_JIMPLAYER=yes
205
WITH_SKIN_KDE=yes
206
WITH_SKIN_KRYSTAL=yes
207
WITH_SKIN_MENTALIC=yes
208
WITH_SKIN_MIDNIGHTLOVE=yes
209
WITH_SKIN_MINI=yes
210
WITH_SKIN_NEUTRON=yes
211
WITH_SKIN_NEWAGE=yes
212
WITH_SKIN_ORANGE=yes
213
WITH_SKIN_OSXBRUSHED=yes
214
WITH_SKIN_OSXMOD=yes
215
WITH_SKIN_PHONY=yes
216
WITH_SKIN_PLASTIC=yes
217
WITH_SKIN_POWERPLAYER=yes
218
WITH_SKIN_PROTON=yes
219
WITH_SKIN_QPLAYER=yes
220
WITH_SKIN_SLIM=yes
221
WITH_SKIN_SOFTGRIP=yes
222
WITH_SKIN_TERMINATOR3=yes
223
WITH_SKIN_TRIUM=yes
224
WITH_SKIN_TVISOR=yes
225
WITH_SKIN_ULTRAFINA=yes
226
WITH_SKIN_WINDOWSMEDIAPLAYER6=yes
227
WITH_SKIN_XANIM=yes
228
WITH_SKIN_XFCE4=yes
229
WITH_SKIN_XINE_LCD=yes
230
WITH_SKIN_XMMPLAYER=yes
231
.endif # WITH_SKIN_ALL
152
.endif # WITH_SKIN_ALL
232
153
233
#
154
#
234
# files to extract
155
# files to extract
235
#
156
#
236
.ifdef(WITH_SKIN_DEFAULT)
157
.for f in ${ALLSKINS}
237
EXTRACT_ONLY+=	${DEFAULT_FILE}
158
.ifdef(WITH_SKIN_${f})
238
PLIST_SUB+=	DEFAULT=""
159
PLIST_SUB+=	${f}=""
239
HAVE_SKIN=	true
240
.else
241
PLIST_SUB+=	DEFAULT="@comment "
242
.endif
243
244
.ifdef(WITH_SKIN_DEFAULT_SMALL)
245
EXTRACT_ONLY+=	${DEFAULT_SMALL_FILE}
246
PLIST_SUB+=	DEFAULT_SMALL=""
247
HAVE_SKIN=	true
248
.else
249
PLIST_SUB+=	DEFAULT_SMALL="@comment "
250
.endif
251
252
.ifdef(WITH_SKIN_ABYSS)
253
EXTRACT_ONLY+=	${ABYSS_FILE}
254
PLIST_SUB+=	ABYSS=""
255
HAVE_SKIN=	true
256
.else
257
PLIST_SUB+=	ABYSS="@comment "
258
.endif
259
260
.ifdef(WITH_SKIN_ALIENMIND)
261
EXTRACT_ONLY+=	${ALIENMIND_FILE}
262
PLIST_SUB+=	ALIENMIND=""
263
HAVE_SKIN=	true
264
.else
265
PLIST_SUB+=	ALIENMIND="@comment "
266
.endif
267
268
.ifdef(WITH_SKIN_AVIFILE)
269
EXTRACT_ONLY+=	${AVIFILE_FILE}
270
PLIST_SUB+=	AVIFILE=""
271
HAVE_SKIN=	true
272
.else
273
PLIST_SUB+=	AVIFILE="@comment "
274
.endif
275
276
.ifdef(WITH_SKIN_BLUEHEART)
277
EXTRACT_ONLY+=	${BLUEHEART_FILE}
278
PLIST_SUB+=	BLUEHEART=""
279
HAVE_SKIN=	true
280
.else
281
PLIST_SUB+=	BLUEHEART="@comment "
282
.endif
283
284
.ifdef(WITH_SKIN_CANARY)
285
EXTRACT_ONLY+=	${CANARY_FILE}
286
PLIST_SUB+=	CANARY=""
287
HAVE_SKIN=	true
288
.else
289
PLIST_SUB+=	CANARY="@comment "
290
.endif
291
292
.ifdef(WITH_SKIN_CORELIAN)
293
EXTRACT_ONLY+=	${CORELIAN_FILE}
294
PLIST_SUB+=	CORELIAN=""
295
HAVE_SKIN=	true
296
.else
297
PLIST_SUB+=	CORELIAN="@comment "
298
.endif
299
300
.ifdef(WITH_SKIN_CORNERMP)
301
EXTRACT_ONLY+=	${CORNERMP_FILE}
302
PLIST_SUB+=	CORNERMP=""
303
HAVE_SKIN=	true
304
.else
305
PLIST_SUB+=	CORNERMP="@comment "
306
.endif
307
308
.ifdef(WITH_SKIN_CORNERMP_AQUA)
309
EXTRACT_ONLY+=	${CORNERMP_AQUA_FILE}
310
PLIST_SUB+=	CORNERMP_AQUA=""
311
HAVE_SKIN=	true
312
.else
313
PLIST_SUB+=	CORNERMP_AQUA="@comment "
314
.endif
315
316
.ifdef(WITH_SKIN_CYRUS)
317
EXTRACT_ONLY+=	${CYRUS_FILE}
318
PLIST_SUB+=	CYRUS=""
319
HAVE_SKIN=	true
320
.else
321
PLIST_SUB+=	CYRUS="@comment "
322
.endif
323
324
.ifdef(WITH_SKIN_DISAPPEARER)
325
EXTRACT_ONLY+=	${DISAPPEARER_FILE}
326
PLIST_SUB+=	DISAPPEARER=""
327
HAVE_SKIN=	true
328
.else
329
PLIST_SUB+=	DISAPPEARER="@comment "
330
.endif
331
332
.ifdef(WITH_SKIN_DUSHKU)
333
EXTRACT_ONLY+=	${DUSHKU_FILE}
334
PLIST_SUB+=	DUSHKU=""
335
HAVE_SKIN=	true
336
.else
337
PLIST_SUB+=	DUSHKU="@comment "
338
.endif
339
340
.ifdef(WITH_SKIN_DVDPLAYER)
341
EXTRACT_ONLY+=	${DVDPLAYER_FILE}
342
PLIST_SUB+=	DVDPLAYER=""
343
HAVE_SKIN=	true
344
.else
345
PLIST_SUB+=	DVDPLAYER="@comment "
346
.endif
347
348
.ifdef(WITH_SKIN_GNOME)
349
EXTRACT_ONLY+=	${GNOME_FILE}
350
PLIST_SUB+=	GNOME=""
351
HAVE_SKIN=	true
352
.else
353
PLIST_SUB+=	GNOME="@comment "
354
.endif
355
356
.ifdef(WITH_SKIN_HANDHELD)
357
EXTRACT_ONLY+=	${HANDHELD_FILE}
358
PLIST_SUB+=	HANDHELD=""
359
HAVE_SKIN=	true
360
.else
361
PLIST_SUB+=	HANDHELD="@comment "
362
.endif
363
364
.ifdef(WITH_SKIN_HAYRAPHON)
365
EXTRACT_ONLY+=	${HAYRAPHON_FILE}
366
PLIST_SUB+=	HAYRAPHON=""
367
HAVE_SKIN=	true
368
.else
369
PLIST_SUB+=	HAYRAPHON="@comment "
370
.endif
371
372
.ifdef(WITH_SKIN_HWSW)
373
EXTRACT_ONLY+=	${HWSW_FILE}
374
PLIST_SUB+=	HWSW=""
375
HAVE_SKIN=	true
376
.else
377
PLIST_SUB+=	HWSW="@comment "
378
.endif
379
380
.ifdef(WITH_SKIN_INDUSTRIAL)
381
EXTRACT_ONLY+=	${INDUSTRIAL_FILE}
382
PLIST_SUB+=	INDUSTRIAL=""
383
HAVE_SKIN=	true
384
.else
385
PLIST_SUB+=	INDUSTRIAL="@comment "
386
.endif
387
388
.ifdef(WITH_SKIN_JIMPLAYER)
389
EXTRACT_ONLY+=	${JIMPLAYER_FILE}
390
PLIST_SUB+=	JIMPLAYER=""
391
HAVE_SKIN=	true
392
.else
393
PLIST_SUB+=	JIMPLAYER="@comment "
394
.endif
395
396
.ifdef(WITH_SKIN_KDE)
397
EXTRACT_ONLY+=	${KDE_FILE}
398
PLIST_SUB+=	KDE=""
399
HAVE_SKIN=	true
400
.else
401
PLIST_SUB+=	KDE="@comment "
402
.endif
403
404
.ifdef(WITH_SKIN_KRYSTAL)
405
EXTRACT_ONLY+=	${KRYSTAL_FILE}
406
PLIST_SUB+=	KRYSTAL=""
407
HAVE_SKIN=	true
408
.else
409
PLIST_SUB+=	KRYSTAL="@comment "
410
.endif
411
412
.ifdef(WITH_SKIN_MENTALIC)
413
EXTRACT_ONLY+=	${MENTALIC_FILE}
414
PLIST_SUB+=	MENTALIC=""
415
HAVE_SKIN=	true
416
.else
417
PLIST_SUB+=	MENTALIC="@comment "
418
.endif
419
420
.ifdef(WITH_SKIN_MIDNIGHTLOVE)
421
EXTRACT_ONLY+=	${MIDNIGHTLOVE_FILE}
422
PLIST_SUB+=	MIDNIGHTLOVE=""
423
HAVE_SKIN=	true
424
.else
425
PLIST_SUB+=	MIDNIGHTLOVE="@comment "
426
.endif
427
428
.ifdef(WITH_SKIN_MINI)
429
EXTRACT_ONLY+=	${MINI_FILE}
430
PLIST_SUB+=	MINI=""
431
HAVE_SKIN=	true
432
.else
433
PLIST_SUB+=	MINI="@comment "
434
.endif
435
436
.ifdef(WITH_SKIN_NEUTRON)
437
EXTRACT_ONLY+=	${NEUTRON_FILE}
438
PLIST_SUB+=	NEUTRON=""
439
HAVE_SKIN=	true
440
.else
441
PLIST_SUB+=	NEUTRON="@comment "
442
.endif
443
444
.ifdef(WITH_SKIN_NEWAGE)
445
EXTRACT_ONLY+=	${NEWAGE_FILE}
446
PLIST_SUB+=	NEWAGE=""
447
HAVE_SKIN=	true
448
.else
449
PLIST_SUB+=	NEWAGE="@comment "
450
.endif
451
452
.ifdef(WITH_SKIN_ORANGE)
453
EXTRACT_ONLY+=	${ORANGE_FILE}
454
PLIST_SUB+=	ORANGE=""
455
HAVE_SKIN=	true
456
.else
457
PLIST_SUB+=	ORANGE="@comment "
458
.endif
459
460
.ifdef(WITH_SKIN_OSXBRUSHED)
461
EXTRACT_ONLY+=	${OSXBRUSHED_FILE}
462
PLIST_SUB+=	OSXBRUSHED=""
463
HAVE_SKIN=	true
464
.else
465
PLIST_SUB+=	OSXBRUSHED="@comment "
466
.endif
467
468
.ifdef(WITH_SKIN_OSXMOD)
469
EXTRACT_ONLY+=	${OSXMOD_FILE}
470
PLIST_SUB+=	OSXMOD=""
471
HAVE_SKIN=	true
472
.else
473
PLIST_SUB+=	OSXMOD="@comment "
474
.endif
475
476
.ifdef(WITH_SKIN_PHONY)
477
EXTRACT_ONLY+=	${PHONY_FILE}
478
PLIST_SUB+=	PHONY=""
479
HAVE_SKIN=	true
480
.else
481
PLIST_SUB+=	PHONY="@comment "
482
.endif
483
484
.ifdef(WITH_SKIN_PLASTIC)
485
EXTRACT_ONLY+=	${PLASTIC_FILE}
486
PLIST_SUB+=	PLASTIC=""
487
HAVE_SKIN=	true
488
.else
489
PLIST_SUB+=	PLASTIC="@comment "
490
.endif
491
492
.ifdef(WITH_SKIN_POWERPLAYER)
493
EXTRACT_ONLY+=	${POWERPLAYER_FILE}
494
PLIST_SUB+=	POWERPLAYER=""
495
HAVE_SKIN=	true
496
.else
497
PLIST_SUB+=	POWERPLAYER="@comment "
498
.endif
499
500
.ifdef(WITH_SKIN_PROTON)
501
EXTRACT_ONLY+=	${PROTON_FILE}
502
PLIST_SUB+=	PROTON=""
503
HAVE_SKIN=	true
504
.else
505
PLIST_SUB+=	PROTON="@comment "
506
.endif
507
508
.ifdef(WITH_SKIN_QPLAYER)
509
EXTRACT_ONLY+=	${QPLAYER_FILE}
510
PLIST_SUB+=	QPLAYER=""
511
HAVE_SKIN=	true
512
.else
513
PLIST_SUB+=	QPLAYER="@comment "
514
.endif
515
516
.ifdef(WITH_SKIN_SLIM)
517
EXTRACT_ONLY+=	${SLIM_FILE}
518
PLIST_SUB+=	SLIM=""
519
HAVE_SKIN=	true
520
.else
521
PLIST_SUB+=	SLIM="@comment "
522
.endif
523
524
.ifdef(WITH_SKIN_SOFTGRIP)
525
EXTRACT_ONLY+=	${SOFTGRIP_FILE}
526
PLIST_SUB+=	SOFTGRIP=""
527
HAVE_SKIN=	true
528
.else
529
PLIST_SUB+=	SOFTGRIP="@comment "
530
.endif
531
532
.ifdef(WITH_SKIN_TERMINATOR3)
533
EXTRACT_ONLY+=	${TERMINATOR3_FILE}
534
PLIST_SUB+=	TERMINATOR3=""
535
HAVE_SKIN=	true
536
.else
537
PLIST_SUB+=	TERMINATOR3="@comment "
538
.endif
539
540
.ifdef(WITH_SKIN_TRIUM)
541
EXTRACT_ONLY+=	${TRIUM_FILE}
542
PLIST_SUB+=	TRIUM=""
543
HAVE_SKIN=	true
544
.else
545
PLIST_SUB+=	TRIUM="@comment "
546
.endif
547
548
.ifdef(WITH_SKIN_TVISOR)
549
EXTRACT_ONLY+=	${TVISOR_FILE}
550
PLIST_SUB+=	TVISOR=""
551
HAVE_SKIN=	true
552
.else
553
PLIST_SUB+=	TVISOR="@comment "
554
.endif
555
556
.ifdef(WITH_SKIN_ULTRAFINA)
557
EXTRACT_ONLY+=	${ULTRAFINA_FILE}
558
PLIST_SUB+=	ULTRAFINA=""
559
HAVE_SKIN=	true
560
.else
561
PLIST_SUB+=	ULTRAFINA="@comment "
562
.endif
563
564
.ifdef(WITH_SKIN_WINDOWSMEDIAPLAYER6)
565
EXTRACT_ONLY+=	${WMP6}
566
PLIST_SUB+=	WINDOWSMEDIAPLAYER6=""
567
HAVE_SKIN=	true
568
.else
569
PLIST_SUB+=	WINDOWSMEDIAPLAYER6="@comment "
570
.endif
571
572
.ifdef(WITH_SKIN_XANIM)
573
EXTRACT_ONLY+=	${XANIM_FILE}
574
PLIST_SUB+=	XANIM=""
575
HAVE_SKIN=	true
576
.else
577
PLIST_SUB+=	XANIM="@comment "
578
.endif
579
580
.ifdef(WITH_SKIN_XFCE4)
581
EXTRACT_ONLY+=	${XFCE4_FILE}
582
PLIST_SUB+=	XFCE4=""
583
HAVE_SKIN=	true
584
.else
585
PLIST_SUB+=	XFCE4="@comment "
586
.endif
587
588
.ifdef(WITH_SKIN_XINE_LCD)
589
EXTRACT_ONLY+=	${XINE_LCD_FILE}
590
PLIST_SUB+=	XINE_LCD=""
591
HAVE_SKIN=	true
592
.else
593
PLIST_SUB+=	XINE_LCD="@comment "
594
.endif
595
596
.ifdef(WITH_SKIN_XMMPLAYER)
597
EXTRACT_ONLY+=	${XMMPLAYER_FILE}
598
PLIST_SUB+=	XMMPLAYER=""
599
HAVE_SKIN=	true
160
HAVE_SKIN=	true
161
DISTFILES+=	${${f}_FILE}
600
.else
162
.else
601
PLIST_SUB+=	XMMPLAYER="@comment "
163
PLIST_SUB+=	${f}="@comment "
602
.endif
164
.endif
165
.endfor
603
166
604
do-build:
167
do-build:
605
.if defined(HAVE_SKIN)
168
.if defined(HAVE_SKIN)

Return to bug 74107