From owner-svn-ports-all@freebsd.org Mon Jul 27 19:24:57 2015 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id F34679AC7F5; Mon, 27 Jul 2015 19:24:57 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org (repo.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 E34C5EBD; Mon, 27 Jul 2015 19:24:57 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.70]) by repo.freebsd.org (8.14.9/8.14.9) with ESMTP id t6RJOvcf031090; Mon, 27 Jul 2015 19:24:57 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by repo.freebsd.org (8.14.9/8.14.9/Submit) id t6RJOuBb031079; Mon, 27 Jul 2015 19:24:56 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <201507271924.t6RJOuBb031079@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Mon, 27 Jul 2015 19:24:56 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r393019 - in head/devel: . p5-Mixin-Event-Dispatch 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.20 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: Mon, 27 Jul 2015 19:24:58 -0000 Author: sunpoet Date: Mon Jul 27 19:24:55 2015 New Revision: 393019 URL: https://svnweb.freebsd.org/changeset/ports/393019 Log: - Add p5-Mixin-Event-Dispatch 1.006 Add Mixin::Event::Dispatch in as a parent to your class, and it'll provide some methods for defining event handlers ("subscribe_to_event" or "add_handler_for_event") and calling them ("invoke_event"). Note that handlers should return 0 for a one-off handler, and 1 if it should be called again on the next event. WWW: http://search.cpan.org/dist/Mixin-Event-Dispatch/ Added: head/devel/p5-Mixin-Event-Dispatch/ head/devel/p5-Mixin-Event-Dispatch/Makefile (contents, props changed) head/devel/p5-Mixin-Event-Dispatch/distinfo (contents, props changed) head/devel/p5-Mixin-Event-Dispatch/pkg-descr (contents, props changed) head/devel/p5-Mixin-Event-Dispatch/pkg-plist (contents, props changed) Modified: head/devel/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Mon Jul 27 19:23:48 2015 (r393018) +++ head/devel/Makefile Mon Jul 27 19:24:55 2015 (r393019) @@ -2499,6 +2499,7 @@ SUBDIR += p5-Method-Signatures-Simple SUBDIR += p5-Minilla SUBDIR += p5-Minion + SUBDIR += p5-Mixin-Event-Dispatch SUBDIR += p5-Mixin-Linewise SUBDIR += p5-Mknod SUBDIR += p5-Mo Added: head/devel/p5-Mixin-Event-Dispatch/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/p5-Mixin-Event-Dispatch/Makefile Mon Jul 27 19:24:55 2015 (r393019) @@ -0,0 +1,27 @@ +# Created by: Sunpoet Po-Chuan Hsieh +# $FreeBSD$ + +PORTNAME= Mixin-Event-Dispatch +PORTVERSION= 1.006 +CATEGORIES= devel perl5 +MASTER_SITES= CPAN +MASTER_SITE_SUBDIR= CPAN:TEAM +PKGNAMEPREFIX= p5- + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Mixin methods for simple event/message dispatch framework + +LICENSE= ART10 GPLv1 +LICENSE_COMB= dual + +BUILD_DEPENDS= p5-List-UtilsBy>=0:${PORTSDIR}/devel/p5-List-UtilsBy +RUN_DEPENDS:= ${BUILD_DEPENDS} +TEST_DEPENDS= p5-Test-CheckDeps>=0.010:${PORTSDIR}/devel/p5-Test-CheckDeps \ + p5-Test-Fatal>=0.010:${PORTSDIR}/devel/p5-Test-Fatal \ + p5-Test-Refcount>=0.07:${PORTSDIR}/devel/p5-Test-Refcount + +NO_ARCH= yes +USE_PERL5= configure +USES= perl5 + +.include Added: head/devel/p5-Mixin-Event-Dispatch/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/p5-Mixin-Event-Dispatch/distinfo Mon Jul 27 19:24:55 2015 (r393019) @@ -0,0 +1,2 @@ +SHA256 (Mixin-Event-Dispatch-1.006.tar.gz) = a571146d17c0c4eccec3f155b18e746d7e1e31599862810df554ac531b240dcb +SIZE (Mixin-Event-Dispatch-1.006.tar.gz) = 22384 Added: head/devel/p5-Mixin-Event-Dispatch/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/p5-Mixin-Event-Dispatch/pkg-descr Mon Jul 27 19:24:55 2015 (r393019) @@ -0,0 +1,8 @@ +Add Mixin::Event::Dispatch in as a parent to your class, and it'll provide some +methods for defining event handlers ("subscribe_to_event" or +"add_handler_for_event") and calling them ("invoke_event"). + +Note that handlers should return 0 for a one-off handler, and 1 if it should be +called again on the next event. + +WWW: http://search.cpan.org/dist/Mixin-Event-Dispatch/ Added: head/devel/p5-Mixin-Event-Dispatch/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/p5-Mixin-Event-Dispatch/pkg-plist Mon Jul 27 19:24:55 2015 (r393019) @@ -0,0 +1,7 @@ +%%SITE_PERL%%/Mixin/Event/Dispatch.pm +%%SITE_PERL%%/Mixin/Event/Dispatch/Bus.pm +%%SITE_PERL%%/Mixin/Event/Dispatch/Bus.pod +%%SITE_PERL%%/Mixin/Event/Dispatch/Event.pm +%%PERL5_MAN3%%/Mixin::Event::Dispatch.3.gz +%%PERL5_MAN3%%/Mixin::Event::Dispatch::Bus.3.gz +%%PERL5_MAN3%%/Mixin::Event::Dispatch::Event.3.gz