From owner-dev-commits-ports-all@freebsd.org Fri Sep 17 12:41:20 2021 Return-Path: Delivered-To: dev-commits-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 42D926B2BD2; Fri, 17 Sep 2021 12:41:20 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4H9tqM6b0Kz3mfp; Fri, 17 Sep 2021 12:41:19 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id BCA9215031; Fri, 17 Sep 2021 12:41:19 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 18HCfJEt043142; Fri, 17 Sep 2021 12:41:19 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 18HCfJMF043141; Fri, 17 Sep 2021 12:41:19 GMT (envelope-from git) Date: Fri, 17 Sep 2021 12:41:19 GMT Message-Id: <202109171241.18HCfJMF043141@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Alexey Dokuchaev Subject: git: c5a8ab849b25 - main - devel/ocaml-cmdliner: prepare for OCaml 4.06+ MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: danfe X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: c5a8ab849b253640796e5ac5116238b31c29e513 Auto-Submitted: auto-generated X-BeenThere: dev-commits-ports-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commit messages for all branches of the ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Sep 2021 12:41:20 -0000 The branch main has been updated by danfe: URL: https://cgit.FreeBSD.org/ports/commit/?id=c5a8ab849b253640796e5ac5116238b31c29e513 commit c5a8ab849b253640796e5ac5116238b31c29e513 Author: Alexey Dokuchaev AuthorDate: 2021-09-17 12:40:08 +0000 Commit: Alexey Dokuchaev CommitDate: 2021-09-17 12:40:10 +0000 devel/ocaml-cmdliner: prepare for OCaml 4.06+ - Update to version 1.0.4, now licensed under ISCL - Set LICENSE_FILE as it is not just a boilerplate but contains actual copyright information - Drop dependency on `devel/ocaml-ocamlbuild' (unused since v1.0.3) - Don't hand-roll build and installation routines, use provided - Convert to static pkg-plist and install documentation files - Mark as parallel build unsafe for the moment due to this error: File "cmdliner.ml", line 1: Error: Corrupted compilation unit description or this: File "cmdliner.ml", line 1: Error: The files cmdliner_arg.cmi and cmdliner_term.cmi make inconsistent assumptions over interface Cmdliner_term --- devel/ocaml-cmdliner/Makefile | 25 ++++++++++--------------- devel/ocaml-cmdliner/distinfo | 5 +++-- devel/ocaml-cmdliner/pkg-plist | 23 +++++++++++++++++++++++ 3 files changed, 36 insertions(+), 17 deletions(-) diff --git a/devel/ocaml-cmdliner/Makefile b/devel/ocaml-cmdliner/Makefile index f3cad26e7a20..9a47cf5b5bbb 100644 --- a/devel/ocaml-cmdliner/Makefile +++ b/devel/ocaml-cmdliner/Makefile @@ -1,5 +1,5 @@ PORTNAME= cmdliner -PORTVERSION= 0.9.8 +PORTVERSION= 1.0.4 CATEGORIES= devel MASTER_SITES= http://erratique.ch/software/cmdliner/releases/ PKGNAMEPREFIX= ocaml- @@ -7,23 +7,18 @@ PKGNAMEPREFIX= ocaml- MAINTAINER= ports@FreeBSD.org COMMENT= OCaml module for handling of command line interfaces -LICENSE= BSD3CLAUSE +LICENSE= ISCL +LICENSE_FILE= ${WRKSRC}/LICENSE.md -BUILD_DEPENDS= ocamlbuild:devel/ocaml-ocamlbuild - -USES= tar:tbz +USES= gmake tar:tbz USE_OCAML= yes -USE_OCAML_FINDLIB= yes -USE_OCAMLFIND_PLIST= yes USE_OCAML_LDCONFIG= yes +MAKE_JOBS_UNSAFE= tes +MAKE_ARGS= DOCDIR=${STAGEDIR}${OCAML_DOCSDIR}/${PORTNAME} \ + LIBDIR=${STAGEDIR}${PREFIX}/${OCAML_SITELIBDIR} +INSTALL_TARGET= install -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 +OPTIONS_DEFINE= DOCS +DOCS_INSTALL_TARGET= install-doc .include diff --git a/devel/ocaml-cmdliner/distinfo b/devel/ocaml-cmdliner/distinfo index 55a0c8525b4b..d6e2a89a5fb9 100644 --- a/devel/ocaml-cmdliner/distinfo +++ b/devel/ocaml-cmdliner/distinfo @@ -1,2 +1,3 @@ -SHA256 (cmdliner-0.9.8.tbz) = 7dfaafdd88ec9d96abf8ded4c0ea7111948194400220a56e4bb44a1edfa4bd41 -SIZE (cmdliner-0.9.8.tbz) = 53249 +TIMESTAMP = 1602549970 +SHA256 (cmdliner-1.0.4.tbz) = 5c2a93d44af8a38996a2c0f80fbd7970fe4751f104be470cafa069353fc004c0 +SIZE (cmdliner-1.0.4.tbz) = 49558 diff --git a/devel/ocaml-cmdliner/pkg-plist b/devel/ocaml-cmdliner/pkg-plist new file mode 100644 index 000000000000..23bcc1230969 --- /dev/null +++ b/devel/ocaml-cmdliner/pkg-plist @@ -0,0 +1,23 @@ +%%OCAML_SITELIBDIR%%/META +%%OCAML_SITELIBDIR%%/cmdliner.a +%%OCAML_SITELIBDIR%%/cmdliner.cma +%%OCAML_SITELIBDIR%%/cmdliner.cmi +%%OCAML_SITELIBDIR%%/cmdliner.cmti +%%OCAML_SITELIBDIR%%/cmdliner.cmx +%%OCAML_SITELIBDIR%%/cmdliner.cmxa +%%OCAML_SITELIBDIR%%/cmdliner.cmxs +%%OCAML_SITELIBDIR%%/cmdliner.mli +%%OCAML_SITELIBDIR%%/cmdliner_arg.cmx +%%OCAML_SITELIBDIR%%/cmdliner_base.cmx +%%OCAML_SITELIBDIR%%/cmdliner_cline.cmx +%%OCAML_SITELIBDIR%%/cmdliner_docgen.cmx +%%OCAML_SITELIBDIR%%/cmdliner_info.cmx +%%OCAML_SITELIBDIR%%/cmdliner_manpage.cmx +%%OCAML_SITELIBDIR%%/cmdliner_msg.cmx +%%OCAML_SITELIBDIR%%/cmdliner_suggest.cmx +%%OCAML_SITELIBDIR%%/cmdliner_term.cmx +%%OCAML_SITELIBDIR%%/cmdliner_trie.cmx +%%OCAML_SITELIBDIR%%/opam +%%PORTDOCS%%share/doc/ocaml/cmdliner/CHANGES.md +%%PORTDOCS%%share/doc/ocaml/cmdliner/LICENSE.md +%%PORTDOCS%%share/doc/ocaml/cmdliner/README.md