aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2010-01-15 00:37:31 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2010-01-15 00:37:31 +0800
commitc448573ac05a5c93d6fe81432b1e9082a46c1f8c (patch)
treefee51cea4df0307a6757b20b2170d45d7e1aca9e /devel
parent569be4071d4d00d7311907d97294875bb9bc2445 (diff)
downloadfreebsd-ports-graphics-c448573ac05a5c93d6fe81432b1e9082a46c1f8c.tar.gz
freebsd-ports-graphics-c448573ac05a5c93d6fe81432b1e9082a46c1f8c.tar.zst
freebsd-ports-graphics-c448573ac05a5c93d6fe81432b1e9082a46c1f8c.zip
Test dependency between module and META.yml.
This module reads META.yml and get build_requires and requires. It compares required module is really used and used module is really required. WWW: http://search.cpan.org/dist/Test-Module-Used/ PR: 142818 Submitted by: Takuya Tsuchida <tsucchi@cpan.org>
Diffstat (limited to 'devel')
-rw-r--r--devel/Makefile1
-rw-r--r--devel/p5-Test-Module-Used/Makefile28
-rw-r--r--devel/p5-Test-Module-Used/distinfo3
-rw-r--r--devel/p5-Test-Module-Used/pkg-descr7
-rw-r--r--devel/p5-Test-Module-Used/pkg-plist5
5 files changed, 44 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 7e61a376dec..87053e7870e 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -2065,6 +2065,7 @@
SUBDIR += p5-Test-MockObject
SUBDIR += p5-Test-MockRandom
SUBDIR += p5-Test-MockTime
+ SUBDIR += p5-Test-Module-Used
SUBDIR += p5-Test-Most
SUBDIR += p5-Test-NoWarnings
SUBDIR += p5-Test-Number-Delta
diff --git a/devel/p5-Test-Module-Used/Makefile b/devel/p5-Test-Module-Used/Makefile
new file mode 100644
index 00000000000..dd27f3d0688
--- /dev/null
+++ b/devel/p5-Test-Module-Used/Makefile
@@ -0,0 +1,28 @@
+# New ports collection makefile for: p5-Test-Module-Used
+# Date created: 2010-01-14
+# Whom: Takuya Tsuchida <tsucchi@cpan.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Test-Module-Used
+PORTVERSION= 0.1.8
+CATEGORIES= devel perl5
+MASTER_SITES= CPAN
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= tsucchi@cpan.org
+COMMENT= Test required module is really used and vice versa
+
+RUN_DEPENDS= p5-YAML>=0.68:${PORTSDIR}/textproc/p5-YAML \
+ p5-List-MoreUtils>=0.24:${PORTSDIR}/lang/p5-List-MoreUtils \
+ p5-Module-CoreList>=2.18:${PORTSDIR}/devel/p5-Module-CoreList \
+ p5-PPI>=1.205:${PORTSDIR}/textproc/p5-PPI \
+ p5-version>=0.77:${PORTSDIR}/devel/p5-version \
+ p5-Module-Used>=v1.2.0:${PORTSDIR}/devel/p5-Module-Used
+BUILD_DEPENDS:= ${RUN_DEPENDS}
+
+PERL_CONFIGURE= yes
+MAN3= Test::Module::Used.3
+
+.include <bsd.port.mk>
diff --git a/devel/p5-Test-Module-Used/distinfo b/devel/p5-Test-Module-Used/distinfo
new file mode 100644
index 00000000000..480cfd74ca8
--- /dev/null
+++ b/devel/p5-Test-Module-Used/distinfo
@@ -0,0 +1,3 @@
+MD5 (Test-Module-Used-0.1.8.tar.gz) = 4fe2c075f39832e15cfecbde06dd38c0
+SHA256 (Test-Module-Used-0.1.8.tar.gz) = 91d31fa0cfa053f816f4ca49eee0ddfeff2ae98d86184e8717d1d9e887cbd0b2
+SIZE (Test-Module-Used-0.1.8.tar.gz) = 20781
diff --git a/devel/p5-Test-Module-Used/pkg-descr b/devel/p5-Test-Module-Used/pkg-descr
new file mode 100644
index 00000000000..1a6228ce06f
--- /dev/null
+++ b/devel/p5-Test-Module-Used/pkg-descr
@@ -0,0 +1,7 @@
+Test dependency between module and META.yml.
+
+This module reads META.yml and get build_requires and requires.
+It compares required module is really used and used module is
+really required.
+
+WWW: http://search.cpan.org/dist/Test-Module-Used/
diff --git a/devel/p5-Test-Module-Used/pkg-plist b/devel/p5-Test-Module-Used/pkg-plist
new file mode 100644
index 00000000000..0185d641b28
--- /dev/null
+++ b/devel/p5-Test-Module-Used/pkg-plist
@@ -0,0 +1,5 @@
+%%SITE_PERL%%/Test/Module/Used.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Test/Module/Used/.packlist
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Test/Module/Used
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Test/Module
+@dirrmtry %%SITE_PERL%%/Test/Module