From owner-svn-ports-all@FreeBSD.ORG Thu Mar 12 14:05:29 2015 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C04527A8; Thu, 12 Mar 2015 14:05:29 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A7845D48; Thu, 12 Mar 2015 14:05:29 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t2CE5TxR017281; Thu, 12 Mar 2015 14:05:29 GMT (envelope-from vanilla@FreeBSD.org) Received: (from vanilla@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t2CE5Spl017276; Thu, 12 Mar 2015 14:05:28 GMT (envelope-from vanilla@FreeBSD.org) Message-Id: <201503121405.t2CE5Spl017276@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: vanilla set sender to vanilla@FreeBSD.org using -f From: "Vanilla I. Shu" Date: Thu, 12 Mar 2015 14:05:28 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r381091 - in head/www: . p5-Dancer2-Plugin-Path-Class X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Mar 2015 14:05:30 -0000 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 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 +# $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 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