Index: devel/ocl-icd/Makefile =================================================================== --- devel/ocl-icd/Makefile (revision 0) +++ devel/ocl-icd/Makefile (working copy) @@ -0,0 +1,48 @@ +# $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 +LICENSE_FILE= ${WRKSRC}/COPYING + +BUILD_DEPENDS= opencl>=0:${PORTSDIR}/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 pathfix libtool +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:${PORTSDIR}/textproc/xmlto \ + asciidoc:${PORTSDIR}/textproc/asciidoc + +.include + +.if !${PORT_OPTIONS:MMANPAGES} +CONFIGURE_ENV+= ac_cv_path_A2X="" +.endif + +post-patch: + @${REINPLACE_CMD} -e 's|/etc/|${PREFIX}/etc/|g' \ + ${WRKSRC}/doc/libOpenCL.7.txt \ + ${WRKSRC}/ocl_icd_loader.c + +.include Property changes on: devel/ocl-icd/Makefile ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: devel/ocl-icd/distinfo =================================================================== --- devel/ocl-icd/distinfo (revision 0) +++ devel/ocl-icd/distinfo (working copy) @@ -0,0 +1,2 @@ +SHA256 (ocl-icd-2.2.7.tar.gz) = be78886c83b903dd5861f35d62d473e4228b3c13e25535a8665c87cb8a51390b +SIZE (ocl-icd-2.2.7.tar.gz) = 450053 Property changes on: devel/ocl-icd/distinfo ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: devel/ocl-icd/files/patch-ocl_icd_loader.c =================================================================== --- devel/ocl-icd/files/patch-ocl_icd_loader.c (revision 0) +++ devel/ocl-icd/files/patch-ocl_icd_loader.c (working copy) @@ -0,0 +1,11 @@ +--- ocl_icd_loader.c.orig 2015-06-08 20:29:52.812376622 +0200 ++++ ocl_icd_loader.c 2015-06-30 11:13:41.123245000 +0200 +@@ -55,7 +55,7 @@ int debug_ocl_icd_mask=0; + + typedef __typeof__(clGetPlatformInfo) *clGetPlatformInfo_fn; + +-inline void dump_vendor_icd(const char* info, const struct vendor_icd *v) { ++static inline void dump_vendor_icd(const char* info, const struct vendor_icd *v) { + debug(D_DUMP, "%s %p={ num=%i, handle=%p, f=%p}\n", info, + v, v->num_platforms, v->dl_handle, v->ext_fn_ptr); + } Property changes on: devel/ocl-icd/files/patch-ocl_icd_loader.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: devel/ocl-icd/pkg-descr =================================================================== --- devel/ocl-icd/pkg-descr (revision 0) +++ devel/ocl-icd/pkg-descr (working copy) @@ -0,0 +1,6 @@ +OpenCL implementations are provided as ICD (Installable Client Driver). An +OpenCL program can use several ICD thanks to the use of an ICD Loader as +provided by this project. This free ICD Loader can load any (free or non +free) ICD. + +WWW: https://forge.imag.fr/projects/ocl-icd/ Property changes on: devel/ocl-icd/pkg-descr ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: devel/ocl-icd/pkg-plist =================================================================== --- devel/ocl-icd/pkg-plist (revision 0) +++ devel/ocl-icd/pkg-plist (working copy) @@ -0,0 +1,10 @@ +include/ocl_icd.h +lib/libOpenCL.so +lib/libOpenCL.so.1 +lib/libOpenCL.so.1.0.0 +libdata/pkgconfig/OpenCL.pc +libdata/pkgconfig/ocl-icd.pc +%%MANPAGES%%man/man7/libOpenCL.7.gz +%%MANPAGES%%man/man7/libOpenCL.so.7.gz +%%PORTDOCS%%%%DOCSDIR%%/examples/ocl_icd_bindings.c +%%MANPAGES%%%%PORTDOCS%%%%DOCSDIR%%/html/libOpenCL.html Property changes on: devel/ocl-icd/pkg-plist ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property