# Created by: Koop Mast # $FreeBSD$ PORTNAME= clinfo PORTVERSION= 2.0.15.04.28 CATEGORIES= devel MAINTAINER= kwm@FreeBSD.org COMMENT= OpenCL info program like glxinfo is for libGL BUILD_DEPENDS= ${LOCALBASE}/include/CL/opencl.h:${PORTSDIR}/devel/opencl LIB_DEPENDS= libOpenCL.so:${PORTSDIR}/devel/ocl-icd USE_GITHUB= yes GH_ACCOUNT= Oblomov GH_TAGNAME= b953d226b7 USES= gmake NO_CONFIGURE= yes ALL_TARGET= # PLIST_FILES= bin/clinfo \ man/man1/clinfo.1.gz BROKEN_FreeBSD_9= OpenCL is only supported on FreeBSD 10 and newer post-patch: @${REINPLACE_CMD} -e 's|-Wall|-Wall -I${LOCALBASE}/include|g; \ s|-lOpenCL|-lOpenCL -L${LOCALBASE}/lib|g' \ ${WRKSRC}/Makefile do-install: @${INSTALL_PROGRAM} ${WRKSRC}/clinfo ${STAGEDIR}${PREFIX}/bin/ @${INSTALL_MAN} ${WRKSRC}/man/clinfo.1 ${STAGEDIR}${PREFIX}/man/man1/ .include