Add devel/p5-Every, a Perl module that provides a function that returns

true every N cycles or S seconds.
This commit is contained in:
Anton Berezin 2008-09-05 09:24:52 +00:00
parent cad2a657d9
commit c1726e1be2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=219890
5 changed files with 42 additions and 0 deletions

View File

@ -1249,6 +1249,7 @@
SUBDIR += p5-Event-Lib
SUBDIR += p5-Event-Notify
SUBDIR += p5-Event-RPC
SUBDIR += p5-Every
SUBDIR += p5-Exception-Class
SUBDIR += p5-Exception-Class-TryCatch
SUBDIR += p5-Exception-Handler

32
devel/p5-Every/Makefile Normal file
View File

@ -0,0 +1,32 @@
# New ports collection makefile for: devel/p5-Every
# Date created: 05 September 2008
# Whom: Anton Berezin <tobez@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= Every
PORTVERSION= 0.06
CATEGORIES= devel perl5
MASTER_SITES= CPAN
MASTER_SITE_SUBDIR= ../by-authors/id/T/TE/TEODOR
PKGNAMEPREFIX= p5-
MAINTAINER= tobez@FreeBSD.org
COMMENT= Return true every N cycles or S seconds
BUILD_DEPENDS= p5-Devel-Callsite>0:${PORTSDIR}/devel/p5-Devel-Callsite
RUN_DEPENDS= ${BUILD_DEPENDS}
PERL_CONFIGURE= yes
MAN3= Every.3
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 500800
BUILD_DEPENDS+= p5-Scalar-List-Utils>0:${PORTSDIR}/lang/p5-Scalar-List-Utils
RUN_DEPENDS+= p5-Scalar-List-Utils>0:${PORTSDIR}/lang/p5-Scalar-List-Utils
.endif
.include <bsd.port.post.mk>

3
devel/p5-Every/distinfo Normal file
View File

@ -0,0 +1,3 @@
MD5 (Every-0.06.tar.gz) = 8ed7fdeb5b04a7fdc7ee8d4bcec6c9b4
SHA256 (Every-0.06.tar.gz) = e1b4c9014f11ee6dde5e80bbdc48dcf2a3291af18b7bedef2907d52a3a21caf3
SIZE (Every-0.06.tar.gz) = 2358

3
devel/p5-Every/pkg-descr Normal file
View File

@ -0,0 +1,3 @@
Returns true when the conditions (cycles or seconds elapsed) are met.
WWW: http://search.cpan.org/dist/Every/

3
devel/p5-Every/pkg-plist Normal file
View File

@ -0,0 +1,3 @@
%%SITE_PERL%%/Every.pm
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Every/.packlist
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Every