freebsd-ports/devel/clinfo/Makefile
Sunpoet Po-Chuan Hsieh e0b379fa6f Remove BROKEN_FreeBSD_9
Approved by:	portmgr (blanket)
2017-01-01 03:45:12 +00:00

32 lines
751 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
NO_CONFIGURE= yes
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>