1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-22 20:41:26 +00:00

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
This commit is contained in:
Josef Karthauser 2001-04-28 14:21:40 +00:00
parent 7b8e9406a3
commit 3556489659
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=42000
6 changed files with 39 additions and 0 deletions

View File

@ -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

View File

@ -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>

View File

@ -0,0 +1 @@
MD5 (Stat-lsMode-0.50.tar.gz) = bf7e558fd0d668dffb2dcd62d21ef635

View File

@ -0,0 +1 @@
Stat::lsMode - format file modes like the ls -l command does

View File

@ -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>

View File

@ -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