1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-08 12:01:56 +00:00
Gerald Pfeifer c2a92a1aea Bump PORTREVISIONs of all users of math/mpc that we just updated to
version 1.1.0 (via revision 464079).
2018-03-10 17:46:04 +00:00

49 lines
1.2 KiB
Makefile

# Created by: Jean-Sébastien Pédron <dumbbell@FreeBSD.org>
# $FreeBSD$
PORTNAME= piglit
PORTVERSION= 20170922
PORTREVISION= 2
CATEGORIES= graphics
MAINTAINER= x11@FreeBSD.org
COMMENT= Automated OpenGL and OpenCL testsuite
LICENSE= MIT GPLv2 GPLv3 LGPL20
LICENSE_COMB= multi
BUILD_DEPENDS= ${LOCALBASE}/include/CL/opencl.h:devel/opencl \
${PYNUMPY} \
${PYTHON_PKGNAMEPREFIX}mako>0:textproc/py-mako@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR}
LIB_DEPENDS= libcaca.so:graphics/libcaca \
libdrm.so:graphics/libdrm \
libOpenCL.so:devel/ocl-icd \
libpng.so:graphics/png \
libwaffle-1.so:graphics/waffle
RUN_DEPENDS= ${PYNUMPY} \
${PYTHON_PKGNAMEPREFIX}mako>0:textproc/py-mako@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR}
USE_GITHUB= yes
GH_ACCOUNT= dumbbell
GH_PROJECT= piglit
GH_TAGNAME= 60996b829c85f3df192bc6228108c0a8eaa38afd
USES= cmake:outsource compiler:c11 pkgconfig python:2.7 shebangfix
USE_GL= egl gbm gl glu
USE_XORG= x11 xcb xext xrender
SHEBANG_FILES= piglit
CMAKE_ARGS+= -DPIGLIT_BUILD_CL_TESTS:BOOL=ON
CMAKE_ARGS+= -DCMAKE_POLICY_DEFAULT_CMP0056:STRING=NEW
LDFLAGS+= -L${LOCALBASE}/lib
SUB_FILES= pkg-message
DATADIR= ${PREFIX}/lib/piglit
PORTDATA= *
.include <bsd.port.mk>