Index: devel/clinfo/Makefile =================================================================== --- devel/clinfo/Makefile +++ 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 +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: devel/clinfo/distinfo =================================================================== --- devel/clinfo/distinfo +++ 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