From 83664b8af003830ba2d8a5e3c9ab9dfa16291d45 Mon Sep 17 00:00:00 2001 From: Baptiste Daroussin Date: Thu, 12 Aug 2010 12:47:33 +0000 Subject: [PATCH] Devel::CheckLib provides a way of checking whether a particular library and its headers are available, by attempting to compile a simple program and link against it. WWW: http://search.cpan.org/dist/Devel-CheckLib/ PR: ports/149440 Submitted by: Frederic Culot Approved by: rene@ (mentor vacation) --- devel/Makefile | 1 + devel/p5-Devel-CheckLib/Makefile | 25 +++++++++++++++++++++++++ devel/p5-Devel-CheckLib/distinfo | 3 +++ devel/p5-Devel-CheckLib/pkg-descr | 5 +++++ devel/p5-Devel-CheckLib/pkg-plist | 8 ++++++++ 5 files changed, 42 insertions(+) create mode 100644 devel/p5-Devel-CheckLib/Makefile create mode 100644 devel/p5-Devel-CheckLib/distinfo create mode 100644 devel/p5-Devel-CheckLib/pkg-descr create mode 100644 devel/p5-Devel-CheckLib/pkg-plist diff --git a/devel/Makefile b/devel/Makefile index d7440069f6a8..590ee840d231 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -1481,6 +1481,7 @@ SUBDIR += p5-Devel-Caller SUBDIR += p5-Devel-Caller-Perl SUBDIR += p5-Devel-Callsite + SUBDIR += p5-Devel-CheckLib SUBDIR += p5-Devel-CheckOS SUBDIR += p5-Devel-Constants SUBDIR += p5-Devel-CoreStack diff --git a/devel/p5-Devel-CheckLib/Makefile b/devel/p5-Devel-CheckLib/Makefile new file mode 100644 index 000000000000..f22c279241e9 --- /dev/null +++ b/devel/p5-Devel-CheckLib/Makefile @@ -0,0 +1,25 @@ +# New ports collection makefile for: p5-Devel-CheckLib +# Date created: 08 August 2010 +# Whom: Frederic Culot +# +# $FreeBSD$ +# + +PORTNAME= Devel-CheckLib +PORTVERSION= 0.6 +CATEGORIES= devel perl5 +MASTER_SITES= CPAN +PKGNAMEPREFIX= p5- + +MAINTAINER= frederic@culot.org +COMMENT= Perl5 module to check that a library is available + +BUILD_DEPENDS= p5-IO-CaptureOutput>=1.08:${PORTSDIR}/devel/p5-IO-CaptureOutput +RUN_DEPENDS= ${BUILD_DEPENDS} + +PERL_CONFIGURE= yes + +MAN1= use-devel-checklib.1 +MAN3= Devel::CheckLib.3 + +.include diff --git a/devel/p5-Devel-CheckLib/distinfo b/devel/p5-Devel-CheckLib/distinfo new file mode 100644 index 000000000000..9f8f901ec9c7 --- /dev/null +++ b/devel/p5-Devel-CheckLib/distinfo @@ -0,0 +1,3 @@ +MD5 (Devel-CheckLib-0.6.tar.gz) = 0be78a1e60ea86b35d67ff73d79c0ba2 +SHA256 (Devel-CheckLib-0.6.tar.gz) = dfa268a49df84ed547e39babc095f32dcd186714f55049e441f8b6469de87e07 +SIZE (Devel-CheckLib-0.6.tar.gz) = 10240 diff --git a/devel/p5-Devel-CheckLib/pkg-descr b/devel/p5-Devel-CheckLib/pkg-descr new file mode 100644 index 000000000000..41914a0e40d0 --- /dev/null +++ b/devel/p5-Devel-CheckLib/pkg-descr @@ -0,0 +1,5 @@ +Devel::CheckLib provides a way of checking whether a particular library and +its headers are available, by attempting to compile a simple program and +link against it. + +WWW: http://search.cpan.org/dist/Devel-CheckLib/ diff --git a/devel/p5-Devel-CheckLib/pkg-plist b/devel/p5-Devel-CheckLib/pkg-plist new file mode 100644 index 000000000000..0ece82243a2f --- /dev/null +++ b/devel/p5-Devel-CheckLib/pkg-plist @@ -0,0 +1,8 @@ +bin/use-devel-checklib +%%SITE_PERL%%/Devel/CheckLib.pm +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Devel/CheckLib/.packlist +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Devel/CheckLib +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Devel +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto +@dirrmtry %%SITE_PERL%%/Devel/CheckLib +@dirrmtry %%SITE_PERL%%/Devel