Date: Fri, 26 Jan 2024 22:07:43 GMT From: Dan Langille <dvl@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: f4b43ba8f017 - main - devel/p5-FFI-Platypus-Lang-Rust: new port Message-ID: <202401262207.40QM7hxI084486@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by dvl: URL: https://cgit.FreeBSD.org/ports/commit/?id=f4b43ba8f017000cb97446c7201b0ee10119707f commit f4b43ba8f017000cb97446c7201b0ee10119707f Author: Dan Langille <dvl@FreeBSD.org> AuthorDate: 2024-01-26 22:06:19 +0000 Commit: Dan Langille <dvl@FreeBSD.org> 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 <bsd.port.mk> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202401262207.40QM7hxI084486>