Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F145399334
D19857.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
2 KB
Referenced Files
None
Subscribers
None
D19857.diff
View Options
Index: head/devel/Makefile
===================================================================
--- head/devel/Makefile
+++ head/devel/Makefile
@@ -2979,6 +2979,7 @@
SUBDIR += p5-MooX-Locale-Passthrough
SUBDIR += p5-MooX-Options
SUBDIR += p5-MooX-Role-Parameterized
+ SUBDIR += p5-MooX-Singleton
SUBDIR += p5-MooX-StrictConstructor
SUBDIR += p5-MooX-Thunking
SUBDIR += p5-MooX-Traits
Index: head/devel/p5-MooX-Singleton/Makefile
===================================================================
--- head/devel/p5-MooX-Singleton/Makefile
+++ head/devel/p5-MooX-Singleton/Makefile
@@ -0,0 +1,28 @@
+# 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>
Index: head/devel/p5-MooX-Singleton/distinfo
===================================================================
--- head/devel/p5-MooX-Singleton/distinfo
+++ head/devel/p5-MooX-Singleton/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1553516707
+SHA256 (MooX-Singleton-1.20.tar.gz) = f7d7626fffde98f85ec12c1ee26b01f139a4dddd2f453ea56c341df194e3210e
+SIZE (MooX-Singleton-1.20.tar.gz) = 14420
Index: head/devel/p5-MooX-Singleton/pkg-descr
===================================================================
--- head/devel/p5-MooX-Singleton/pkg-descr
+++ head/devel/p5-MooX-Singleton/pkg-descr
@@ -0,0 +1,8 @@
+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
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Feb 20, 8:32 AM (5 h, 7 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28896578
Default Alt Text
D19857.diff (2 KB)
Attached To
Mode
D19857: New port: devel/p5-MooX-Singleton: Turn your Moo class into singleton
Attached
Detach File
Event Timeline
Log In to Comment