From owner-dev-commits-ports-main@freebsd.org Tue Sep 14 14:34:27 2021 Return-Path: Delivered-To: dev-commits-ports-main@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 CAFF366A772; Tue, 14 Sep 2021 14:34:27 +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 4H85TH59KKz3hZ9; Tue, 14 Sep 2021 14:34:27 +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 916231C720; Tue, 14 Sep 2021 14:34:27 +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 18EEYRiU050615; Tue, 14 Sep 2021 14:34:27 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 18EEYRYa050614; Tue, 14 Sep 2021 14:34:27 GMT (envelope-from git) Date: Tue, 14 Sep 2021 14:34:27 GMT Message-Id: <202109141434.18EEYRYa050614@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: e33045ec2843 - main - devel/ocaml-topkg: new port had been added (+) 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: e33045ec284355646836358d4e5c5afc942ebc7c Auto-Submitted: auto-generated X-BeenThere: dev-commits-ports-main@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commits to the main branch of the FreeBSD ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Sep 2021 14:34:27 -0000 The branch main has been updated by danfe: URL: https://cgit.FreeBSD.org/ports/commit/?id=e33045ec284355646836358d4e5c5afc942ebc7c commit e33045ec284355646836358d4e5c5afc942ebc7c Author: Alexey Dokuchaev AuthorDate: 2021-09-14 14:33:32 +0000 Commit: Alexey Dokuchaev CommitDate: 2021-09-14 14:33:34 +0000 devel/ocaml-topkg: new port had been added (+) Topkg is a packager for distributing OCaml software. It provides an API to describe the files a package installs in a given build configuration and to specify information about the package's distribution, creation, and publication procedures. WWW: https://erratique.ch/software/topkg --- devel/Makefile | 1 + devel/ocaml-topkg/Makefile | 33 +++++++++++++++++++++++++++++++++ devel/ocaml-topkg/distinfo | 3 +++ devel/ocaml-topkg/pkg-descr | 6 ++++++ devel/ocaml-topkg/pkg-plist | 32 ++++++++++++++++++++++++++++++++ 5 files changed, 75 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 6048b5222fee..42969d599707 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -1629,6 +1629,7 @@ SUBDIR += ocaml-sdl SUBDIR += ocaml-sem SUBDIR += ocaml-sexplib + SUBDIR += ocaml-topkg SUBDIR += ocaml-type_conv SUBDIR += ocaml-uchar SUBDIR += ocaml-ulex diff --git a/devel/ocaml-topkg/Makefile b/devel/ocaml-topkg/Makefile new file mode 100644 index 000000000000..2b5ad56548ad --- /dev/null +++ b/devel/ocaml-topkg/Makefile @@ -0,0 +1,33 @@ +# Created by: Alexey Dokuchaev + +PORTNAME= topkg +PORTVERSION= 1.0.3 +CATEGORIES= devel +MASTER_SITES= https://erratique.ch/software/topkg/releases/ +PKGNAMEPREFIX= ocaml- + +MAINTAINER= danfe@FreeBSD.org +COMMENT= Transitory OCaml software packager + +LICENSE= ISCL +LICENSE_FILE= ${WRKSRC}/LICENSE.md + +BUILD_DEPENDS= ocamlbuild:devel/ocaml-ocamlbuild \ + opam-installer:devel/ocaml-opam + +USES= tar:tbz +USE_OCAML= yes +USE_OCAML_FINDLIB= yes + +OPTIONS_DEFINE= DOCS + +do-build: + cd ${WRKSRC} && ocaml pkg/pkg.ml build + +do-install: + cd ${INSTALL_WRKSRC} && opam-installer -i \ + --prefix=${STAGEDIR}${PREFIX} \ + --docdir=${OCAML_DOCSDIR:S,^${PREFIX}/,,} \ + --libdir=${OCAML_SITELIBDIR} ${PORTNAME}.install + +.include diff --git a/devel/ocaml-topkg/distinfo b/devel/ocaml-topkg/distinfo new file mode 100644 index 000000000000..1273f57f44b9 --- /dev/null +++ b/devel/ocaml-topkg/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1630879713 +SHA256 (topkg-1.0.3.tbz) = c6a305afaa49e4a26de4dfaa5fa9b8a91fa2ada224ba79ce467ee195be7ee72c +SIZE (topkg-1.0.3.tbz) = 95723 diff --git a/devel/ocaml-topkg/pkg-descr b/devel/ocaml-topkg/pkg-descr new file mode 100644 index 000000000000..ec6d4347cd05 --- /dev/null +++ b/devel/ocaml-topkg/pkg-descr @@ -0,0 +1,6 @@ +Topkg is a packager for distributing OCaml software. It provides an API +to describe the files a package installs in a given build configuration +and to specify information about the package's distribution, creation, +and publication procedures. + +WWW: https://erratique.ch/software/topkg diff --git a/devel/ocaml-topkg/pkg-plist b/devel/ocaml-topkg/pkg-plist new file mode 100644 index 000000000000..850a836fbb4e --- /dev/null +++ b/devel/ocaml-topkg/pkg-plist @@ -0,0 +1,32 @@ +%%OCAML_SITELIBDIR%%/topkg/META +%%OCAML_SITELIBDIR%%/topkg/opam +%%OCAML_SITELIBDIR%%/topkg/topkg.a +%%OCAML_SITELIBDIR%%/topkg/topkg.cma +%%OCAML_SITELIBDIR%%/topkg/topkg.cmi +%%OCAML_SITELIBDIR%%/topkg/topkg.cmti +%%OCAML_SITELIBDIR%%/topkg/topkg.cmx +%%OCAML_SITELIBDIR%%/topkg/topkg.cmxa +%%OCAML_SITELIBDIR%%/topkg/topkg.cmxs +%%OCAML_SITELIBDIR%%/topkg/topkg.mli +%%OCAML_SITELIBDIR%%/topkg/topkg_build.cmx +%%OCAML_SITELIBDIR%%/topkg/topkg_cmd.cmx +%%OCAML_SITELIBDIR%%/topkg/topkg_codec.cmx +%%OCAML_SITELIBDIR%%/topkg/topkg_conf.cmx +%%OCAML_SITELIBDIR%%/topkg/topkg_distrib.cmx +%%OCAML_SITELIBDIR%%/topkg/topkg_fexts.cmx +%%OCAML_SITELIBDIR%%/topkg/topkg_fpath.cmx +%%OCAML_SITELIBDIR%%/topkg/topkg_install.cmx +%%OCAML_SITELIBDIR%%/topkg/topkg_ipc.cmx +%%OCAML_SITELIBDIR%%/topkg/topkg_log.cmx +%%OCAML_SITELIBDIR%%/topkg/topkg_main.cmx +%%OCAML_SITELIBDIR%%/topkg/topkg_opam.cmx +%%OCAML_SITELIBDIR%%/topkg/topkg_os.cmx +%%OCAML_SITELIBDIR%%/topkg/topkg_pkg.cmx +%%OCAML_SITELIBDIR%%/topkg/topkg_publish.cmx +%%OCAML_SITELIBDIR%%/topkg/topkg_result.cmx +%%OCAML_SITELIBDIR%%/topkg/topkg_string.cmx +%%OCAML_SITELIBDIR%%/topkg/topkg_test.cmx +%%OCAML_SITELIBDIR%%/topkg/topkg_vcs.cmx +%%PORTDOCS%%share/doc/ocaml/topkg/CHANGES.md +%%PORTDOCS%%share/doc/ocaml/topkg/LICENSE.md +%%PORTDOCS%%share/doc/ocaml/topkg/README.md