From owner-svn-ports-head@FreeBSD.ORG Sun Jan 18 10:28:18 2015 Return-Path: Delivered-To: svn-ports-head@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 7E674E82; Sun, 18 Jan 2015 10:28:18 +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 68F2C852; Sun, 18 Jan 2015 10:28:18 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t0IASInx042140; Sun, 18 Jan 2015 10:28:18 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t0IASHZf042133; Sun, 18 Jan 2015 10:28:17 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <201501181028.t0IASHZf042133@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Sun, 18 Jan 2015 10:28:17 +0000 (UTC) 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 X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Jan 2015 10:28:18 -0000 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 +# $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 + +.if ${PERL_LEVEL} < 502000 +BUILD_DEPENDS+= p5-ExtUtils-MakeMaker>=6.82:${PORTSDIR}/devel/p5-ExtUtils-MakeMaker +.endif + +.include 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