Add p5-Dancer2-Plugin-Path-Class 0.02, list a directory using
Path::Class. PR: 198539 Submitted by: Henk van Oers <hvo.pm@xs4all.nl>
This commit is contained in:
parent
10a4c2cf0a
commit
58d405b421
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=381091
@ -824,6 +824,7 @@
|
||||
SUBDIR += p5-Dancer2
|
||||
SUBDIR += p5-Dancer2-Plugin-Ajax
|
||||
SUBDIR += p5-Dancer2-Plugin-Deferred
|
||||
SUBDIR += p5-Dancer2-Plugin-Path-Class
|
||||
SUBDIR += p5-Data-TreeDumper-Renderer-DHTML
|
||||
SUBDIR += p5-Data-Validate-URI
|
||||
SUBDIR += p5-Emplacken
|
||||
|
24
www/p5-Dancer2-Plugin-Path-Class/Makefile
Normal file
24
www/p5-Dancer2-Plugin-Path-Class/Makefile
Normal file
@ -0,0 +1,24 @@
|
||||
# Created by: Henk van Oers <hvo.pm@xs4all.nl>
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= Dancer2-Plugin-Path-Class
|
||||
PORTVERSION= 0.02
|
||||
CATEGORIES= www perl5
|
||||
MASTER_SITES= CPAN
|
||||
PKGNAMEPREFIX= p5-
|
||||
|
||||
MAINTAINER= hvo.pm@xs4all.nl
|
||||
COMMENT= List a directory using Path::Class
|
||||
|
||||
LICENSE= ART10 GPLv1
|
||||
LICENSE_COMB= dual
|
||||
|
||||
BUILD_DEPENDS= p5-Dancer2>=0.159002:${PORTSDIR}/www/p5-Dancer2 \
|
||||
p5-Path-Class>=0:${PORTSDIR}/devel/p5-Path-Class \
|
||||
p5-Format-Human-Bytes>=0:${PORTSDIR}/converters/p5-Format-Human-Bytes
|
||||
RUN_DEPENDS:= ${BUILD_DEPENDS}
|
||||
|
||||
USES= perl5
|
||||
USE_PERL5= configure
|
||||
|
||||
.include <bsd.port.mk>
|
2
www/p5-Dancer2-Plugin-Path-Class/distinfo
Normal file
2
www/p5-Dancer2-Plugin-Path-Class/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (Dancer2-Plugin-Path-Class-0.02.tar.gz) = d4579233c529ec419e7acf4e85bed747ca7d0f8c9afc8016ca0d33a9c9c2f2ff
|
||||
SIZE (Dancer2-Plugin-Path-Class-0.02.tar.gz) = 7001
|
11
www/p5-Dancer2-Plugin-Path-Class/pkg-descr
Normal file
11
www/p5-Dancer2-Plugin-Path-Class/pkg-descr
Normal file
@ -0,0 +1,11 @@
|
||||
Dancer2::Plugin::Path::Class exports the keyword 'ls'
|
||||
returning a Path::Class object.
|
||||
|
||||
The 'ls' keyword also sets some 'vars'.
|
||||
- ls_name: The basename of the path
|
||||
- ls_cdup: The parent of the request path
|
||||
- ls_dirs: A list of subdirectories if the path is a directory object
|
||||
- ls_files: A list of files or just one file if the path is a file object
|
||||
|
||||
|
||||
WWW: http://search.cpan.org/dist/Dancer2-Plugin-Path-Class/
|
2
www/p5-Dancer2-Plugin-Path-Class/pkg-plist
Normal file
2
www/p5-Dancer2-Plugin-Path-Class/pkg-plist
Normal file
@ -0,0 +1,2 @@
|
||||
%%SITE_PERL%%/Dancer2/Plugin/Path/Class.pm
|
||||
%%PERL5_MAN3%%/Dancer2::Plugin::Path::Class.3.gz
|
Loading…
Reference in New Issue
Block a user