Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Jan 2015 10:28:17 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r377291 - in head/devel: . p5-Types-Core
Message-ID:  <201501181028.t0IASHZf042133@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Sun Jan 18 10:28:16 2015
New Revision: 377291
URL: https://svnweb.freebsd.org/changeset/ports/377291
QAT: https://qat.redports.org/buildarchive/r377291/

Log:
  - Add p5-Types-Core 0.1.4
  
  Types::Core provides syntax symplifier for type checking. It allows easy,
  non-quoted usage of types as literals, and allows the standard type names to be
  used as true/false check routines of references.
  
  For the most basic functions, they take either 0 or 1 arguments. If 1 parameter,
  then they test it to see if the ref is of the given type (blessed or not). If
  false, undef is returned, of true, the ref, itself is returned.
  
  For no args, they return literals of themselves, allowing the named strings to
  be used as Literals without quotes.
  
  WWW: http://search.cpan.org/dist/Types-Core/

Added:
  head/devel/p5-Types-Core/
  head/devel/p5-Types-Core/Makefile   (contents, props changed)
  head/devel/p5-Types-Core/distinfo   (contents, props changed)
  head/devel/p5-Types-Core/pkg-descr   (contents, props changed)
  head/devel/p5-Types-Core/pkg-plist   (contents, props changed)
Modified:
  head/devel/Makefile

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Sun Jan 18 10:27:41 2015	(r377290)
+++ head/devel/Makefile	Sun Jan 18 10:28:16 2015	(r377291)
@@ -3122,6 +3122,7 @@
     SUBDIR += p5-Type-Tie
     SUBDIR += p5-Type-Tiny
     SUBDIR += p5-Type-Tiny-XS
+    SUBDIR += p5-Types-Core
     SUBDIR += p5-Types-Path-Tiny
     SUBDIR += p5-Types-Serialiser
     SUBDIR += p5-UDCode

Added: head/devel/p5-Types-Core/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/p5-Types-Core/Makefile	Sun Jan 18 10:28:16 2015	(r377291)
@@ -0,0 +1,30 @@
+# Created by: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME=	Types-Core
+PORTVERSION=	0.1.4
+CATEGORIES=	devel perl5
+MASTER_SITES=	CPAN
+MASTER_SITE_SUBDIR=	CPAN:LAWALSH
+PKGNAMEPREFIX=	p5-
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Core types defined as tests and literals
+
+LICENSE=	ART10 GPLv1
+LICENSE_COMB=	dual
+
+BUILD_DEPENDS=	p5-Xporter>=0.0.7:${PORTSDIR}/devel/p5-Xporter \
+		p5-mem>=0.4.3:${PORTSDIR}/devel/p5-mem
+RUN_DEPENDS:=	${BUILD_DEPENDS}
+
+USE_PERL5=	configure
+USES=		perl5
+
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 502000
+BUILD_DEPENDS+=	p5-ExtUtils-MakeMaker>=6.82:${PORTSDIR}/devel/p5-ExtUtils-MakeMaker
+.endif
+
+.include <bsd.port.post.mk>

Added: head/devel/p5-Types-Core/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/p5-Types-Core/distinfo	Sun Jan 18 10:28:16 2015	(r377291)
@@ -0,0 +1,2 @@
+SHA256 (Types-Core-0.1.4.tar.gz) = ec21ebd3c992fdf0283c455f8d3428851706198f33d90f2576212be5fd7b3061
+SIZE (Types-Core-0.1.4.tar.gz) = 14199

Added: head/devel/p5-Types-Core/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/p5-Types-Core/pkg-descr	Sun Jan 18 10:28:16 2015	(r377291)
@@ -0,0 +1,12 @@
+Types::Core provides syntax symplifier for type checking. It allows easy,
+non-quoted usage of types as literals, and allows the standard type names to be
+used as true/false check routines of references.
+
+For the most basic functions, they take either 0 or 1 arguments. If 1 parameter,
+then they test it to see if the ref is of the given type (blessed or not). If
+false, undef is returned, of true, the ref, itself is returned.
+
+For no args, they return literals of themselves, allowing the named strings to
+be used as Literals without quotes.
+
+WWW: http://search.cpan.org/dist/Types-Core/

Added: head/devel/p5-Types-Core/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/p5-Types-Core/pkg-plist	Sun Jan 18 10:28:16 2015	(r377291)
@@ -0,0 +1,2 @@
+%%SITE_PERL%%/Types/Core.pm
+%%PERL5_MAN3%%/Types::Core.3.gz



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201501181028.t0IASHZf042133>