1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-22 00:35:15 +00:00

- Add p5-Sentinel 0.05

Sentinel provides a single lvalue function, sentinel, which yields a scalar that
invoke callbacks to get or set its value. Primarily this is useful to create
lvalue object accessors or other functions, to invoke actual code when a new
value is set, rather than simply updating a scalar variable.

WWW: http://search.cpan.org/dist/Sentinel/
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2013-11-05 16:51:53 +00:00
parent 3246ebc3ca
commit 93e00bd189
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=332869
5 changed files with 37 additions and 0 deletions

View File

@ -2634,6 +2634,7 @@
SUBDIR += p5-Scope-Guard
SUBDIR += p5-Scope-Upper
SUBDIR += p5-Search-Binary
SUBDIR += p5-Sentinel
SUBDIR += p5-Sepia
SUBDIR += p5-Set-Array
SUBDIR += p5-Set-ConsistentHash

View File

@ -0,0 +1,23 @@
# Created by: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
# $FreeBSD$
PORTNAME= Sentinel
PORTVERSION= 0.05
CATEGORIES= devel perl5
MASTER_SITES= CPAN
MASTER_SITE_SUBDIR= CPAN:PEVANS
PKGNAMEPREFIX= p5-
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Create lightweight SCALARs with get/set callbacks
LICENSE= ART10 GPLv1
LICENSE_COMB= dual
TEST_DEPENDS= p5-Test-Pod>=1:${PORTSDIR}/devel/p5-Test-Pod \
p5-Test-Refcount>=0:${PORTSDIR}/devel/p5-Test-Refcount
USE_PERL5= modbuild
USES= perl5
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
SHA256 (Sentinel-0.05.tar.gz) = d395c0317b38afa3aa25578a04f5519aed1aba1ebe8a281462ec32b4568fd93a
SIZE (Sentinel-0.05.tar.gz) = 16260

View File

@ -0,0 +1,6 @@
Sentinel provides a single lvalue function, sentinel, which yields a scalar that
invoke callbacks to get or set its value. Primarily this is useful to create
lvalue object accessors or other functions, to invoke actual code when a new
value is set, rather than simply updating a scalar variable.
WWW: http://search.cpan.org/dist/Sentinel/

View File

@ -0,0 +1,5 @@
%%SITE_PERL%%/%%PERL_ARCH%%/Sentinel.pm
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Sentinel/Sentinel.bs
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Sentinel/Sentinel.so
%%PERL5_MAN3%%/Sentinel.3.gz
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Sentinel