Date: Tue, 20 Feb 2018 20:24:19 +0000 (UTC) From: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r462425 - in head/devel: . p5-FFI-CheckLib Message-ID: <201802202024.w1KKOJeN049472@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sunpoet Date: Tue Feb 20 20:24:19 2018 New Revision: 462425 URL: https://svnweb.freebsd.org/changeset/ports/462425 Log: Add p5-FFI-CheckLib 0.18 FFI::CheckLib checks whether a particular dynamic library is available for FFI to use. It is modeled heavily on Devel::CheckLib, but will find dynamic libraries even when development packages are not installed. It also provides a find_lib function that will return the full path to the found dynamic library, which can be feed directly into FFI::Platypus or FFI::Raw. Although intended mainly for FFI modules via FFI::Platypus and similar, this module does not actually use any FFI to do its detection and probing. This module does not have any non-core runtime dependencies. The test suite does depend on Test2::Suite. WWW: http://search.cpan.org/dist/FFI-CheckLib/ Added: head/devel/p5-FFI-CheckLib/ head/devel/p5-FFI-CheckLib/Makefile (contents, props changed) head/devel/p5-FFI-CheckLib/distinfo (contents, props changed) head/devel/p5-FFI-CheckLib/pkg-descr (contents, props changed) head/devel/p5-FFI-CheckLib/pkg-plist (contents, props changed) Modified: head/devel/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Tue Feb 20 20:24:14 2018 (r462424) +++ head/devel/Makefile Tue Feb 20 20:24:19 2018 (r462425) @@ -2496,6 +2496,7 @@ SUBDIR += p5-ExtUtils-PkgConfig SUBDIR += p5-ExtUtils-XSBuilder SUBDIR += p5-ExtUtils-XSpp + SUBDIR += p5-FFI-CheckLib SUBDIR += p5-FSA-Rules SUBDIR += p5-Fennec-Lite SUBDIR += p5-File-Append-TempFile Added: head/devel/p5-FFI-CheckLib/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/p5-FFI-CheckLib/Makefile Tue Feb 20 20:24:19 2018 (r462425) @@ -0,0 +1,29 @@ +# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org> +# $FreeBSD$ + +PORTNAME= FFI-CheckLib +PORTVERSION= 0.18 +CATEGORIES= devel perl5 +MASTER_SITES= CPAN +PKGNAMEPREFIX= p5- + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Check that a library is available for FFI + +LICENSE= ART10 GPLv1+ +LICENSE_COMB= dual +LICENSE_FILE= ${WRKSRC}/LICENSE + +TEST_DEPENDS= p5-Test2-Suite>=0.000060:devel/p5-Test2-Suite + +NO_ARCH= yes +USE_PERL5= configure +USES= perl5 + +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 502501 +TEST_DEPENDS+= p5-Test-Simple>=1.302015:devel/p5-Test-Simple +.endif + +.include <bsd.port.post.mk> Added: head/devel/p5-FFI-CheckLib/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/p5-FFI-CheckLib/distinfo Tue Feb 20 20:24:19 2018 (r462425) @@ -0,0 +1,3 @@ +TIMESTAMP = 1519144504 +SHA256 (FFI-CheckLib-0.18.tar.gz) = 69ac3da8872e6152db38774ea8dfa8824a0750286c33fa667e66fde9b7da0adf +SIZE (FFI-CheckLib-0.18.tar.gz) = 25848 Added: head/devel/p5-FFI-CheckLib/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/p5-FFI-CheckLib/pkg-descr Tue Feb 20 20:24:19 2018 (r462425) @@ -0,0 +1,12 @@ +FFI::CheckLib checks whether a particular dynamic library is available for FFI +to use. It is modeled heavily on Devel::CheckLib, but will find dynamic +libraries even when development packages are not installed. It also provides a +find_lib function that will return the full path to the found dynamic library, +which can be feed directly into FFI::Platypus or FFI::Raw. + +Although intended mainly for FFI modules via FFI::Platypus and similar, this +module does not actually use any FFI to do its detection and probing. This +module does not have any non-core runtime dependencies. The test suite does +depend on Test2::Suite. + +WWW: http://search.cpan.org/dist/FFI-CheckLib/ Added: head/devel/p5-FFI-CheckLib/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/p5-FFI-CheckLib/pkg-plist Tue Feb 20 20:24:19 2018 (r462425) @@ -0,0 +1,2 @@ +%%SITE_PERL%%/FFI/CheckLib.pm +%%PERL5_MAN3%%/FFI::CheckLib.3.gz
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201802202024.w1KKOJeN049472>