freebsd-ports/x11/xorg-minimal/Makefile
Jean-Sébastien Pédron 3c9a1d11c2 Final removal of WITH_NEW_XORG
This knob was turned on for all version of FreeBSD in r369875
(2014-10-03) and officially deprecated. Since then, it was gradually
removed from many ports when they needed an update.

x11-servers/xorg-server was the last major user of this knob. The port
was updated to xserver 1.14 in r374982 (2014-12-19). The update got rid
of the knob, clearing the path to the final removal.

This commit changes ports who were checking for WITH_NEW_XORG and remove
its handling from bsd.port.mk.

While here, two sanity checks are added to warn user about WITH_KMS and
WITH_NEW_XORG which have no effect now.

Differential Revision:	https://reviews.freebsd.org/D1351
Reviewed by:	antoine, bapt, kwm
Approved by:	portmgr (antoine, bapt), kwm
2014-12-22 23:04:17 +00:00

51 lines
1.8 KiB
Makefile

# $FreeBSD$
PORTNAME= xorg
PORTVERSION= 7.5.2
PORTREVISION= 1
CATEGORIES= x11 x11-servers
MASTER_SITES= # none
PKGNAMESUFFIX= -minimal
DISTFILES= # none
EXTRACT_ONLY= # none
MAINTAINER= ports@FreeBSD.org
COMMENT= X.Org minimal distribution metaport
NO_BUILD= yes
NO_MTREE= yes
.include <bsd.port.options.mk>
VIDEO_DRIVER?= vesa
RUN_DEPENDS+= ${LOCALBASE}/bin/Xorg:${PORTSDIR}/x11-servers/xorg-server \
${LOCALBASE}/lib/xorg/modules/input/mouse_drv.so:${PORTSDIR}/x11-drivers/xf86-input-mouse \
${LOCALBASE}/lib/xorg/modules/input/kbd_drv.so:${PORTSDIR}/x11-drivers/xf86-input-keyboard \
${LOCALBASE}/bin/xinit:${PORTSDIR}/x11/xinit \
${LOCALBASE}/bin/xauth:${PORTSDIR}/x11/xauth
.if ${VIDEO_DRIVER} == "nvidia"
RUN_DEPENDS+= ${LOCALBASE}/lib/xorg/modules/drivers/nvidia_drv.so:${PORTSDIR}/x11/nvidia-driver
.elif ${VIDEO_DRIVER} == "intel29"
RUN_DEPENDS+= ${LOCALBASE}/lib/xorg/modules/drivers/intel_drv.so:${PORTSDIR}/x11-drivers/xf86-video-${VIDEO_DRIVER}
.else
RUN_DEPENDS+= ${LOCALBASE}/lib/xorg/modules/drivers/${VIDEO_DRIVER}_drv.so:${PORTSDIR}/x11-drivers/xf86-video-${VIDEO_DRIVER}
.endif
.if ${VIDEO_DRIVER} == intel
RUN_DEPENDS+= ${LOCALBASE}/lib/va/i965_drv_video.so:${PORTSDIR}/multimedia/libva-intel-driver
.endif
do-install:
pre-everything::
@${ECHO_MSG} "This is a meta-port, meaning that it just depends on its subparts of the port."
@${ECHO_MSG} "It won't build and install all the parts until you have typed make install"
@${ECHO_MSG} "This port does not ensure things are upgraded; use portmaster if you want to"
@${ECHO_MSG} "upgrade X.Org. The \"vesa\" driver is installed by default. You can choose a"
@${ECHO_MSG} "different one by means of the VIDEO_DRIVER parameter. For example:"
@${ECHO_MSG} ""
@${ECHO_MSG} " make install VIDEO_DRIVER=intel"
@${ECHO_MSG} ""
.include <bsd.port.mk>