summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2007-12-12 12:44:13 +0000
committerMartin Wilke <miwi@FreeBSD.org>2007-12-12 12:44:13 +0000
commite51647880318fd9166ba086c83f516bde873d320 (patch)
treebb07fe4985b07c71afe5b504698bf1f2c050786f /misc
parentUpdate to 1.13 (diff)
Test::Dir - test directory attributes
FUNCTIONS dir_exists_ok Ok if the directory exists, and not ok otherwise. dir_not_exists_ok Ok if the directory does not exist, and not ok otherwise. WWW: http://search.cpan.org/dist/Test-Dir/ PR: ports/118252 Submitted by: Xavier Beaudouin <kiwi at oav.net>
Notes
Notes: svn path=/head/; revision=203254
Diffstat (limited to 'misc')
-rw-r--r--misc/Makefile1
-rw-r--r--misc/p5-Test-Dir/Makefile22
-rw-r--r--misc/p5-Test-Dir/distinfo3
-rw-r--r--misc/p5-Test-Dir/pkg-descr12
-rw-r--r--misc/p5-Test-Dir/pkg-plist5
5 files changed, 43 insertions, 0 deletions
diff --git a/misc/Makefile b/misc/Makefile
index 1787d3bd461c..6dd2fcf3eca1 100644
--- a/misc/Makefile
+++ b/misc/Makefile
@@ -374,6 +374,7 @@
SUBDIR += p5-Locale-SubCountry
SUBDIR += p5-Net-vCard
SUBDIR += p5-Norge
+ SUBDIR += p5-Test-Dir
SUBDIR += p5-Text-FIGlet
SUBDIR += p5-Tie-DxHash
SUBDIR += p5-Zen-Koans
diff --git a/misc/p5-Test-Dir/Makefile b/misc/p5-Test-Dir/Makefile
new file mode 100644
index 000000000000..070cbed71715
--- /dev/null
+++ b/misc/p5-Test-Dir/Makefile
@@ -0,0 +1,22 @@
+# New ports collection makefile for: Config::Fast
+# Date created: 25 Nov 2007
+# Whom: Xavier Beaudouin <kiwi@oav.net>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Test-Dir
+PORTVERSION= 1.002
+CATEGORIES= misc perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Test
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= kiwi@oav.net
+COMMENT= Test directory attributes
+
+PERL_CONFIGURE= yes
+
+MAN3= Test::Dir.3
+
+.include <bsd.port.mk>
diff --git a/misc/p5-Test-Dir/distinfo b/misc/p5-Test-Dir/distinfo
new file mode 100644
index 000000000000..15543e178d0b
--- /dev/null
+++ b/misc/p5-Test-Dir/distinfo
@@ -0,0 +1,3 @@
+MD5 (Test-Dir-1.002.tar.gz) = fd14c8610675dac65723e1f1ef2d46fa
+SHA256 (Test-Dir-1.002.tar.gz) = c4a3e8397fb70da953530f780b33e757482948305a2bda0bc322de982fb33f30
+SIZE (Test-Dir-1.002.tar.gz) = 12731
diff --git a/misc/p5-Test-Dir/pkg-descr b/misc/p5-Test-Dir/pkg-descr
new file mode 100644
index 000000000000..56ef66c51243
--- /dev/null
+++ b/misc/p5-Test-Dir/pkg-descr
@@ -0,0 +1,12 @@
+Test::Dir - test directory attributes
+
+FUNCTIONS
+dir_exists_ok
+
+Ok if the directory exists, and not ok otherwise.
+dir_not_exists_ok
+
+Ok if the directory does not exist, and not ok otherwise.
+
+
+WWW: http://search.cpan.org/dist/Test-Dir/
diff --git a/misc/p5-Test-Dir/pkg-plist b/misc/p5-Test-Dir/pkg-plist
new file mode 100644
index 000000000000..10e28dac9e88
--- /dev/null
+++ b/misc/p5-Test-Dir/pkg-plist
@@ -0,0 +1,5 @@
+%%SITE_PERL%%/Test/Dir.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Test/Dir/.packlist
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Test/Dir
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Test
+@dirrmtry %%SITE_PERL%%/Test