From nobody Mon Oct 3 02:24:23 2022 X-Original-To: dev-commits-ports-all@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 4Mgl5h0wvtz4f9Hj; Mon, 3 Oct 2022 02:24:24 +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 4Mgl5h0PMhz44Ky; Mon, 3 Oct 2022 02:24:24 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1664763864; 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=CvmhYdNWtSubkn5DoYrVngsYp0lKaUwu2pVk0DMn8wg=; b=O1kBf+9GNRgZCCp4V7XPfxTYYEsb3sIBMWPU+KgsrdwnJVt7bFr0sDfGSb15zrofeOIxnB sPdpHrwU9kd1guejuLZhEskbjCAcoZVuLKZPmr1rCyCH5RcCVoW7H44qNKqV/8ZyzZTBi5 NWgCUvkFKpIDVKMzN+DTxi6RvMlwtiZCJVYMzhB4pj4w13+5zPjliPzUVMLFUksvGbdKRr PLMwKHa667sJ/nwli9z2fFw7PcWetjcaIeIE1Tle4/b3y0ZiN7aJRVJvvDDK69X4YASOha XFRR+8dXDJxbnst0MtsxRfMDIl+ih8HQMpPyG9MCSTQccvGE2WTSSGCKTO306w== 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 4Mgl5g6bpWz13q0; Mon, 3 Oct 2022 02:24:23 +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 2932ON1U096559; Mon, 3 Oct 2022 02:24:23 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2932ONvO096558; Mon, 3 Oct 2022 02:24:23 GMT (envelope-from git) Date: Mon, 3 Oct 2022 02:24:23 GMT Message-Id: <202210030224.2932ONvO096558@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: ebf53e142c64 - main - devel/p5-FFI-C-Stat: Add p5-FFI-C-Stat 0.02 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: ebf53e142c6413a8fcb428f036456ff36031ae8c Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1664763864; 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=CvmhYdNWtSubkn5DoYrVngsYp0lKaUwu2pVk0DMn8wg=; b=GbnrE8xPlnFESGNkX2Y1fn/FF6dJVVVC9Bszoeokfdu9qAsAxGkgOfhA8tqP+aAISEyuQz LEWySYkphjEUW+6IW7mkYJ4SIVLN0wiAh0Yze3qOCZmHuhlN98m2Jj7e6X8DRESWx/waRC OiAzFF4RhQNnsUVQvdkclaWgouEkL2CoZgL4l1yP4J7qh/EJFJ5xw2MPkWCtT6GUeCiUp1 DwKHpZJ/uHUFWd2pv5Pc1FL+5pNYLrzMTuVThZ5keB6vHECpovtzxmvUG2MLpMVB/dYmHh XrPuHcaRK5wZrM7G6y/Yd6HfMoJyab17kQWljkKygj0MHSbbOBHjGWeilZhT8g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1664763864; a=rsa-sha256; cv=none; b=mTs8Tu71rEO1NePk9hrLwE6sBY4xHb/Oyj/LldTYlZg4o3ihfueMvBMK3E0MkCjNqbk85C 8sa27yhc5DpLef1j0rk6gWjGVtwKuYwXRF1gPThD4s45K6SxRTS9UtlWFq3M8K+4JNGP7F OqR8BlYCNyl28DxL4VbYlKa5ohP/3L3B76Td9yl4OyY6xh1aGe4KrauVqWL5EoqFPIom+J iKYpOBny6MUt0KXs7nivUjbtgr5EhknXh5ej1rCf5iV85AxspGT7l+dFnBUx6yZy9zYERV JQin2uHlVylKb8p++essZklhA9URAXaJO6mi1Fn+BIhidBRZuFkfDzA2tsZNYQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=ebf53e142c6413a8fcb428f036456ff36031ae8c commit ebf53e142c6413a8fcb428f036456ff36031ae8c Author: Po-Chuan Hsieh AuthorDate: 2022-10-03 02:10:13 +0000 Commit: Po-Chuan Hsieh CommitDate: 2022-10-03 02:10:13 +0000 devel/p5-FFI-C-Stat: Add p5-FFI-C-Stat 0.02 Perl comes with perfectly good stat, lstat functions, however if you are writing FFI bindings for a library that use the C stat structure, you are out of luck there. FFI::C::Stat Perl comes with perfectly good stat, lstat functions, however if you are writing FFI bindings for a library that use the C stat structure, you are out of luck there. --- devel/Makefile | 1 + devel/p5-FFI-C-Stat/Makefile | 29 +++++++++++++++++++++++++++++ devel/p5-FFI-C-Stat/distinfo | 3 +++ devel/p5-FFI-C-Stat/pkg-descr | 5 +++++ devel/p5-FFI-C-Stat/pkg-plist | 4 ++++ 5 files changed, 42 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 84e9be16c7cf..a8fcdf301182 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -2374,6 +2374,7 @@ SUBDIR += p5-ExtUtils-PkgConfig SUBDIR += p5-ExtUtils-XSBuilder SUBDIR += p5-ExtUtils-XSpp + SUBDIR += p5-FFI-C-Stat SUBDIR += p5-FFI-CheckLib SUBDIR += p5-FFI-Platypus SUBDIR += p5-FFI-Platypus-Declare diff --git a/devel/p5-FFI-C-Stat/Makefile b/devel/p5-FFI-C-Stat/Makefile new file mode 100644 index 000000000000..ee84dd624e16 --- /dev/null +++ b/devel/p5-FFI-C-Stat/Makefile @@ -0,0 +1,29 @@ +PORTNAME= FFI-C-Stat +PORTVERSION= 0.02 +CATEGORIES= devel perl5 +MASTER_SITES= CPAN +PKGNAMEPREFIX= p5- + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Object-oriented FFI interface to native stat and lstat +WWW= https://metacpan.org/dist/FFI-C-Stat + +LICENSE= ART10 GPLv1+ +LICENSE_COMB= dual +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${RUN_DEPENDS} +RUN_DEPENDS= p5-FFI-Platypus>=1.00:devel/p5-FFI-Platypus \ + p5-Ref-Util>=0:devel/p5-Ref-Util +TEST_DEPENDS= p5-File-chdir>=0:devel/p5-File-chdir \ + p5-Path-Tiny>=0:devel/p5-Path-Tiny \ + p5-Test-Script>=1.09:devel/p5-Test-Script \ + p5-Test2-Suite>=0.000060:devel/p5-Test2-Suite + +USES= perl5 +USE_PERL5= configure + +post-install: + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/share/dist/FFI-C-Stat/lib/libFFI-C-Stat.so + +.include diff --git a/devel/p5-FFI-C-Stat/distinfo b/devel/p5-FFI-C-Stat/distinfo new file mode 100644 index 000000000000..d00ad6512d08 --- /dev/null +++ b/devel/p5-FFI-C-Stat/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1663672722 +SHA256 (FFI-C-Stat-0.02.tar.gz) = 4e15d8f6f9f98407c652d9d313b51150771392018e071d7c192843ac82c1be59 +SIZE (FFI-C-Stat-0.02.tar.gz) = 18773 diff --git a/devel/p5-FFI-C-Stat/pkg-descr b/devel/p5-FFI-C-Stat/pkg-descr new file mode 100644 index 000000000000..c3fef61b47b6 --- /dev/null +++ b/devel/p5-FFI-C-Stat/pkg-descr @@ -0,0 +1,5 @@ +Perl comes with perfectly good stat, lstat functions, however if you are writing +FFI bindings for a library that use the C stat structure, you are out of luck +there. FFI::C::Stat Perl comes with perfectly good stat, lstat functions, +however if you are writing FFI bindings for a library that use the C stat +structure, you are out of luck there. diff --git a/devel/p5-FFI-C-Stat/pkg-plist b/devel/p5-FFI-C-Stat/pkg-plist new file mode 100644 index 000000000000..fdc354c93123 --- /dev/null +++ b/devel/p5-FFI-C-Stat/pkg-plist @@ -0,0 +1,4 @@ +%%SITE_ARCH%%/FFI/C/Stat.pm +%%SITE_ARCH%%/auto/FFI/C/Stat/Stat.txt +%%SITE_ARCH%%/auto/share/dist/FFI-C-Stat/lib/libFFI-C-Stat.so +%%PERL5_MAN3%%/FFI::C::Stat.3.gz