svn commit: r381091 - in head/www: . p5-Dancer2-Plugin-Path-Class

Vanilla I. Shu vanilla at FreeBSD.org
Thu Mar 12 14:05:30 UTC 2015


Author: vanilla
Date: Thu Mar 12 14:05:27 2015
New Revision: 381091
URL: https://svnweb.freebsd.org/changeset/ports/381091
QAT: https://qat.redports.org/buildarchive/r381091/

Log:
  Add p5-Dancer2-Plugin-Path-Class 0.02, list a directory using
  Path::Class.
  
  PR:		198539
  Submitted by:	Henk van Oers <hvo.pm at xs4all.nl>

Added:
  head/www/p5-Dancer2-Plugin-Path-Class/
  head/www/p5-Dancer2-Plugin-Path-Class/Makefile   (contents, props changed)
  head/www/p5-Dancer2-Plugin-Path-Class/distinfo   (contents, props changed)
  head/www/p5-Dancer2-Plugin-Path-Class/pkg-descr   (contents, props changed)
  head/www/p5-Dancer2-Plugin-Path-Class/pkg-plist   (contents, props changed)
Modified:
  head/www/Makefile

Modified: head/www/Makefile
==============================================================================
--- head/www/Makefile	Thu Mar 12 13:49:19 2015	(r381090)
+++ head/www/Makefile	Thu Mar 12 14:05:27 2015	(r381091)
@@ -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

Added: head/www/p5-Dancer2-Plugin-Path-Class/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/p5-Dancer2-Plugin-Path-Class/Makefile	Thu Mar 12 14:05:27 2015	(r381091)
@@ -0,0 +1,24 @@
+# Created by: Henk van Oers <hvo.pm at xs4all.nl>
+# $FreeBSD$
+
+PORTNAME=	Dancer2-Plugin-Path-Class
+PORTVERSION=	0.02
+CATEGORIES=	www perl5
+MASTER_SITES=	CPAN
+PKGNAMEPREFIX=	p5-
+
+MAINTAINER=	hvo.pm at 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>

Added: head/www/p5-Dancer2-Plugin-Path-Class/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/p5-Dancer2-Plugin-Path-Class/distinfo	Thu Mar 12 14:05:27 2015	(r381091)
@@ -0,0 +1,2 @@
+SHA256 (Dancer2-Plugin-Path-Class-0.02.tar.gz) = d4579233c529ec419e7acf4e85bed747ca7d0f8c9afc8016ca0d33a9c9c2f2ff
+SIZE (Dancer2-Plugin-Path-Class-0.02.tar.gz) = 7001

Added: head/www/p5-Dancer2-Plugin-Path-Class/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/p5-Dancer2-Plugin-Path-Class/pkg-descr	Thu Mar 12 14:05:27 2015	(r381091)
@@ -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/

Added: head/www/p5-Dancer2-Plugin-Path-Class/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/p5-Dancer2-Plugin-Path-Class/pkg-plist	Thu Mar 12 14:05:27 2015	(r381091)
@@ -0,0 +1,2 @@
+%%SITE_PERL%%/Dancer2/Plugin/Path/Class.pm
+%%PERL5_MAN3%%/Dancer2::Plugin::Path::Class.3.gz


More information about the svn-ports-head mailing list