mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-11 07:22:22 +00:00
32 lines
733 B
Makefile
32 lines
733 B
Makefile
# Created by: Koop Mast <kwm@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= clinfo
|
|
PORTVERSION= 2.1.16.01.12
|
|
CATEGORIES= devel
|
|
|
|
MAINTAINER= x11@FreeBSD.org
|
|
COMMENT= OpenCL info program like glxinfo is for libGL
|
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/include/CL/opencl.h:devel/opencl
|
|
LIB_DEPENDS= libOpenCL.so:devel/ocl-icd
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= Oblomov
|
|
|
|
USES= gmake
|
|
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>
|