1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-12 03:00:28 +00:00
freebsd-ports/devel/ocl-icd/Makefile
Mathieu Arnold 4e1b79a0a6 Remove ${PORTSDIR}/ from dependencies, categories d, e, f, and g.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 14:00:51 +00:00

42 lines
876 B
Makefile

# Created by: Koop Mast <kwm@FreeBSD.org>
# $FreeBSD$
PORTNAME= ocl-icd
PORTVERSION= 2.2.7
CATEGORIES= devel
MASTER_SITES= https://forge.imag.fr/frs/download.php/667/
MAINTAINER= ohartman@zedat.fu-berlin.de
COMMENT= OpenCL Installable Client Driver
LICENSE= BSD2CLAUSE
BUILD_DEPENDS= opencl>=0:devel/opencl
CONFLICTS= freeocl-[0-9]* opencl-icd-[0-9]*
USE_RUBY= yes
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
RUBY_NO_RUN_DEPENDS=yes
USES= gmake libtool pathfix
INSTALL_TARGET= install-strip
CONFIGURE_ARGS+=--disable-official-khronos-headers
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
OPTIONS_DEFINE= MANPAGES
OPTIONS_DEFAULT=MANPAGES
OPTIONS_SUB= yes
MANPAGES_BUILD_DEPENDS= xmlto:textproc/xmlto \
asciidoc:textproc/asciidoc
post-patch:
@${REINPLACE_CMD} -e 's|/etc/|${LOCALBASE}/etc/|g' \
${WRKSRC}/doc/libOpenCL.7.txt
.include <bsd.port.mk>