aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorculot <culot@FreeBSD.org>2012-07-06 15:58:57 +0800
committerculot <culot@FreeBSD.org>2012-07-06 15:58:57 +0800
commitc6e308326bd8ef85fad2c725b95f109b3d1110c9 (patch)
treedce197e7fbf5fe78940e68efd68340d720c547b0 /devel
parentc8e0456873ecef27c4fa0dd6bddb4efaf0ddc735 (diff)
downloadfreebsd-ports-gnome-c6e308326bd8ef85fad2c725b95f109b3d1110c9.tar.gz
freebsd-ports-gnome-c6e308326bd8ef85fad2c725b95f109b3d1110c9.tar.zst
freebsd-ports-gnome-c6e308326bd8ef85fad2c725b95f109b3d1110c9.zip
CPAN::Meta::Check verifies if requirements described in a CPAN::Meta
object are present. WWW: http://search.cpan.org/dist/CPAN-Meta-Check/
Diffstat (limited to 'devel')
-rw-r--r--devel/Makefile1
-rw-r--r--devel/p5-CPAN-Meta-Check/Makefile40
-rw-r--r--devel/p5-CPAN-Meta-Check/distinfo2
-rw-r--r--devel/p5-CPAN-Meta-Check/pkg-descr4
-rw-r--r--devel/p5-CPAN-Meta-Check/pkg-plist7
5 files changed, 54 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 42ab515179aa..3c4e51b37ad6 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -1347,6 +1347,7 @@
SUBDIR += p5-CPAN-DistnameInfo
SUBDIR += p5-CPAN-Inject
SUBDIR += p5-CPAN-Meta
+ SUBDIR += p5-CPAN-Meta-Check
SUBDIR += p5-CPAN-Meta-Requirements
SUBDIR += p5-CPAN-Meta-YAML
SUBDIR += p5-CPAN-Mini
diff --git a/devel/p5-CPAN-Meta-Check/Makefile b/devel/p5-CPAN-Meta-Check/Makefile
new file mode 100644
index 000000000000..bf65594859c8
--- /dev/null
+++ b/devel/p5-CPAN-Meta-Check/Makefile
@@ -0,0 +1,40 @@
+# New ports collection makefile for: devel/p5-CPAN-Meta-Check
+# Date created: 2012-07-05
+# Whom: Frederic Culot <culot@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= CPAN-Meta-Check
+PORTVERSION= 0.004
+CATEGORIES= devel perl5
+MASTER_SITES= CPAN
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= culot@FreeBSD.org
+COMMENT= Verify requirements in a CPAN::Meta object
+
+LICENSE= ART10 GPLv1
+LICENSE_COMB= dual
+
+BUILD_DEPENDS= p5-CPAN-Meta>=2.120920:${PORTSDIR}/devel/p5-CPAN-Meta \
+ p5-CPAN-Meta-Requirements>=2.12:${PORTSDIR}/devel/p5-CPAN-Meta-Requirements
+RUN_DEPENDS:= ${BUILD_DEPENDS}
+TEST_DEPENDS= p5-Test-Differences>0:${PORTSDIR}/devel/p5-Test-Differences
+
+PERL_CONFIGURE= yes
+
+MAN3= CPAN::Meta::Check.3
+
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 501001
+TEST_DEPENDS+= p5-Test-Simple>=0.88:${PORTSDIR}/devel/p5-Test-Simple
+.endif
+
+.if ${PERL_LEVEL} < 501400
+BUILD_DEPENDS+= p5-Module-Metadata>0:${PORTSDIR}/devel/p5-Module-Metadata
+RUN_DEPENDS+= p5-Module-Metadata>0:${PORTSDIR}/devel/p5-Module-Metadata
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/devel/p5-CPAN-Meta-Check/distinfo b/devel/p5-CPAN-Meta-Check/distinfo
new file mode 100644
index 000000000000..aba880ce47b1
--- /dev/null
+++ b/devel/p5-CPAN-Meta-Check/distinfo
@@ -0,0 +1,2 @@
+SHA256 (CPAN-Meta-Check-0.004.tar.gz) = fa38cf1a37d31fe08d53be7626ddf3024bda8178ab5ac32ad4815cc0dc5b9e31
+SIZE (CPAN-Meta-Check-0.004.tar.gz) = 11746
diff --git a/devel/p5-CPAN-Meta-Check/pkg-descr b/devel/p5-CPAN-Meta-Check/pkg-descr
new file mode 100644
index 000000000000..c4a1bac4e25f
--- /dev/null
+++ b/devel/p5-CPAN-Meta-Check/pkg-descr
@@ -0,0 +1,4 @@
+CPAN::Meta::Check verifies if requirements described in a CPAN::Meta
+object are present.
+
+WWW: http://search.cpan.org/dist/CPAN-Meta-Check/
diff --git a/devel/p5-CPAN-Meta-Check/pkg-plist b/devel/p5-CPAN-Meta-Check/pkg-plist
new file mode 100644
index 000000000000..f60d035f70b2
--- /dev/null
+++ b/devel/p5-CPAN-Meta-Check/pkg-plist
@@ -0,0 +1,7 @@
+%%SITE_PERL%%/CPAN/Meta/Check.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/CPAN/Meta/Check/.packlist
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/CPAN/Meta/Check
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/CPAN/Meta
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/CPAN
+@dirrmtry %%SITE_PERL%%/CPAN/Meta
+@dirrmtry %%SITE_PERL%%/CPAN