aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortobez <tobez@FreeBSD.org>2013-02-11 19:11:59 +0800
committertobez <tobez@FreeBSD.org>2013-02-11 19:11:59 +0800
commit7b31abbddebbd1e24d82d24f478d24eb1b8aa6f2 (patch)
tree49f91ba796a9f198d74291fb96de84e88c12b5a7
parent6e8ba6d593c8f3098cf0512941bf27f3003aa163 (diff)
downloadfreebsd-ports-gnome-7b31abbddebbd1e24d82d24f478d24eb1b8aa6f2.tar.gz
freebsd-ports-gnome-7b31abbddebbd1e24d82d24f478d24eb1b8aa6f2.tar.zst
freebsd-ports-gnome-7b31abbddebbd1e24d82d24f478d24eb1b8aa6f2.zip
Add devel/p5-Devel-Hide 0.0009, a Perl module that, for testing purposes,
forces the unavailability of specified Perl modules.
-rw-r--r--devel/Makefile1
-rw-r--r--devel/p5-Devel-Hide/Makefile17
-rw-r--r--devel/p5-Devel-Hide/distinfo2
-rw-r--r--devel/p5-Devel-Hide/pkg-descr5
-rw-r--r--devel/p5-Devel-Hide/pkg-plist5
5 files changed, 30 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index af2f3362f87f..a77ed38adbc0 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -1825,6 +1825,7 @@
SUBDIR += p5-Devel-Events-Objects
SUBDIR += p5-Devel-Gladiator
SUBDIR += p5-Devel-GlobalDestruction
+ SUBDIR += p5-Devel-Hide
SUBDIR += p5-Devel-KYTProf
SUBDIR += p5-Devel-Leak
SUBDIR += p5-Devel-Leak-Object
diff --git a/devel/p5-Devel-Hide/Makefile b/devel/p5-Devel-Hide/Makefile
new file mode 100644
index 000000000000..f1a6299c6ecf
--- /dev/null
+++ b/devel/p5-Devel-Hide/Makefile
@@ -0,0 +1,17 @@
+# Created by: Anton Berezin <tobez@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= Devel-Hide
+PORTVERSION= 0.0009
+CATEGORIES= devel perl5
+MASTER_SITES= CPAN
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= tobez@FreeBSD.org
+COMMENT= Forces the unavailability of specified Perl modules (for testing)
+
+PERL_CONFIGURE= yes
+
+MAN3= Devel::Hide.3
+
+.include <bsd.port.mk>
diff --git a/devel/p5-Devel-Hide/distinfo b/devel/p5-Devel-Hide/distinfo
new file mode 100644
index 000000000000..19951f13385b
--- /dev/null
+++ b/devel/p5-Devel-Hide/distinfo
@@ -0,0 +1,2 @@
+SHA256 (Devel-Hide-0.0009.tar.gz) = 71dec40b9e53cd2dc98301ea4a64e1a95b71aa414f9b0d6d28c56c54f8fa16de
+SIZE (Devel-Hide-0.0009.tar.gz) = 6972
diff --git a/devel/p5-Devel-Hide/pkg-descr b/devel/p5-Devel-Hide/pkg-descr
new file mode 100644
index 000000000000..92e86d36fb99
--- /dev/null
+++ b/devel/p5-Devel-Hide/pkg-descr
@@ -0,0 +1,5 @@
+Given a list of Perl modules/filenames, this module makes require and
+use statements fail (no matter the specified files/modules are installed
+or not).
+
+WWW: http://search.cpan.org/dist/Devel-Hide/
diff --git a/devel/p5-Devel-Hide/pkg-plist b/devel/p5-Devel-Hide/pkg-plist
new file mode 100644
index 000000000000..d984e1fbc7a6
--- /dev/null
+++ b/devel/p5-Devel-Hide/pkg-plist
@@ -0,0 +1,5 @@
+%%SITE_PERL%%/Devel/Hide.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Devel/Hide/.packlist
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Devel/Hide
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Devel
+@dirrmtry %%SITE_PERL%%/Devel