Lines 22-33
Link Here
|
22 |
VIDEO_DRIVER?= vesa |
22 |
VIDEO_DRIVER?= vesa |
23 |
|
23 |
|
24 |
RUN_DEPENDS+= ${LOCALBASE}/bin/Xorg:${PORTSDIR}/x11-servers/xorg-server \ |
24 |
RUN_DEPENDS+= ${LOCALBASE}/bin/Xorg:${PORTSDIR}/x11-servers/xorg-server \ |
25 |
${LOCALBASE}/lib/xorg/modules/drivers/${VIDEO_DRIVER}_drv.so:${PORTSDIR}/x11-drivers/xf86-video-${VIDEO_DRIVER} \ |
|
|
26 |
${LOCALBASE}/lib/xorg/modules/input/mouse_drv.so:${PORTSDIR}/x11-drivers/xf86-input-mouse \ |
25 |
${LOCALBASE}/lib/xorg/modules/input/mouse_drv.so:${PORTSDIR}/x11-drivers/xf86-input-mouse \ |
27 |
${LOCALBASE}/lib/xorg/modules/input/kbd_drv.so:${PORTSDIR}/x11-drivers/xf86-input-keyboard \ |
26 |
${LOCALBASE}/lib/xorg/modules/input/kbd_drv.so:${PORTSDIR}/x11-drivers/xf86-input-keyboard \ |
28 |
${LOCALBASE}/bin/xinit:${PORTSDIR}/x11/xinit \ |
27 |
${LOCALBASE}/bin/xinit:${PORTSDIR}/x11/xinit \ |
29 |
${LOCALBASE}/bin/xauth:${PORTSDIR}/x11/xauth |
28 |
${LOCALBASE}/bin/xauth:${PORTSDIR}/x11/xauth |
30 |
|
29 |
|
|
|
30 |
.if ${VIDEO_DRIVER} == "nvidia" |
31 |
RUN_DEPENDS+= ${LOCALBASE}/bin/nvidia-settings:${PORTSDIR}/x11/nvidia-driver |
32 |
.else |
33 |
RUN_DEPENDS+= ${LOCALBASE}/lib/xorg/modules/drivers/${VIDEO_DRIVER}_drv.so:${PORTSDIR}/x11-drivers/xf86-video-${VIDEO_DRIVER} |
34 |
.endif |
35 |
|
31 |
do-install: |
36 |
do-install: |
32 |
|
37 |
|
33 |
pre-everything:: |
38 |
pre-everything:: |