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:
parent
3246ebc3ca
commit
93e00bd189
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=332869
@ -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
|
||||
|
23
devel/p5-Sentinel/Makefile
Normal file
23
devel/p5-Sentinel/Makefile
Normal 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>
|
2
devel/p5-Sentinel/distinfo
Normal file
2
devel/p5-Sentinel/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (Sentinel-0.05.tar.gz) = d395c0317b38afa3aa25578a04f5519aed1aba1ebe8a281462ec32b4568fd93a
|
||||
SIZE (Sentinel-0.05.tar.gz) = 16260
|
6
devel/p5-Sentinel/pkg-descr
Normal file
6
devel/p5-Sentinel/pkg-descr
Normal 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/
|
5
devel/p5-Sentinel/pkg-plist
Normal file
5
devel/p5-Sentinel/pkg-plist
Normal 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
|
Loading…
Reference in New Issue
Block a user