From owner-svn-ports-all@FreeBSD.ORG Sun May 17 13:01:21 2015 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 333B5F28; Sun, 17 May 2015 13:01:21 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 210551D94; Sun, 17 May 2015 13:01:21 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t4HD1Ksa071876; Sun, 17 May 2015 13:01:21 GMT (envelope-from johans@FreeBSD.org) Received: (from johans@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t4HD1KGd071872; Sun, 17 May 2015 13:01:20 GMT (envelope-from johans@FreeBSD.org) Message-Id: <201505171301.t4HD1KGd071872@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: johans set sender to johans@FreeBSD.org using -f From: Johan van Selst Date: Sun, 17 May 2015 13:01:20 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r386608 - in head/devel: . ocaml-cmdliner X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 May 2015 13:01:21 -0000 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 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