freebsd-ports/devel/p5-FFI-C-Stat/Makefile
Po-Chuan Hsieh ebf53e142c
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.
2022-10-03 10:10:13 +08:00

30 lines
800 B
Makefile

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>