diff options
author | Josef Karthauser <joe@FreeBSD.org> | 2001-04-28 14:21:40 +0000 |
---|---|---|
committer | Josef Karthauser <joe@FreeBSD.org> | 2001-04-28 14:21:40 +0000 |
commit | 35564896593c1490de4f457f1aa12341b632f6a5 (patch) | |
tree | 797b068fb046ec4de4c752edd5d4a760a37997fb | |
parent | Add Russian mirror of GNOME so one can utilize MASTER_SORT effectively. (diff) |
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
Notes
Notes:
svn path=/head/; revision=42000
-rw-r--r-- | sysutils/Makefile | 1 | ||||
-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 |
6 files changed, 39 insertions, 0 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile index cf4692106ded..ca990dbc28ed 100644 --- a/sysutils/Makefile +++ b/sysutils/Makefile @@ -94,6 +94,7 @@ SUBDIR += p5-Schedule-At SUBDIR += p5-Schedule-Cron SUBDIR += p5-Schedule-Match + SUBDIR += p5-Stat-lsMode SUBDIR += p5-SyslogScan SUBDIR += p5-Unix-ConfigFile SUBDIR += p5-Unix-Syslog diff --git a/sysutils/p5-Stat-lsMode/Makefile b/sysutils/p5-Stat-lsMode/Makefile new file mode 100644 index 000000000000..7112e458cdb4 --- /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 000000000000..8eb7b244d87f --- /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 000000000000..aaf73f69173e --- /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 000000000000..c6f33eef759e --- /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 000000000000..621e7a7309f0 --- /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 |