Index: head/devel/clinfo/Makefile =================================================================== --- head/devel/clinfo/Makefile +++ head/devel/clinfo/Makefile @@ -2,30 +2,25 @@ # $FreeBSD$ PORTNAME= clinfo -PORTVERSION= 2.1.16.01.12 +PORTVERSION= 2.2.18.04.06 CATEGORIES= devel MAINTAINER= x11@FreeBSD.org -COMMENT= OpenCL info program like glxinfo is for libGL +COMMENT= Print information about all available OpenCL platforms/devices +LICENSE= CC0-1.0 +LICENSE_FILE= ${WRKSRC}/LICENSE + BUILD_DEPENDS= ${LOCALBASE}/include/CL/opencl.h:devel/opencl LIB_DEPENDS= libOpenCL.so:devel/ocl-icd USE_GITHUB= yes GH_ACCOUNT= Oblomov -USES= gmake +USES= localbase:ldflags +MAKE_ARGS= PREFIX="${STAGEDIR}${PREFIX}" ALL_TARGET= # PLIST_FILES= bin/clinfo \ man/man1/clinfo.1.gz - -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 Index: head/devel/clinfo/distinfo =================================================================== --- head/devel/clinfo/distinfo +++ head/devel/clinfo/distinfo @@ -1,2 +1,3 @@ -SHA256 (Oblomov-clinfo-2.1.16.01.12_GH0.tar.gz) = f92fc60f337ad86c8506d7d03358bf47980cb08fca1a0ca496b15282db59dea3 -SIZE (Oblomov-clinfo-2.1.16.01.12_GH0.tar.gz) = 27217 +TIMESTAMP = 1522993801 +SHA256 (Oblomov-clinfo-2.2.18.04.06_GH0.tar.gz) = f77021a57b3afcdebc73107e2254b95780026a9df9aa4f8db6aff11c03f0ec6c +SIZE (Oblomov-clinfo-2.2.18.04.06_GH0.tar.gz) = 41459 Index: head/devel/clinfo/pkg-descr =================================================================== --- head/devel/clinfo/pkg-descr +++ head/devel/clinfo/pkg-descr @@ -1,8 +1,10 @@ -A simple OpenCL application that enumerates all possible platform and -device properties. Inspired by AMD's program of the same name, it is -coded in pure C99 and it tries to output all possible information, -including that provided by platform-specific extensions, and not to -crash on platform-unsupported properties (e.g. 1.2 properties on 1.1 -platforms). +clinfo is a simple command-line application that enumerates all possible +(known) properties of the OpenCL platform and devices available on the +system. + +Inspired by AMD's program of the same name, it is coded in pure C and it +tries to output all possible information, including those provided by +platform-specific extensions, trying not to crash on unsupported +properties (e.g. 1.2 properties on 1.1 platforms). WWW: https://github.com/Oblomov/clinfo