From owner-svn-ports-head@FreeBSD.ORG Sat Mar 7 13:50:23 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 465D58D7; Sat, 7 Mar 2015 13:50:23 +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 30C2FF37; Sat, 7 Mar 2015 13:50:23 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t27DoNog054277; Sat, 7 Mar 2015 13:50:23 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t27DoLUk054269; Sat, 7 Mar 2015 13:50:21 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <201503071350.t27DoLUk054269@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Sat, 7 Mar 2015 13:50:21 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r380693 - in head/devel: . p5-Log-Any-IfLOG 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: Sat, 07 Mar 2015 13:50:23 -0000 Author: sunpoet Date: Sat Mar 7 13:50:21 2015 New Revision: 380693 URL: https://svnweb.freebsd.org/changeset/ports/380693 QAT: https://qat.redports.org/buildarchive/r380693/ Log: - Add p5-Log-Any-IfLOG 0.01 Log::Any::IfLOG will load Log::Any only when LOG environment variable is true. Otherwise, the module is not loaded and if user imports $log, a dumb object will be returned instead that will accept any method but return false. This is a quick-hack solution to avoid the cost of loading Log::Any under "normal condition" (when LOG is not set to true). WWW: http://search.cpan.org/dist/Log-Any-IfLOG/ Added: head/devel/p5-Log-Any-IfLOG/ head/devel/p5-Log-Any-IfLOG/Makefile (contents, props changed) head/devel/p5-Log-Any-IfLOG/distinfo (contents, props changed) head/devel/p5-Log-Any-IfLOG/pkg-descr (contents, props changed) head/devel/p5-Log-Any-IfLOG/pkg-plist (contents, props changed) Modified: head/devel/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Sat Mar 7 13:50:14 2015 (r380692) +++ head/devel/Makefile Sat Mar 7 13:50:21 2015 (r380693) @@ -2334,6 +2334,7 @@ SUBDIR += p5-Log-Any-Adapter-Log4perl SUBDIR += p5-Log-Any-Adapter-Syslog SUBDIR += p5-Log-Any-App + SUBDIR += p5-Log-Any-IfLOG SUBDIR += p5-Log-Contextual SUBDIR += p5-Log-Defer SUBDIR += p5-Log-Dispatch Added: head/devel/p5-Log-Any-IfLOG/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/p5-Log-Any-IfLOG/Makefile Sat Mar 7 13:50:21 2015 (r380693) @@ -0,0 +1,23 @@ +# Created by: Sunpoet Po-Chuan Hsieh +# $FreeBSD$ + +PORTNAME= Log-Any-IfLOG +PORTVERSION= 0.01 +CATEGORIES= devel perl5 +MASTER_SITES= CPAN +PKGNAMEPREFIX= p5- + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Load Log::Any only if LOG environment variable is true + +LICENSE= ART10 GPLv1 +LICENSE_COMB= dual + +BUILD_DEPENDS= p5-Log-Any>=0:${PORTSDIR}/devel/p5-Log-Any \ + p5-Perl-osnames>=0.09:${PORTSDIR}/devel/p5-Perl-osnames +RUN_DEPENDS= p5-Log-Any>=0:${PORTSDIR}/devel/p5-Log-Any + +USE_PERL5= configure +USES= perl5 + +.include Added: head/devel/p5-Log-Any-IfLOG/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/p5-Log-Any-IfLOG/distinfo Sat Mar 7 13:50:21 2015 (r380693) @@ -0,0 +1,2 @@ +SHA256 (Log-Any-IfLOG-0.01.tar.gz) = 74804dfba51421058aad87c32bd3cba04470775a76a50a7670d16a9b204632c5 +SIZE (Log-Any-IfLOG-0.01.tar.gz) = 13226 Added: head/devel/p5-Log-Any-IfLOG/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/p5-Log-Any-IfLOG/pkg-descr Sat Mar 7 13:50:21 2015 (r380693) @@ -0,0 +1,8 @@ +Log::Any::IfLOG will load Log::Any only when LOG environment variable is true. +Otherwise, the module is not loaded and if user imports $log, a dumb object will +be returned instead that will accept any method but return false. + +This is a quick-hack solution to avoid the cost of loading Log::Any under +"normal condition" (when LOG is not set to true). + +WWW: http://search.cpan.org/dist/Log-Any-IfLOG/ Added: head/devel/p5-Log-Any-IfLOG/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/p5-Log-Any-IfLOG/pkg-plist Sat Mar 7 13:50:21 2015 (r380693) @@ -0,0 +1,2 @@ +%%SITE_PERL%%/Log/Any/IfLOG.pm +%%PERL5_MAN3%%/Log::Any::IfLOG.3.gz