Date: Sun, 17 May 2015 13:01:20 +0000 (UTC) From: Johan van Selst <johans@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r386608 - in head/devel: . ocaml-cmdliner Message-ID: <201505171301.t4HD1KGd071872@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: johans Date: Sun May 17 13:01:19 2015 New Revision: 386608 URL: https://svnweb.freebsd.org/changeset/ports/386608 Log: Add new port devel/ocaml-cmdliner Cmdliner is an OCaml module for the declarative definition of command line interfaces. It provides a simple and compositional mechanism to convert command line arguments to OCaml values and pass them to your functions. The module automatically handles syntax errors, help messages and UNIX man page generation. It supports programs with single or multiple commands (like darcs or git) and respects most of the POSIX and GNU conventions. This module is required to update lang/js_of_ocaml Added: head/devel/ocaml-cmdliner/ head/devel/ocaml-cmdliner/Makefile (contents, props changed) head/devel/ocaml-cmdliner/distinfo (contents, props changed) head/devel/ocaml-cmdliner/pkg-descr (contents, props changed) Modified: head/devel/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Sun May 17 12:49:59 2015 (r386607) +++ head/devel/Makefile Sun May 17 13:01:19 2015 (r386608) @@ -1400,6 +1400,7 @@ SUBDIR += ocaml-camomile-examples SUBDIR += ocaml-cfg SUBDIR += ocaml-classes + SUBDIR += ocaml-cmdliner SUBDIR += ocaml-cppo SUBDIR += ocaml-deriving-ocsigen SUBDIR += ocaml-equeue Added: head/devel/ocaml-cmdliner/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/ocaml-cmdliner/Makefile Sun May 17 13:01:19 2015 (r386608) @@ -0,0 +1,29 @@ +# $FreeBSD$ + +PORTNAME= cmdliner +PORTVERSION= 0.9.7 +CATEGORIES= devel +MASTER_SITES= http://erratique.ch/software/cmdliner/releases/ +PKGNAMEPREFIX= ocaml- + +MAINTAINER= johans@FreeBSD.org +COMMENT= OCaml module for handling of command line interfaces + +LICENSE= BSD3CLAUSE + +USES= tar:tbz +USE_OCAML= yes +USE_OCAML_FINDLIB= yes +USE_OCAMLFIND_PLIST= yes +USE_OCAML_LDCONFIG= yes + +do-build: + cd ${WRKSRC} && ocamlbuild cmdliner.cmxs cmdliner.cma cmdliner.a + +do-install: + ${MKDIR} ${STAGEDIR}${OCAMLFIND_DESTDIR}/cmdliner + cd ${WRKSRC} && ocamlfind install -destdir ${STAGEDIR}${PREFIX}/lib/ocaml/site-lib cmdliner pkg/META _build/src/cmdliner.a _build/src/cmdliner.cma _build/src/cmdliner.cmi _build/src/cmdliner.cmx _build/src/cmdliner.cmxa _build/src/cmdliner.cmxs _build/src/cmdliner.mli + ${INSTALL_LIB} ${WRKSRC}/_build/src/cmdliner.cmxs \ + ${STAGEDIR}${OCAMLFIND_DESTDIR}/cmdliner + +.include <bsd.port.mk> Added: head/devel/ocaml-cmdliner/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/ocaml-cmdliner/distinfo Sun May 17 13:01:19 2015 (r386608) @@ -0,0 +1,2 @@ +SHA256 (cmdliner-0.9.7.tbz) = 9c19893cffb5d3c3469ee0cce85e3eeeba17d309b33b9ace31aba06f68f0bf7a +SIZE (cmdliner-0.9.7.tbz) = 50343 Added: head/devel/ocaml-cmdliner/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/ocaml-cmdliner/pkg-descr Sun May 17 13:01:19 2015 (r386608) @@ -0,0 +1,10 @@ +Cmdliner is an OCaml module for the declarative definition of command +line interfaces. + +It provides a simple and compositional mechanism to convert command line +arguments to OCaml values and pass them to your functions. The module +automatically handles syntax errors, help messages and UNIX man page +generation. It supports programs with single or multiple commands +(like darcs or git) and respects most of the POSIX and GNU conventions. + +WWW: http://erratique.ch/software/cmdliner
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201505171301.t4HD1KGd071872>