From nobody Fri Jan 26 22:07:43 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 4TMBdW4BkDz58wT9; Fri, 26 Jan 2024 22:07:43 +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 4TMBdW3dMNz4cGh; Fri, 26 Jan 2024 22:07:43 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1706306863; 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=kYG8iafgqaEczJEZJ8xzYc72VlRXFLUeKC6NpwEcJ5w=; b=jGO0ozFP1o04tKaT3cl18ZzBdQv3+ii6wJiv4Mr3CZ6aUPvYurQRsd+ciMdGeG2u/pnFTg IKSn4HpMZx9rnFABg4A0kkaSfcW4KoJEjZdBtMflgaXq9WXNG6SlmW9Z5GC5WTZbaGqfPT OduZn8zi2Uffh7B2ihl2mJcSAvJ/qzMfts3lZejub48xN6QHJ2f1S2w3c1XS9eTFM7S5ZI z260N18Pbgz6OEJvQ9v8TflY0XlDZwmvx/OtrnezpF2tVSJKYPZK6O4c86HMbRr4UqKLVh nwYHIYiimuOK6V+cHEmGXxiGS1ri+gHjiuQCHTMuwk/CfWsNjBKRAxt9/2iVGQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1706306863; 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=kYG8iafgqaEczJEZJ8xzYc72VlRXFLUeKC6NpwEcJ5w=; b=mrUB2Hy7GidZ5e69/uf4Z0NheDaA3hlqvA0R4QE1Ory6l0zZMGlLfPOdlBeC7Q2HNfBZkJ QU0Joht/4Ldw9GvG/T2bCaaVtzYiWs0kfrxJhvkSmUGTbJZ0nVFc7f746bXoCYhgGHKMIX 15dzyWeH7KA+lImQRkuwkRVZpfolgW4tqBvr35UIdqWv/hhh3PJB89rBxaxJvSz1I+dwCr oEUJPb4BJmujR1PwjNrZQKSiwOEFaRJx8Id1oYK8chHirhVYygWv6JCqW9XdYOT/qAUnIl 87heJAUTKe4xMLZEj1G8CO+8HtJILiEv94O3OUYyqF6881MNOMpTj7imXO46Xw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1706306863; a=rsa-sha256; cv=none; b=W9wXICIRgx0JZlnl99fgn3RhGyXCDNJsqh2ZcZag7PsN87mfS4YOt44L7f7JiIfFBrgC3/ 6HXh6BjqUp17kiXmA0WrLUFmCTHHy4v9nmFpiOUR7N3cFvh4Wa3lQbgZynIQS34gnrhm37 8WU+am7P89/a5R9xW25LBLSLgqm7jiOYULvzgBe6CQUmbjytXawJZBsCa2Qec4e+fvpRsU soE/SqLff8Rfwv6BzCZZ6fZTRVloTvTU3Dwraxp/U/hTnKot4+YniZfjX+O1t/lthmOAaZ dbVpVNLohy76upETvCjCi7OEfipHKP/4PCyi8Jp8GQNX8GaoSSwYFRO0kkF0jQ== 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 4TMBdW2gtzzyn4; Fri, 26 Jan 2024 22:07:43 +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 40QM7hJd084489; Fri, 26 Jan 2024 22:07:43 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 40QM7hxI084486; Fri, 26 Jan 2024 22:07:43 GMT (envelope-from git) Date: Fri, 26 Jan 2024 22:07:43 GMT Message-Id: <202401262207.40QM7hxI084486@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Dan Langille Subject: git: f4b43ba8f017 - main - devel/p5-FFI-Platypus-Lang-Rust: new port 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: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: dvl X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: f4b43ba8f017000cb97446c7201b0ee10119707f Auto-Submitted: auto-generated The branch main has been updated by dvl: URL: https://cgit.FreeBSD.org/ports/commit/?id=f4b43ba8f017000cb97446c7201b0ee10119707f commit f4b43ba8f017000cb97446c7201b0ee10119707f Author: Dan Langille AuthorDate: 2024-01-26 22:06:19 +0000 Commit: Dan Langille CommitDate: 2024-01-26 22:07:31 +0000 devel/p5-FFI-Platypus-Lang-Rust: new port Documentation and tools for using Platypus with the Rust programming language --- devel/Makefile | 1 + devel/p5-FFI-Platypus-Lang-Rust/Makefile | 27 +++++++++++++++++++++++++++ devel/p5-FFI-Platypus-Lang-Rust/distinfo | 3 +++ devel/p5-FFI-Platypus-Lang-Rust/pkg-descr | 8 ++++++++ devel/p5-FFI-Platypus-Lang-Rust/pkg-plist | 4 ++++ 5 files changed, 43 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 316582c1486d..1f666b5ee0b3 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -2464,6 +2464,7 @@ SUBDIR += p5-FFI-CheckLib SUBDIR += p5-FFI-Platypus SUBDIR += p5-FFI-Platypus-Declare + SUBDIR += p5-FFI-Platypus-Lang-Rust SUBDIR += p5-FFI-Platypus-Type-Enum SUBDIR += p5-FFI-Platypus-Type-PtrObject SUBDIR += p5-FSA-Rules diff --git a/devel/p5-FFI-Platypus-Lang-Rust/Makefile b/devel/p5-FFI-Platypus-Lang-Rust/Makefile new file mode 100644 index 000000000000..ea2f76cc2397 --- /dev/null +++ b/devel/p5-FFI-Platypus-Lang-Rust/Makefile @@ -0,0 +1,27 @@ +PORTNAME= FFI-Platypus-Lang-Rust +PORTVERSION= 0.17 +CATEGORIES= devel perl5 +MASTER_SITES= CPAN +PKGNAMEPREFIX= p5- + +MAINTAINER= dvl@FreeBSD.org +COMMENT= Platypus Documentation and tools for using Rust +WWW= https://metacpan.org/pod/FFI::Platypus::Lang::Rust + +LICENSE= ART10 GPLv1+ +LICENSE_COMB= dual +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${RUN_DEPENDS} +RUN_DEPENDS= p5-FFI-CheckLib>0:devel/p5-FFI-CheckLib \ + p5-FFI-Platypus>0:devel/p5-FFI-Platypus \ + p5-File-chdir>0:devel/p5-File-chdir \ + p5-File-Which>0:sysutils/p5-File-Which \ + p5-Text-Shellwords>0:textproc/p5-Text-Shellwords + +USES= perl5 +USE_PERL5= configure + +NO_ARCH= yes + +.include diff --git a/devel/p5-FFI-Platypus-Lang-Rust/distinfo b/devel/p5-FFI-Platypus-Lang-Rust/distinfo new file mode 100644 index 000000000000..ea282c0f386d --- /dev/null +++ b/devel/p5-FFI-Platypus-Lang-Rust/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1706304608 +SHA256 (FFI-Platypus-Lang-Rust-0.17.tar.gz) = 41e76fcd823d6c4ef8d3f51e9039215766e336400597118401f13217fcf08f39 +SIZE (FFI-Platypus-Lang-Rust-0.17.tar.gz) = 39238 diff --git a/devel/p5-FFI-Platypus-Lang-Rust/pkg-descr b/devel/p5-FFI-Platypus-Lang-Rust/pkg-descr new file mode 100644 index 000000000000..4c2b6e402e61 --- /dev/null +++ b/devel/p5-FFI-Platypus-Lang-Rust/pkg-descr @@ -0,0 +1,8 @@ +This module provides native Rust types for FFI::Platypus in order to +reduce cognitive load and concentrate on Rust and forget about C +types. This document also documents issues and caveats that I have +discovered in my attempts to work with Rust and FFI. + +Note that in addition to using pre-compiled Rust libraries, you can +bundle Rust code with your Perl distribution using FFI::Build and +FFI::Build::File::Cargo. diff --git a/devel/p5-FFI-Platypus-Lang-Rust/pkg-plist b/devel/p5-FFI-Platypus-Lang-Rust/pkg-plist new file mode 100644 index 000000000000..10befacc0911 --- /dev/null +++ b/devel/p5-FFI-Platypus-Lang-Rust/pkg-plist @@ -0,0 +1,4 @@ +%%SITE_PERL%%/FFI/Build/File/Cargo.pm +%%SITE_PERL%%/FFI/Platypus/Lang/Rust.pm +%%PERL5_MAN3%%/FFI::Build::File::Cargo.3.gz +%%PERL5_MAN3%%/FFI::Platypus::Lang::Rust.3.gz