Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 May 2018 19:48:50 +0000 (UTC)
From:      Jimmy Olgeni <olgeni@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r469329 - in head/devel: . elixir-unsafe
Message-ID:  <201805071948.w47JmoVk078695@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: olgeni
Date: Mon May  7 19:48:49 2018
New Revision: 469329
URL: https://svnweb.freebsd.org/changeset/ports/469329

Log:
  Add devel/elixir-unsafe, an Elixir library to generate unsafe
  bindings for functions (i.e. functions that can crash rather than
  returning a tagged error value).
  
  More background here:
  
    http://whitfin.io/generating-bang-functions-in-elixir/

Added:
  head/devel/elixir-unsafe/
  head/devel/elixir-unsafe/Makefile   (contents, props changed)
  head/devel/elixir-unsafe/distinfo   (contents, props changed)
  head/devel/elixir-unsafe/pkg-descr   (contents, props changed)
  head/devel/elixir-unsafe/pkg-plist   (contents, props changed)
Modified:
  head/devel/Makefile

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Mon May  7 19:44:01 2018	(r469328)
+++ head/devel/Makefile	Mon May  7 19:48:49 2018	(r469329)
@@ -542,6 +542,7 @@
     SUBDIR += elixir-tirexs
     SUBDIR += elixir-trailing_format_plug
     SUBDIR += elixir-tzdata
+    SUBDIR += elixir-unsafe
     SUBDIR += embb
     SUBDIR += epl.el
     SUBDIR += epm

Added: head/devel/elixir-unsafe/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/elixir-unsafe/Makefile	Mon May  7 19:48:49 2018	(r469329)
@@ -0,0 +1,20 @@
+# $FreeBSD$
+
+PORTNAME=	unsafe
+PORTVERSION=	1.0.0
+DISTVERSIONPREFIX=	v
+CATEGORIES=	devel
+PKGNAMEPREFIX=	elixir-
+
+MAINTAINER=	olgeni@FreeBSD.org
+COMMENT=	Generate unsafe bindings for Elixir functions
+
+LICENSE=	MIT
+
+USES=		elixir
+USE_GITHUB=	yes
+GH_ACCOUNT=	whitfin
+
+MIX_REWRITE=	yes
+
+.include <bsd.port.mk>

Added: head/devel/elixir-unsafe/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/elixir-unsafe/distinfo	Mon May  7 19:48:49 2018	(r469329)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1525621894
+SHA256 (whitfin-unsafe-v1.0.0_GH0.tar.gz) = 8a5850f82bc7ff6ca9a3da88e11854e794a3342c7bed72e94bb4b9afe30e696f
+SIZE (whitfin-unsafe-v1.0.0_GH0.tar.gz) = 8013

Added: head/devel/elixir-unsafe/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/elixir-unsafe/pkg-descr	Mon May  7 19:48:49 2018	(r469329)
@@ -0,0 +1,4 @@
+This library is designed to generate unsafe bindings for Elixir
+function definitions at compile time.
+
+WWW: https://github.com/whitfin/unsafe

Added: head/devel/elixir-unsafe/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/elixir-unsafe/pkg-plist	Mon May  7 19:48:49 2018	(r469329)
@@ -0,0 +1,8 @@
+lib/elixir/lib/unsafe/ebin/Elixir.Unsafe.Compiler.beam
+lib/elixir/lib/unsafe/ebin/Elixir.Unsafe.Generator.beam
+lib/elixir/lib/unsafe/ebin/Elixir.Unsafe.beam
+lib/elixir/lib/unsafe/ebin/unsafe.app
+lib/elixir/lib/unsafe/lib/unsafe.ex
+lib/elixir/lib/unsafe/lib/unsafe/compiler.ex
+lib/elixir/lib/unsafe/lib/unsafe/generator.ex
+%%PORTDOCS%%%%DOCSDIR%%/README.md



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201805071948.w47JmoVk078695>