Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Aug 2015 20:41:21 +0000 (UTC)
From:      Veniamin Gvozdikov <vg@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r393615 - in head/devel: . ocaml-re
Message-ID:  <201508052041.t75KfLw6026608@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: vg
Date: Wed Aug  5 20:41:20 2015
New Revision: 393615
URL: https://svnweb.freebsd.org/changeset/ports/393615

Log:
  New port: devel/ocaml-re
  
  Re is a regular expression library for OCaml.
  
  The following styles of regular expressions are supported:
  * Perl-style regular expressions (module Re_perl);
  * Posix extended regular expressions (module Re_posix);
  * Emacs-style regular expressions (module Re_emacs);
  * Shell-style file globbing (module Re_glob).
  
  WWW: https://github.com/ocaml/ocaml-re

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

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Wed Aug  5 20:23:09 2015	(r393614)
+++ head/devel/Makefile	Wed Aug  5 20:41:20 2015	(r393615)
@@ -1483,6 +1483,7 @@
     SUBDIR += ocaml-pcre
     SUBDIR += ocaml-pomap
     SUBDIR += ocaml-ppx-tools
+    SUBDIR += ocaml-re
     SUBDIR += ocaml-react
     SUBDIR += ocaml-res
     SUBDIR += ocaml-sdl

Added: head/devel/ocaml-re/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/ocaml-re/Makefile	Wed Aug  5 20:41:20 2015	(r393615)
@@ -0,0 +1,32 @@
+# Created by: Veniamin Gvozdikov <vg@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME=	re
+PORTVERSION=	1.4.1
+CATEGORIES=	devel
+PKGNAMEPREFIX=	ocaml-
+
+MAINTAINER=	vg@FreeBSD.org
+COMMENT=	Pure OCaml regular expressions
+
+LICENSE=	LGPL21
+
+USES=	gmake
+HAS_CONFIGURE=	yes
+MAKE_JOBS_UNSAFE=	yes
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	ocaml
+GH_PROJECT=	${PKGNAMEPREFIX}${PORTNAME}
+GH_TAGNAME=	${PKGNAMEPREFIX}${PORTNAME}-${PORTVERSION}
+
+USE_OCAML=		yes
+USE_OCAML_FINDLIB=	yes
+USE_OCAMLFIND_PLIST=	yes
+
+CONFIGURE_ARGS=		--destdir "${DESTDIRNAME}"
+
+do-configure:
+	cd ${WRKSRC} && ocaml setup.ml -configure ${CONFIGURE_ARGS}
+
+.include <bsd.port.mk>

Added: head/devel/ocaml-re/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/ocaml-re/distinfo	Wed Aug  5 20:41:20 2015	(r393615)
@@ -0,0 +1,2 @@
+SHA256 (ocaml-ocaml-re-1.4.1-ocaml-re-1.4.1_GH0.tar.gz) = 262554309d645f4126a2a2e21e3a798d250293264fda34d6271243cc6c16e576
+SIZE (ocaml-ocaml-re-1.4.1-ocaml-re-1.4.1_GH0.tar.gz) = 99877

Added: head/devel/ocaml-re/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/ocaml-re/pkg-descr	Wed Aug  5 20:41:20 2015	(r393615)
@@ -0,0 +1,9 @@
+Re is a regular expression library for OCaml.
+
+The following styles of regular expressions are supported:
+* Perl-style regular expressions (module Re_perl);
+* Posix extended regular expressions (module Re_posix);
+* Emacs-style regular expressions (module Re_emacs);
+* Shell-style file globbing (module Re_glob).
+
+WWW: https://github.com/ocaml/ocaml-re



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