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.
This commit is contained in:
parent
b64244312f
commit
ebf53e142c
@ -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
|
||||
|
||||
29
devel/p5-FFI-C-Stat/Makefile
Normal file
29
devel/p5-FFI-C-Stat/Makefile
Normal file
@ -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 <bsd.port.mk>
|
||||
3
devel/p5-FFI-C-Stat/distinfo
Normal file
3
devel/p5-FFI-C-Stat/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1663672722
|
||||
SHA256 (FFI-C-Stat-0.02.tar.gz) = 4e15d8f6f9f98407c652d9d313b51150771392018e071d7c192843ac82c1be59
|
||||
SIZE (FFI-C-Stat-0.02.tar.gz) = 18773
|
||||
5
devel/p5-FFI-C-Stat/pkg-descr
Normal file
5
devel/p5-FFI-C-Stat/pkg-descr
Normal file
@ -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.
|
||||
4
devel/p5-FFI-C-Stat/pkg-plist
Normal file
4
devel/p5-FFI-C-Stat/pkg-plist
Normal file
@ -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
|
||||
Loading…
x
Reference in New Issue
Block a user