diff options
author | jbeich <jbeich@FreeBSD.org> | 2020-02-25 01:24:56 +0800 |
---|---|---|
committer | jbeich <jbeich@FreeBSD.org> | 2020-02-25 01:24:56 +0800 |
commit | b7b444ef8affbb4a4fc3e86626a9c85b7f0d0996 (patch) | |
tree | 5a5d210f4e643c671f6b0f108f5bc6ccf4a2df4b | |
parent | e074a4f4d74cbed906f676135aee69d7ce13cd83 (diff) | |
download | freebsd-ports-gnome-b7b444ef8affbb4a4fc3e86626a9c85b7f0d0996.tar.gz freebsd-ports-gnome-b7b444ef8affbb4a4fc3e86626a9c85b7f0d0996.tar.zst freebsd-ports-gnome-b7b444ef8affbb4a4fc3e86626a9c85b7f0d0996.zip |
devel/clinfo: update to 2.2.18.04.06
- Define LICENSE
- Switch to vendor install target
- Convert post-patch to MAKE_ARGS + USES=localbase
Changes: https://github.com/Oblomov/clinfo/compare/2.1.16.01.12...2.2.18.04.06
Approved by: x11 (manu, zeising)
Differential Revision: https://reviews.freebsd.org/D23806
-rw-r--r-- | devel/clinfo/Makefile | 19 | ||||
-rw-r--r-- | devel/clinfo/distinfo | 5 | ||||
-rw-r--r-- | devel/clinfo/pkg-descr | 14 |
3 files changed, 18 insertions, 20 deletions
diff --git a/devel/clinfo/Makefile b/devel/clinfo/Makefile index 4ea33d40f962..9b532d4e91e1 100644 --- a/devel/clinfo/Makefile +++ b/devel/clinfo/Makefile @@ -2,11 +2,14 @@ # $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 @@ -14,18 +17,10 @@ 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 <bsd.port.mk> diff --git a/devel/clinfo/distinfo b/devel/clinfo/distinfo index 68a27c9e85b2..41670e06d058 100644 --- a/devel/clinfo/distinfo +++ b/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 diff --git a/devel/clinfo/pkg-descr b/devel/clinfo/pkg-descr index 33ac7e14c5a3..c859c6924eb4 100644 --- a/devel/clinfo/pkg-descr +++ b/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 |