blob: 17418fe27406722e11b0111f0313de6f3f4adf1f (
plain)
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
|
# New ports collection makefile for: xorg-drivers
# Date created: Jun 22 2006
# Whom: Florent Thoumie <flz@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= xorg-drivers
PORTVERSION= 7.2
PORTREVISION= 2
CATEGORIES= x11-drivers
MASTER_SITES= # none
DISTFILES= # none
EXTRACT_ONLY= # none
MAINTAINER= x11@FreeBSD.org
COMMENT= X.org drivers meta-port
VIDEODIR= ${PREFIX}/lib/xorg/modules/drivers
INPUTDIR= ${PREFIX}/lib/xorg/modules/input
NO_BUILD= yes
.if !defined(ARCH)
ARCH!= /usr/bin/uname -p
.endif
VIDEO_ON= ati \
i810 \
nv \
vesa vga via
VIDEO_OFF= apm ark \
chips cirrus cyrix \
dummy \
fbdev \
glint \
i128 i740 imstt intel \
mga \
neomagic newport nsc \
rendition \
s3 s3virge savage siliconmotion sis \
tdfx tga trident tseng \
vmware voodoo
.if ${ARCH} == "sparc64"
VIDEO_ON+= sunffb
.else
VIDEO_OFF+= sunffb
.endif
INPUT_ON= mouse \
keyboard
INPUT_OFF= acecad \
calcomp citron \
digitaledge dmc dynapro \
elo2300 elographics \
fpit \
hyperpen \
jamstudio joystick \
magellan magictouch microtouch mutouch \
palmax penmount \
spaceorb summa \
tek4957 \
void
.for default in on off
. for type in input video
. for i in ${${type:U}_${default:U}}
OPTIONS+= ${i:U} "Install ${i} ${type} driver" ${default}
. endfor
. endfor
.endfor
.include <bsd.port.pre.mk>
.if defined(WITH_INTEL) && !defined(WITHOUT_I810)
IGNORE= You can't choose both i810 and intel drivers as they are conflicting
.endif
.for default in on off
. for type in input video
. for i in ${${type:U}_${default:U}}
DEFAULT=${default}
. if (${DEFAULT} == "on" && !defined(WITHOUT_${i:U})) || (${DEFAULT} == "off" && defined(WITH_${i:U}))
RUN_DEPENDS+= ${${type:U}DIR}/${i:C/jamstudio/js_x/}_drv.so:${PORTSDIR}/x11-drivers/xf86-${type}-${i}
. endif
. endfor
. endfor
.endfor
do-install:
${MKDIR} ${PREFIX}/libdata/xorg
${TOUCH} ${PREFIX}/libdata/xorg/drivers
.include <bsd.port.post.mk>
|