Role::Tiny role that provides "instance" method turning your object into singleton. NOTE: Subsequent calls to "instance" will return the singleton instance ignoring any arguments. This is different from MooseX::Singleton which does not allow any arguments. WWW: https://metacpan.org/pod/MooX::Singleton PR: 237109 Submitted by: Geoffroy Desvernay <dgeo@centrale-marseille.fr> Approved by: miwi (mentor) Differential Revision: https://reviews.freebsd.org/D19857
28 lines
636 B
Makefile
28 lines
636 B
Makefile
# Created by: Geoffroy Desvernay <dgeo@centrale-marseille.fr>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= MooX-Singleton
|
|
PORTVERSION= 1.20
|
|
CATEGORIES= devel perl5
|
|
MASTER_SITES= CPAN
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
MAINTAINER= dgeo@centrale-marseille.fr
|
|
COMMENT= Turn your Moo class into singleton
|
|
|
|
LICENSE= ART10 GPLv1+
|
|
LICENSE_COMB= dual
|
|
LICENSE_FILE_ART10= ${WRKSRC}/LICENSE
|
|
LICENSE_FILE_GPLv1+ = ${WRKSRC}/LICENSE
|
|
|
|
BUILD_DEPENDS= p5-Moo>=0.009013:devel/p5-Moo
|
|
RUN_DEPENDS= p5-Moo>=0.009013:devel/p5-Moo
|
|
|
|
USES= perl5
|
|
USE_PERL5= configure
|
|
|
|
NO_ARCH= yes
|
|
PLIST_FILES= ${SITE_PERL_REL}/MooX/Singleton.pm \
|
|
${SITE_MAN3_REL}/MooX::Singleton.3.gz
|
|
|
|
.include <bsd.port.mk>
|