aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2016-12-29 02:07:58 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2016-12-29 02:07:58 +0800
commit067b64e97a55efd1664241b06f8f1b47f6c7568f (patch)
tree3da9258c1673a28cbcea9d97b4755eed86c6874b /devel
parent45378a7ea19576787a0930e2af852600b84f227d (diff)
downloadfreebsd-ports-gnome-067b64e97a55efd1664241b06f8f1b47f6c7568f.tar.gz
freebsd-ports-gnome-067b64e97a55efd1664241b06f8f1b47f6c7568f.tar.zst
freebsd-ports-gnome-067b64e97a55efd1664241b06f8f1b47f6c7568f.zip
- Add devel/erlang-cl - OpenCL binding for Erlang. This is needed for graphics/wings update.
OpenCL binding for Erlang. WWW: https://github.com/tonyrog/cl
Diffstat (limited to 'devel')
-rw-r--r--devel/Makefile1
-rw-r--r--devel/erlang-cl/Makefile30
-rw-r--r--devel/erlang-cl/distinfo3
-rw-r--r--devel/erlang-cl/pkg-descr3
-rw-r--r--devel/erlang-cl/pkg-plist15
5 files changed, 52 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index bdf8f169fed9..44d53ca5b76f 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -501,6 +501,7 @@
SUBDIR += erlang-bear
SUBDIR += erlang-certifi
SUBDIR += erlang-cf
+ SUBDIR += erlang-cl
SUBDIR += erlang-clique
SUBDIR += erlang-common_lib
SUBDIR += erlang-cuttlefish
diff --git a/devel/erlang-cl/Makefile b/devel/erlang-cl/Makefile
new file mode 100644
index 000000000000..9b0e887e6120
--- /dev/null
+++ b/devel/erlang-cl/Makefile
@@ -0,0 +1,30 @@
+# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= cl
+PORTVERSION= 1.2.3
+DISTVERSIONPREFIX= cl-
+CATEGORIES= devel
+PKGNAMEPREFIX= erlang-
+
+MAINTAINER= amdmi3@FreeBSD.org
+COMMENT= OpenCL binding for Erlang
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/COPYRIGHT
+
+BUILD_DEPENDS= opencl>=0:devel/opencl
+
+USE_GITHUB= yes
+GH_ACCOUNT= tonyrog
+
+USES= gmake erlang:rebar3 localbase
+
+PORTDOCS= *
+
+OPTIONS_DEFINE= DOCS
+
+post-build:
+ @${RMDIR} ${WRKSRC}/priv
+
+.include <bsd.port.mk>
diff --git a/devel/erlang-cl/distinfo b/devel/erlang-cl/distinfo
new file mode 100644
index 000000000000..2d8359a54a1c
--- /dev/null
+++ b/devel/erlang-cl/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1479209283
+SHA256 (tonyrog-cl-cl-1.2.3_GH0.tar.gz) = a9731825ee9b8057006ebb6b472466d51278d1a0e1fa496cf132b5456c54f15b
+SIZE (tonyrog-cl-cl-1.2.3_GH0.tar.gz) = 137921
diff --git a/devel/erlang-cl/pkg-descr b/devel/erlang-cl/pkg-descr
new file mode 100644
index 000000000000..a4eaeeb7b7e3
--- /dev/null
+++ b/devel/erlang-cl/pkg-descr
@@ -0,0 +1,3 @@
+OpenCL binding for Erlang.
+
+WWW: https://github.com/tonyrog/cl
diff --git a/devel/erlang-cl/pkg-plist b/devel/erlang-cl/pkg-plist
new file mode 100644
index 000000000000..1ef3ee8fbba9
--- /dev/null
+++ b/devel/erlang-cl/pkg-plist
@@ -0,0 +1,15 @@
+lib/erlang/lib/cl-%%VERSION%%/ebin/cl.app
+lib/erlang/lib/cl-%%VERSION%%/ebin/cl.beam
+lib/erlang/lib/cl-%%VERSION%%/ebin/cl10.beam
+lib/erlang/lib/cl-%%VERSION%%/ebin/cl11.beam
+lib/erlang/lib/cl-%%VERSION%%/ebin/cl12.beam
+lib/erlang/lib/cl-%%VERSION%%/ebin/cl13.beam
+lib/erlang/lib/cl-%%VERSION%%/ebin/clu.beam
+lib/erlang/lib/cl-%%VERSION%%/include/cl.hrl
+lib/erlang/lib/cl-%%VERSION%%/src/cl.app.src
+lib/erlang/lib/cl-%%VERSION%%/src/cl.erl
+lib/erlang/lib/cl-%%VERSION%%/src/cl10.erl
+lib/erlang/lib/cl-%%VERSION%%/src/cl11.erl
+lib/erlang/lib/cl-%%VERSION%%/src/cl12.erl
+lib/erlang/lib/cl-%%VERSION%%/src/cl13.erl
+lib/erlang/lib/cl-%%VERSION%%/src/clu.erl