aboutsummaryrefslogtreecommitdiff
path: root/devel/clinfo/Makefile
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2020-02-24 17:24:56 +0000
committerJan Beich <jbeich@FreeBSD.org>2020-02-24 17:24:56 +0000
commitbaa0d7d9a0c3aafc1727c93c55b2cb1412d39dd9 (patch)
tree5a5d210f4e643c671f6b0f108f5bc6ccf4a2df4b /devel/clinfo/Makefile
parentf9fbed9e9491b828e0231a967bd0fb80ae8feb27 (diff)
downloadports-baa0d7d9a0c3aafc1727c93c55b2cb1412d39dd9.tar.gz
ports-baa0d7d9a0c3aafc1727c93c55b2cb1412d39dd9.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
Notes
Notes: svn path=/head/; revision=527004
Diffstat (limited to 'devel/clinfo/Makefile')
-rw-r--r--devel/clinfo/Makefile19
1 files changed, 7 insertions, 12 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>