aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authortobez <tobez@FreeBSD.org>2007-04-04 19:12:12 +0800
committertobez <tobez@FreeBSD.org>2007-04-04 19:12:12 +0800
commitc8dc014a132e898d3b69fb39816d703aaa66f272 (patch)
tree1a0f3f6d8cba715d4fda0c943389960a1daf7d35 /devel
parent530cdc9d60ef88fc954b768f4bf34a542fbe9b0c (diff)
downloadfreebsd-ports-gnome-c8dc014a132e898d3b69fb39816d703aaa66f272.tar.gz
freebsd-ports-gnome-c8dc014a132e898d3b69fb39816d703aaa66f272.tar.zst
freebsd-ports-gnome-c8dc014a132e898d3b69fb39816d703aaa66f272.zip
Add devel/p5-File-Attributes-Recursive 0.02, a variant of
p5-File-Attributes that inherits file attributes from parent directories.
Diffstat (limited to 'devel')
-rw-r--r--devel/Makefile1
-rw-r--r--devel/p5-File-Attributes-Recursive/Makefile33
-rw-r--r--devel/p5-File-Attributes-Recursive/distinfo3
-rw-r--r--devel/p5-File-Attributes-Recursive/pkg-descr4
-rw-r--r--devel/p5-File-Attributes-Recursive/pkg-plist7
5 files changed, 48 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index c616fd537191..418e556285a4 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -1121,6 +1121,7 @@
SUBDIR += p5-FSA-Rules
SUBDIR += p5-File-Append-TempFile
SUBDIR += p5-File-Attributes
+ SUBDIR += p5-File-Attributes-Recursive
SUBDIR += p5-File-BaseDir
SUBDIR += p5-File-BasicFlock
SUBDIR += p5-File-Binary
diff --git a/devel/p5-File-Attributes-Recursive/Makefile b/devel/p5-File-Attributes-Recursive/Makefile
new file mode 100644
index 000000000000..484c575f5d66
--- /dev/null
+++ b/devel/p5-File-Attributes-Recursive/Makefile
@@ -0,0 +1,33 @@
+# New ports collection makefile for: devel/p5-File-Attributes-Recursive
+# Date created: 04 April 2007
+# Whom: Anton Berezin <tobez@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= File-Attributes-Recursive
+PORTVERSION= 0.02
+CATEGORIES= devel perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= File
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= tobez@FreeBSD.org
+COMMENT= Inherit file attributes from parent directories
+
+BUILD_DEPENDS= ${SITE_PERL}/Directory/Scratch.pm:${PORTSDIR}/devel/p5-Directory-Scratch \
+ ${SITE_PERL}/Path/Class.pm:${PORTSDIR}/devel/p5-Path-Class \
+ ${SITE_PERL}/File/Attributes.pm:${PORTSDIR}/devel/p5-File-Attributes
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+PERL_CONFIGURE= yes
+
+MAN3= File::Attributes::Recursive.3
+
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500800
+IGNORE= one of the dependencies requires perl5.8
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/devel/p5-File-Attributes-Recursive/distinfo b/devel/p5-File-Attributes-Recursive/distinfo
new file mode 100644
index 000000000000..74504fcc02fe
--- /dev/null
+++ b/devel/p5-File-Attributes-Recursive/distinfo
@@ -0,0 +1,3 @@
+MD5 (File-Attributes-Recursive-0.02.tar.gz) = eb7ed44c75ce79ebaed88b76a08dbd3c
+SHA256 (File-Attributes-Recursive-0.02.tar.gz) = 9eadfb0072a5d0599381727cd42ad125a3d998419c7c4c195a896ba86cf820ae
+SIZE (File-Attributes-Recursive-0.02.tar.gz) = 25265
diff --git a/devel/p5-File-Attributes-Recursive/pkg-descr b/devel/p5-File-Attributes-Recursive/pkg-descr
new file mode 100644
index 000000000000..813eeba3bfff
--- /dev/null
+++ b/devel/p5-File-Attributes-Recursive/pkg-descr
@@ -0,0 +1,4 @@
+Works like File::Attributes, but will recurse up the directory tree
+until a matching attribute is found.
+
+WWW: http://search.cpan.org/dist/File-Attributes-Recursive/
diff --git a/devel/p5-File-Attributes-Recursive/pkg-plist b/devel/p5-File-Attributes-Recursive/pkg-plist
new file mode 100644
index 000000000000..05448e918102
--- /dev/null
+++ b/devel/p5-File-Attributes-Recursive/pkg-plist
@@ -0,0 +1,7 @@
+%%SITE_PERL%%/File/Attributes/Recursive.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/File/Attributes/Recursive/.packlist
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/File/Attributes/Recursive
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/File/Attributes
+@dirrmtry %%SITE_PERL%%/File/Attributes
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/File
+@dirrmtry %%SITE_PERL%%/File