From owner-svn-ports-head@freebsd.org Tue Feb 20 20:24:21 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 64787F27F3B; Tue, 20 Feb 2018 20:24:21 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C7C576BAEF; Tue, 20 Feb 2018 20:24:20 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 84C8E68D9; Tue, 20 Feb 2018 20:24:20 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w1KKOKQN049477; Tue, 20 Feb 2018 20:24:20 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w1KKOJeN049472; Tue, 20 Feb 2018 20:24:19 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <201802202024.w1KKOJeN049472@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Tue, 20 Feb 2018 20:24:19 +0000 (UTC) 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 X-SVN-Group: ports-head X-SVN-Commit-Author: sunpoet X-SVN-Commit-Paths: in head/devel: . p5-FFI-CheckLib X-SVN-Commit-Revision: 462425 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Feb 2018 20:24:21 -0000 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 +# $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 + +.if ${PERL_LEVEL} < 502501 +TEST_DEPENDS+= p5-Test-Simple>=1.302015:devel/p5-Test-Simple +.endif + +.include 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