# Created by: Manuel Creach # $FreeBSD: head/multimedia/libva-intel-driver/Makefile 412348 2016-04-01 14:17:44Z mat $ PORTNAME= libva-intel-driver PORTVERSION= 1.7.0 CATEGORIES= multimedia MASTER_SITES= http://www.freedesktop.org/software/vaapi/releases/${PORTNAME}/ MAINTAINER= madpilot@FreeBSD.org COMMENT= VAAPI intel driver LICENSE= MIT LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libva.so:multimedia/libva BUILD_DEPENDS= ${LOCALBASE}/include/linux/videodev2.h:multimedia/v4l_compat GNU_CONFIGURE= yes USES= alias autoreconf compiler:c11 gmake libtool pkgconfig tar:bzip2 USE_GL= gl USE_LDCONFIG= yes CPPFLAGS+= -isystem${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib PLIST_FILES= lib/va/i965_drv_video.so .include post-patch: .SILENT ${REINPLACE_CMD} -e 's/-ldl//' \ ${WRKSRC}/src/Makefile.am ${REINPLACE_CMD} -e 's|driverdir|& --define-variable prefix=${PREFIX}|' \ ${WRKSRC}/configure.ac .include