Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Feb 2020 17:24:56 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r527004 - head/devel/clinfo
Message-ID:  <202002241724.01OHOupK061556@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Mon Feb 24 17:24:56 2020
New Revision: 527004
URL: https://svnweb.freebsd.org/changeset/ports/527004

Log:
  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

Modified:
  head/devel/clinfo/Makefile   (contents, props changed)
  head/devel/clinfo/distinfo   (contents, props changed)
  head/devel/clinfo/pkg-descr   (contents, props changed)

Modified: head/devel/clinfo/Makefile
==============================================================================
--- head/devel/clinfo/Makefile	Mon Feb 24 17:21:36 2020	(r527003)
+++ head/devel/clinfo/Makefile	Mon Feb 24 17:24:56 2020	(r527004)
@@ -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 <bsd.port.mk>

Modified: head/devel/clinfo/distinfo
==============================================================================
--- head/devel/clinfo/distinfo	Mon Feb 24 17:21:36 2020	(r527003)
+++ head/devel/clinfo/distinfo	Mon Feb 24 17:24:56 2020	(r527004)
@@ -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

Modified: head/devel/clinfo/pkg-descr
==============================================================================
--- head/devel/clinfo/pkg-descr	Mon Feb 24 17:21:36 2020	(r527003)
+++ head/devel/clinfo/pkg-descr	Mon Feb 24 17:24:56 2020	(r527004)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202002241724.01OHOupK061556>