mirror of
https://git.FreeBSD.org/ports.git
synced 2025-02-06 11:41:52 +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:
parent
7b8e9406a3
commit
3556489659
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=42000
@ -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
|
||||
|
22
sysutils/p5-Stat-lsMode/Makefile
Normal file
22
sysutils/p5-Stat-lsMode/Makefile
Normal 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>
|
1
sysutils/p5-Stat-lsMode/distinfo
Normal file
1
sysutils/p5-Stat-lsMode/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (Stat-lsMode-0.50.tar.gz) = bf7e558fd0d668dffb2dcd62d21ef635
|
1
sysutils/p5-Stat-lsMode/pkg-comment
Normal file
1
sysutils/p5-Stat-lsMode/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
Stat::lsMode - format file modes like the ls -l command does
|
9
sysutils/p5-Stat-lsMode/pkg-descr
Normal file
9
sysutils/p5-Stat-lsMode/pkg-descr
Normal 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>
|
5
sysutils/p5-Stat-lsMode/pkg-plist
Normal file
5
sysutils/p5-Stat-lsMode/pkg-plist
Normal 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
|
Loading…
x
Reference in New Issue
Block a user