From nobody Wed Jun 05 21:27:37 2024 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4VvgXn5RvHz5MLKC; Wed, 05 Jun 2024 21:27:37 +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 4VvgXn4YN9z3xpx; Wed, 5 Jun 2024 21:27:37 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1717622857; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=NGJqd+5raNHbt+K1meg8UMzk/V8BU2Kkb9tn8GzS7I8=; b=H/pMT9Z8rI2zVKhbmX33AkytVRwUM3LkN7IC9k4mg9nKs8OBAYj3nWhnLx5wL9Z3b1nvHz vxzkFlplT1e9AosSWVi12bCFwcnBkxoiMj/aIdb0c06BK/UrevWuTqItOLdk7gymoS0U/8 ePFABSdk2SamKChciqQP09fjBmSz+ck86U4QEAUXB407aYZSmRap3xeaDmhjqVRbRwp+xv wOv3Qsv49gUfFsO8w2cCNB4xmo7iNq2TsFwCQR2YsEPJEepquhJ5uM4THpPd3LYKhByv8i sj/X+lYpy1Q6ZPm5uFOTWKKqz9EIdzHgNVsFvgTiiyPQua7u061KMOhk1tzSKw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1717622857; a=rsa-sha256; cv=none; b=wgBDjeGtgI3SrXcx7ymmvp3k3qVV4K/345AM4zaLA1IFDKC+maU2nC4xGpKJAFqZ9Cc+Od yFsU9jltvusDIQ4LfrHgjfSs+GojO7VL6n1A+bwbnoJeZdR0vX3uHG1A3TPnYb1dIzFA8m m7LzhWJpWiTQpZeFo2T+0t6S1ML9l52MFCfojF7cMPXgQEvyLFwfGoNXsEmgADhKGwpUGp ck4llmy8Y9mCfqHFU2wuF7STVWxbalY9ipM8qzaFhkmdZZd7XiPcbNJ1/R30pj3JY2LQwO v4q692JYUtp/pHyfbEFqqI54oUFZmXU8cV5efkEoYGyPl7Hy6pOCLVxTy9UiUw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1717622857; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=NGJqd+5raNHbt+K1meg8UMzk/V8BU2Kkb9tn8GzS7I8=; b=f/XyHVo+GOdhgxIH7UPZPTMpymFL+prbgoheaL1zqx0iMXH+z/3R0ZFWvavSDdwMzGhEZH m2nTAnz7N6h70Lu1p6VPVJkRnYZLKeodutusy9/nxBwVHrcXBM8QkXOSGXdChDw7+RfW+7 +kncaV0MuJbwDD3o07FkhDos4T8ls52MiCTZ77f5Hwa4p/GqUxSsQ/35iB4wn9EKIZeZ8A h4JfUNCvCpyU9r1ldzQeXqZGP/Bz4tiEx6s+SvEYVlYN8wTf+xjbzPtjbQEosJVjNApcY1 2EesTirs0eJpaW6dEGHqD/5tqap2GP4+TvdjiHcNny8L9A2irpn6n03Exod2cw== 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 4VvgXn491pzJQY; Wed, 5 Jun 2024 21:27:37 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 455LRbgP047294; Wed, 5 Jun 2024 21:27:37 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 455LRbtX047291; Wed, 5 Jun 2024 21:27:37 GMT (envelope-from git) Date: Wed, 5 Jun 2024 21:27:37 GMT Message-Id: <202406052127.455LRbtX047291@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Neel Chauhan Subject: git: 9668ddabff1f - main - devel/ocaml-curses: New port: OCaml bindings to ncurses List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: nc X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 9668ddabff1f18d6f1b805730f06f97d52c9bbf9 Auto-Submitted: auto-generated The branch main has been updated by nc: URL: https://cgit.FreeBSD.org/ports/commit/?id=9668ddabff1f18d6f1b805730f06f97d52c9bbf9 commit 9668ddabff1f18d6f1b805730f06f97d52c9bbf9 Author: Benjamin Jacobs AuthorDate: 2024-06-03 21:28:31 +0000 Commit: Neel Chauhan CommitDate: 2024-06-05 21:27:08 +0000 devel/ocaml-curses: New port: OCaml bindings to ncurses PR: 279508 --- devel/Makefile | 1 + devel/ocaml-curses/Makefile | 34 ++++++++++++++++++++++++++++++++++ devel/ocaml-curses/distinfo | 3 +++ devel/ocaml-curses/pkg-descr | 3 +++ devel/ocaml-curses/pkg-plist | 15 +++++++++++++++ 5 files changed, 56 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 04b646c78173..cb718ca93143 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -1722,6 +1722,7 @@ SUBDIR += ocaml-cppo SUBDIR += ocaml-csexp SUBDIR += ocaml-cstruct + SUBDIR += ocaml-curses SUBDIR += ocaml-domain-name SUBDIR += ocaml-dune SUBDIR += ocaml-extlib diff --git a/devel/ocaml-curses/Makefile b/devel/ocaml-curses/Makefile new file mode 100644 index 000000000000..c8fe30a9d6e7 --- /dev/null +++ b/devel/ocaml-curses/Makefile @@ -0,0 +1,34 @@ +PORTNAME= curses +PORTVERSION= 1.0.11 +CATEGORIES= devel +PKGNAMEPREFIX= ocaml- + +MAINTAINER= freebsd@dev.thsi.be +COMMENT= (N)curses binding for OCaml +WWW= https://github.com/mbacarella/curses + +LICENSE= LGPL21+ # with a special exception to clause 6 +LICENSE_FILE= ${WRKSRC}/COPYING + +USES= ncurses ocaml:dune pkgconfig +USE_GITHUB= yes +GH_ACCOUNT= mbacarella +USE_OCAML= yes +USE_OCAML_LDCONFIG= yes + +DOCSDIR= ${OCAML_DOCSDIR}/${PORTNAME} +PORTDOCS= CHANGES.md README.md + +OPTIONS_DEFINE= DOCS + +post-patch: + @${REINPLACE_CMD} \ + -e "s/(name ${PORTNAME})/&\n(version ${PORTVERSION})/" \ + ${WRKSRC}/dune-project + +post-install: + @${STRIP_CMD} \ + ${STAGEDIR}${PREFIX}/${OCAML_SITELIBDIR}/curses/dllcurses_stubs.so \ + ${STAGEDIR}${PREFIX}/${OCAML_SITELIBDIR}/curses/curses.cmxs + +.include diff --git a/devel/ocaml-curses/distinfo b/devel/ocaml-curses/distinfo new file mode 100644 index 000000000000..a8cf2bbdf3a4 --- /dev/null +++ b/devel/ocaml-curses/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1717440498 +SHA256 (mbacarella-curses-1.0.11_GH0.tar.gz) = 603c08e816b22e200f7818544ffd016620a808945cfa757dd1aeb245e0b51c0e +SIZE (mbacarella-curses-1.0.11_GH0.tar.gz) = 28807 diff --git a/devel/ocaml-curses/pkg-descr b/devel/ocaml-curses/pkg-descr new file mode 100644 index 000000000000..5bf29c127b2a --- /dev/null +++ b/devel/ocaml-curses/pkg-descr @@ -0,0 +1,3 @@ +This OCaml library provides bindings to the (n)curses library. All the +the types and all the functions available in the Curses module are +direct translations of the ncurses(3X) concepts. diff --git a/devel/ocaml-curses/pkg-plist b/devel/ocaml-curses/pkg-plist new file mode 100644 index 000000000000..a7f678b07678 --- /dev/null +++ b/devel/ocaml-curses/pkg-plist @@ -0,0 +1,15 @@ +%%OCAML_SITELIBDIR%%/curses/META +%%OCAML_SITELIBDIR%%/curses/curses.a +%%OCAML_SITELIBDIR%%/curses/curses.cma +%%OCAML_SITELIBDIR%%/curses/curses.cmi +%%OCAML_SITELIBDIR%%/curses/curses.cmt +%%OCAML_SITELIBDIR%%/curses/curses.cmti +%%OCAML_SITELIBDIR%%/curses/curses.cmx +%%OCAML_SITELIBDIR%%/curses/curses.cmxa +%%OCAML_SITELIBDIR%%/curses/curses.ml +%%OCAML_SITELIBDIR%%/curses/curses.mli +%%OCAML_SITELIBDIR%%/curses/dune-package +%%OCAML_SITELIBDIR%%/curses/libcurses_stubs.a +%%OCAML_SITELIBDIR%%/curses/opam +%%OCAML_SITELIBDIR%%/curses/curses.cmxs +%%OCAML_SITELIBDIR%%/curses/dllcurses_stubs.so