Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Jun 2019 13:11:02 +0000 (UTC)
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r504190 - in head/devel: . ocaml-result
Message-ID:  <201906141311.x5EDB20c057584@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: danfe
Date: Fri Jun 14 13:11:02 2019
New Revision: 504190
URL: https://svnweb.freebsd.org/changeset/ports/504190

Log:
  This is compatibility module for projects that want to use the new
  result type defined in OCaml >= 4.03 while staying compatible with
  older versions of OCaml.
  
  WWW: https://github.com/janestreet/result

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

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Fri Jun 14 13:10:16 2019	(r504189)
+++ head/devel/Makefile	Fri Jun 14 13:11:02 2019	(r504190)
@@ -1619,6 +1619,7 @@
     SUBDIR += ocaml-re
     SUBDIR += ocaml-react
     SUBDIR += ocaml-res
+    SUBDIR += ocaml-result
     SUBDIR += ocaml-sdl
     SUBDIR += ocaml-sem
     SUBDIR += ocaml-sexplib

Added: head/devel/ocaml-result/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/ocaml-result/Makefile	Fri Jun 14 13:11:02 2019	(r504190)
@@ -0,0 +1,24 @@
+# Created by: Alexey Dokuchaev <danfe@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME=	result
+PORTVERSION=	1.2
+CATEGORIES=	devel
+PKGNAMEPREFIX=	ocaml-
+
+MAINTAINER=	danfe@FreeBSD.org
+COMMENT=	Compatibility result module for OCaml
+
+LICENSE=	BSD3CLAUSE
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+USES=		gmake
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	janestreet
+
+USE_OCAML=	yes
+USE_OCAML_FINDLIB=	yes
+MAKE_JOBS_UNSAFE=	yes
+
+.include <bsd.port.mk>

Added: head/devel/ocaml-result/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/ocaml-result/distinfo	Fri Jun 14 13:11:02 2019	(r504190)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1457018677
+SHA256 (janestreet-result-1.2_GH0.tar.gz) = 7cf7909f902994dc885ceae1983e4cda3665914c774f774604d076b89f76f7dd
+SIZE (janestreet-result-1.2_GH0.tar.gz) = 2100

Added: head/devel/ocaml-result/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/ocaml-result/pkg-descr	Fri Jun 14 13:11:02 2019	(r504190)
@@ -0,0 +1,5 @@
+Projects that want to use the new result type defined in OCaml >= 4.03
+while staying compatible with older versions of OCaml should use the
+`Result' module defined in this library.
+
+WWW: https://github.com/janestreet/result

Added: head/devel/ocaml-result/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/ocaml-result/pkg-plist	Fri Jun 14 13:11:02 2019	(r504190)
@@ -0,0 +1,11 @@
+%%OCAML_SITELIBDIR%%/result/META
+%%OCAML_SITELIBDIR%%/result/result.a
+%%OCAML_SITELIBDIR%%/result/result.cma
+%%OCAML_SITELIBDIR%%/result/result.cmi
+%%OCAML_SITELIBDIR%%/result/result.cmo
+%%OCAML_SITELIBDIR%%/result/result.cmx
+%%OCAML_SITELIBDIR%%/result/result.cmxa
+%%OCAML_SITELIBDIR%%/result/result.cmxs
+%%OCAML_SITELIBDIR%%/result/result.install
+%%OCAML_SITELIBDIR%%/result/result.ml
+%%OCAML_SITELIBDIR%%/result/result.o



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