1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

File::Path::Expand expands user directories in filenames. For

the simple case it's no more complex than s{^~/}{$HOME/}, but
for other cases it consults C<getpwent> and does the right
thing.

PR:		58812
Submitted by:	Lars Thegler <lars@thegler.dk>
This commit is contained in:
Kirill Ponomarev 2003-11-01 18:08:12 +00:00
parent 12f1837382
commit 4310e788d3
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=92787
5 changed files with 33 additions and 0 deletions

View File

@ -658,6 +658,7 @@
SUBDIR += p5-File-MMagic
SUBDIR += p5-File-NCopy
SUBDIR += p5-File-NFSLock
SUBDIR += p5-File-Path-Expand
SUBDIR += p5-File-ReadBackwards
SUBDIR += p5-File-Remove
SUBDIR += p5-File-Slurp

View File

@ -0,0 +1,21 @@
# New ports collection makefile for: p5-File-Path-Expand
# Date created: Sat Nov 1 2003
# Whom: Lars Thegler <lars@thegler.dk>
#
# $FreeBSD$
PORTNAME= File-Path-Expand
PORTVERSION= 1.01
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= File
PKGNAMEPREFIX= p5-
MAINTAINER= lars@thegler.dk
COMMENT= Expand filenames
PERL_CONFIGURE= yes
MAN3= File::Path::Expand.3
.include <bsd.port.mk>

View File

@ -0,0 +1 @@
MD5 (File-Path-Expand-1.01.tar.gz) = 6f09799e04a24fbb2879e5e18437ebdf

View File

@ -0,0 +1,5 @@
File::Path::Expand expands user directories in filenames. For the
simple case it's no more complex than s{^~/}{$HOME/}, but for other
cases it consults C<getpwent> and does the right thing.
WWW: http://search.cpan.org/dist/File-Path-Expand

View File

@ -0,0 +1,5 @@
%%SITE_PERL%%/File/Path/Expand.pm
%%SITE_PERL%%/%%PERL_ARCH%%/auto/File-Path-Expand/.packlist
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/File-Path-Expand
@unexec rmdir %D/%%SITE_PERL%%/File/Path 2>/dev/null || true
@unexec rmdir %D/%%SITE_PERL%%/File 2>/dev/null || true