Bug 198539 - [newport] www/p5-Dancer2-Plugin-Path-Class
Summary: [newport] www/p5-Dancer2-Plugin-Path-Class
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-12 10:18 UTC by Henk van Oers
Modified: 2015-03-12 14:06 UTC (History)
1 user (show)

See Also:


Attachments
The shar file of the new port (2.46 KB, text/plain)
2015-03-12 10:18 UTC, Henk van Oers
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Henk van Oers 2015-03-12 10:18:41 UTC
Created attachment 154241 [details]
The shar file of the new port

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/
Comment 1 commit-hook freebsd_committer freebsd_triage 2015-03-12 14:06:01 UTC
A commit references this bug:

Author: vanilla
Date: Thu Mar 12 14:05:29 UTC 2015
New revision: 381091
URL: https://svnweb.freebsd.org/changeset/ports/381091

Log:
  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>

Changes:
  head/www/Makefile
  head/www/p5-Dancer2-Plugin-Path-Class/
  head/www/p5-Dancer2-Plugin-Path-Class/Makefile
  head/www/p5-Dancer2-Plugin-Path-Class/distinfo
  head/www/p5-Dancer2-Plugin-Path-Class/pkg-descr
  head/www/p5-Dancer2-Plugin-Path-Class/pkg-plist