From nobody Mon May 06 08:23:33 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 4VXvYx6Rbpz5JdGK; Mon, 06 May 2024 08:23:33 +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 4VXvYx3qLTz4tqV; Mon, 6 May 2024 08:23:33 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1714983813; 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=oaVVbmXY9BPZ7OsephbEF8gnTqekuqA7PH70m+uPkoM=; b=aXLpViDmUzK6wzGjjy69T1JBgHB5CSK0r/+oe+0G+gtaIQ8zTHSMywCKknoh48K89Orqzd 4oi2VhFYEVCPP4IVHyiylTZVO/tWOK7bq3DcWy2igUQBwL3XKOP9VSUKeoKvRhr7WiotoB celnAf+1fGIH7V7oA7d47FJHidX/6ZGaIsQlXz48n3JVLzoucvjVLM7aNubYN91eiG0dSW a2bZpfn4QiZgtzBG1BP37TXNpgmUkNVT6OHAaB0YRYKfdra2aoFPcyhDCJWF6IbA22S4/N gS01Jo0yehpM9TanOldoTP8knR8sK/1d2gkdd0fVyHMENRl8QlNRCMdq6oGPlQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1714983813; a=rsa-sha256; cv=none; b=SPMjMGvS7jVhX/B/x7bwMQTQnGGDafPtH6sA3jYzivuhnmtn8PiYjUIsdx0WZDenmzzQA5 2nyNtbnJCDjQmUq6TDmjzErxCmJjuAIJre17yhID95JqKpg4Hef9T9BRxqlqTi6/PTQnxp Hx6ur4XzMLHpkPk/pZ+FnNMI4Cf0ea/HZVYVd4+Q58wgqbvYtPUHFn0y5EVTYQVdijsMZr il3QcvZYMaBQNassmVIbJHOAif+MW0YwfhRLP37h0Sgcqr8JUb+7nNPQUsbRJ2SMRjKeBz Y6r46NbYzgDJ84QCCT6C1QEckeyRrV/Lv21Zi3wigntP/is8ttofzbvJPhKRWg== 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=1714983813; 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=oaVVbmXY9BPZ7OsephbEF8gnTqekuqA7PH70m+uPkoM=; b=pNl10b3rN07DtyfTNq67yFv06rFwsjboM/IsOiv8miT8wEMreTjmosNfy4r7LjhU0mvJXt U8F/rfXpSkJ+1ecIwE5VnlZ7Q1JlqdJ879EvGV340eUnfLcqGkrQ//+QGU/7u2FhFndSGc UmM7MYOZW5qluVYipoM13o+RCZniQBh9fD8SQqL8OYGnosTujUyEmMCjSwTOQne2Cm3odk 7r6UtJBUHDlp7lUl9k1/mHVj17m5nlsRv3EV/WHFhhQc6rO/J8yFfLeRp2/m7wH/tdAFKJ VmRkP1Jf3EYFtEhhg06FCzWW4H5VyQUmiJxUNPDQxIwQYzQF+j8bSOdmT4s5rw== 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 4VXvYx33XrzqK6; Mon, 6 May 2024 08:23:33 +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 4468NXgN023792; Mon, 6 May 2024 08:23:33 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 4468NXwg023789; Mon, 6 May 2024 08:23:33 GMT (envelope-from git) Date: Mon, 6 May 2024 08:23:33 GMT Message-Id: <202405060823.4468NXwg023789@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yuri Victorovich Subject: git: bea3c6ba3b06 - main - devel/corrosion: New port: Easy Rust and C/C++ integration 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: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: bea3c6ba3b06a43e5953d06299540639f489a484 Auto-Submitted: auto-generated The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=bea3c6ba3b06a43e5953d06299540639f489a484 commit bea3c6ba3b06a43e5953d06299540639f489a484 Author: Yuri Victorovich AuthorDate: 2024-05-06 08:22:52 +0000 Commit: Yuri Victorovich CommitDate: 2024-05-06 08:23:25 +0000 devel/corrosion: New port: Easy Rust and C/C++ integration --- devel/Makefile | 1 + devel/corrosion/Makefile | 31 +++++++++++++++++++++++++++++++ devel/corrosion/distinfo | 3 +++ devel/corrosion/pkg-descr | 4 ++++ 4 files changed, 39 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index aa1e59771040..26c2b4d93aa5 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -454,6 +454,7 @@ SUBDIR += containers SUBDIR += convco SUBDIR += corrade + SUBDIR += corrosion SUBDIR += courier-unicode SUBDIR += coursier SUBDIR += covtool diff --git a/devel/corrosion/Makefile b/devel/corrosion/Makefile new file mode 100644 index 000000000000..11d2a25fbd00 --- /dev/null +++ b/devel/corrosion/Makefile @@ -0,0 +1,31 @@ +PORTNAME= corrosion +DISTVERSIONPREFIX= v +DISTVERSION= 0.4.9 +CATEGORIES= devel + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Easy Rust and C/C++ integration +WWW= https://corrosion-rs.github.io/corrosion/ + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= rustc:lang/rust +RUN_DEPENDS= rustc:lang/rust + +USES= cmake:testing compiler:c++14-lang + +USE_GITHUB= yes +GH_ACCOUNT= corrosion-rs + +PLIST_FILES= lib/cmake/Corrosion/CorrosionConfig.cmake \ + lib/cmake/Corrosion/CorrosionConfigVersion.cmake \ + share/cmake/Corrosion.cmake \ + share/cmake/CorrosionGenerator.cmake \ + share/cmake/FindRust.cmake + +CMAKE_TESTING_ON= CORROSION_BUILD_TESTS # 2 tests fail + +NO_ARCH= yes + +.include diff --git a/devel/corrosion/distinfo b/devel/corrosion/distinfo new file mode 100644 index 000000000000..1e449b61f573 --- /dev/null +++ b/devel/corrosion/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1714978036 +SHA256 (corrosion-rs-corrosion-v0.4.9_GH0.tar.gz) = 3346b21c4986c077988e10a19b8737a7b56f6f84ef8e800058b58d1f138e8fa9 +SIZE (corrosion-rs-corrosion-v0.4.9_GH0.tar.gz) = 89764 diff --git a/devel/corrosion/pkg-descr b/devel/corrosion/pkg-descr new file mode 100644 index 000000000000..a72436f1f30c --- /dev/null +++ b/devel/corrosion/pkg-descr @@ -0,0 +1,4 @@ +Corrosion, formerly known as cmake-cargo, is a tool for integrating Rust into an +existing CMake project. Corrosion can automatically import executables, static +libraries, and dynamic libraries from a workspace or package manifest +(Cargo.toml file).