Permalink
Browse files

- Add p5-Types-Path-Tiny 0.005

Types::Path::Tiny provides Path::Tiny types for Moose, Moo, etc.

It handles two important types of coercion:
- coercing objects with overloaded stringification
- coercing to absolute paths

It also can check to ensure that files or directories exist.

WWW: http://search.cpan.org/dist/Types-Path-Tiny/
  • Loading branch information...
1 parent 92b731c commit 601f38859a039e9eef51daa317c120b5ae18af64 @sunpoet sunpoet committed Nov 30, 2013
View
@@ -2971,6 +2971,7 @@
SUBDIR += p5-Tree-Simple-VisitorFactory
SUBDIR += p5-Type-Tie
SUBDIR += p5-Type-Tiny
+ SUBDIR += p5-Types-Path-Tiny
SUBDIR += p5-Types-Serialiser
SUBDIR += p5-UDCode
SUBDIR += p5-UI-Dialog
@@ -0,0 +1,30 @@
+# Created by: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= Types-Path-Tiny
+PORTVERSION= 0.005
+CATEGORIES= devel perl5
+MASTER_SITES= CPAN
+MASTER_SITE_SUBDIR= CPAN:DAGOLDEN
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Path::Tiny types and coercions for Moose and Moo
+
+LICENSE= AL2
+
+BUILD_DEPENDS= p5-Path-Tiny>=0:${PORTSDIR}/devel/p5-Path-Tiny \
+ p5-Type-Tiny>=0.008:${PORTSDIR}/devel/p5-Type-Tiny
+RUN_DEPENDS:= ${BUILD_DEPENDS}
+TEST_DEPENDS= p5-File-pushd>=0:${PORTSDIR}/devel/p5-File-pushd
+
+USE_PERL5= configure
+USES= perl5
+
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 501400
+TEST_DEPENDS+= p5-Test-Simple>=0.96:${PORTSDIR}/devel/p5-Test-Simple
+.endif
+
+.include <bsd.port.post.mk>
@@ -0,0 +1,2 @@
+SHA256 (Types-Path-Tiny-0.005.tar.gz) = f702772c56695696d520313b7f9bb4c1f4f6c7e5d47f08917c9944ad8f09ce26
+SIZE (Types-Path-Tiny-0.005.tar.gz) = 12834
@@ -0,0 +1,9 @@
+Types::Path::Tiny provides Path::Tiny types for Moose, Moo, etc.
+
+It handles two important types of coercion:
+- coercing objects with overloaded stringification
+- coercing to absolute paths
+
+It also can check to ensure that files or directories exist.
+
+WWW: http://search.cpan.org/dist/Types-Path-Tiny/
@@ -0,0 +1 @@
+@comment $FreeBSD$

0 comments on commit 601f388

Please sign in to comment.