diff options
author | joe <joe@FreeBSD.org> | 2001-04-28 22:21:40 +0800 |
---|---|---|
committer | joe <joe@FreeBSD.org> | 2001-04-28 22:21:40 +0800 |
commit | 264a3dedbe5c19daa950f94944753674a8036458 (patch) | |
tree | 85aae5bcf1a8f5cc0dc25259bd98c42af76aa0e7 /sysutils/p5-Stat-lsMode | |
parent | 1f432d27f2ce3233871cfb9b6de8c9046b930099 (diff) | |
download | freebsd-ports-graphics-264a3dedbe5c19daa950f94944753674a8036458.tar.gz freebsd-ports-graphics-264a3dedbe5c19daa950f94944753674a8036458.tar.zst freebsd-ports-graphics-264a3dedbe5c19daa950f94944753674a8036458.zip |
Stat::lsMode generates mode and permission strings that look like
the ones generated by the Unix ls -l command. For example, a
regular file that is readable by everyone and writable only by its
owner has the mode string -rw-r--r--. Stat::lsMode will either
examine the file and produce the right mode string for you, or you
can pass it the mode that you get back from Perl's stat call.
PR: ports/26847
Diffstat (limited to 'sysutils/p5-Stat-lsMode')
-rw-r--r-- | sysutils/p5-Stat-lsMode/Makefile | 22 | ||||
-rw-r--r-- | sysutils/p5-Stat-lsMode/distinfo | 1 | ||||
-rw-r--r-- | sysutils/p5-Stat-lsMode/pkg-comment | 1 | ||||
-rw-r--r-- | sysutils/p5-Stat-lsMode/pkg-descr | 9 | ||||
-rw-r--r-- | sysutils/p5-Stat-lsMode/pkg-plist | 5 |
5 files changed, 38 insertions, 0 deletions
diff --git a/sysutils/p5-Stat-lsMode/Makefile b/sysutils/p5-Stat-lsMode/Makefile new file mode 100644 index 00000000000..7112e458cdb --- /dev/null +++ b/sysutils/p5-Stat-lsMode/Makefile @@ -0,0 +1,22 @@ +# New ports collection makefile for: sysutils/p5-Stat-lsMode +# Date created: 25 April 2001 +# Whom: Anton Berezin <tobez@tobez.org> +# +# $FreeBSD$ +# + +PORTNAME= Stat-lsMode +PORTVERSION= 0.50 +CATEGORIES= sysutils perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= Stat +PKGNAMEPREFIX= p5- + +MAINTAINER= tobez@tobez.org + +PERL_CONFIGURE= yes + +MAN3= Stat::lsMode.3 +MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} + +.include <bsd.port.mk> diff --git a/sysutils/p5-Stat-lsMode/distinfo b/sysutils/p5-Stat-lsMode/distinfo new file mode 100644 index 00000000000..8eb7b244d87 --- /dev/null +++ b/sysutils/p5-Stat-lsMode/distinfo @@ -0,0 +1 @@ +MD5 (Stat-lsMode-0.50.tar.gz) = bf7e558fd0d668dffb2dcd62d21ef635 diff --git a/sysutils/p5-Stat-lsMode/pkg-comment b/sysutils/p5-Stat-lsMode/pkg-comment new file mode 100644 index 00000000000..aaf73f69173 --- /dev/null +++ b/sysutils/p5-Stat-lsMode/pkg-comment @@ -0,0 +1 @@ +Stat::lsMode - format file modes like the ls -l command does diff --git a/sysutils/p5-Stat-lsMode/pkg-descr b/sysutils/p5-Stat-lsMode/pkg-descr new file mode 100644 index 00000000000..c6f33eef759 --- /dev/null +++ b/sysutils/p5-Stat-lsMode/pkg-descr @@ -0,0 +1,9 @@ +Stat::lsMode generates mode and permission strings that look like +the ones generated by the Unix ls -l command. For example, a +regular file that is readable by everyone and writable only by its +owner has the mode string -rw-r--r--. Stat::lsMode will either +examine the file and produce the right mode string for you, or you +can pass it the mode that you get back from Perl's stat call. + +-Anton +<tobez@tobez.org> diff --git a/sysutils/p5-Stat-lsMode/pkg-plist b/sysutils/p5-Stat-lsMode/pkg-plist new file mode 100644 index 00000000000..621e7a7309f --- /dev/null +++ b/sysutils/p5-Stat-lsMode/pkg-plist @@ -0,0 +1,5 @@ +lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Stat/lsMode/.packlist +lib/perl5/site_perl/%%PERL_VER%%/Stat/lsMode.pm +@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Stat/lsMode +@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Stat 2>/dev/null || true +@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Stat 2>/dev/null || true |