Changeset View
Changeset View
Standalone View
Standalone View
head/x11-drivers/xf86-video-openchrome/Makefile
# $FreeBSD$ | # $FreeBSD$ | ||||
PORTNAME= xf86-video-openchrome | PORTNAME= xf86-video-openchrome | ||||
PORTVERSION= 0.5.0 | PORTVERSION= 0.6.0 | ||||
PORTREVISION= 1 | |||||
CATEGORIES= x11-drivers | CATEGORIES= x11-drivers | ||||
MAINTAINER= x11@FreeBSD.org | MAINTAINER= x11@FreeBSD.org | ||||
COMMENT= X.Org openChrome display driver | COMMENT= X.Org openChrome display driver | ||||
LICENSE= MIT | LICENSE= MIT | ||||
LICENSE_FILE= ${WRKSRC}/COPYING | LICENSE_FILE= ${WRKSRC}/COPYING | ||||
LIB_DEPENDS= libdrm.so:graphics/libdrm | LIB_DEPENDS= libdrm.so:graphics/libdrm | ||||
USE_GL= gl | USE_GL= gl | ||||
XORG_CAT= driver | XORG_CAT= driver | ||||
USE_XORG= x11 xext xv | USE_XORG= x11 xext xv | ||||
# Override pkg-config to prevent linking against libudev | |||||
CONFIGURE_ENV+= LIBUDEV_LIBS="-L${LOCALBASE}" | |||||
MAKE_ARGS+= drivermandir=${LOCALBASE}/man/man4 | MAKE_ARGS+= drivermandir=${LOCALBASE}/man/man4 | ||||
.include <bsd.port.options.mk> | .include <bsd.port.options.mk> | ||||
# XvMC is only supported by this driver on x86 | # XvMC is only supported by this driver on x86 | ||||
.if ${ARCH} == "i386" || ${ARCH} == "amd64" | .if ${ARCH} == "i386" || ${ARCH} == "amd64" | ||||
USE_XORG+= xvmc | USE_XORG+= xvmc | ||||
PLIST_SUB+= XVMC="" | PLIST_SUB+= XVMC="" | ||||
.else | .else | ||||
PLIST_SUB+= XVMC="@comment " | PLIST_SUB+= XVMC="@comment " | ||||
.endif | .endif | ||||
.include <bsd.port.mk> | .include <bsd.port.mk> |