From owner-svn-ports-head@freebsd.org Mon Feb 24 17:24:58 2020 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 4C77623C170; Mon, 24 Feb 2020 17:24:58 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48R8893r1mz4BnM; Mon, 24 Feb 2020 17:24:57 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 56C51B19; Mon, 24 Feb 2020 17:24:57 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 01OHOvTp061560; Mon, 24 Feb 2020 17:24:57 GMT (envelope-from jbeich@FreeBSD.org) Received: (from jbeich@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 01OHOupK061556; Mon, 24 Feb 2020 17:24:56 GMT (envelope-from jbeich@FreeBSD.org) Message-Id: <202002241724.01OHOupK061556@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jbeich set sender to jbeich@FreeBSD.org using -f From: Jan Beich Date: Mon, 24 Feb 2020 17:24:56 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r527004 - head/devel/clinfo X-SVN-Group: ports-head X-SVN-Commit-Author: jbeich X-SVN-Commit-Paths: head/devel/clinfo X-SVN-Commit-Revision: 527004 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Feb 2020 17:24:58 -0000 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 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