aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwen <wen@FreeBSD.org>2010-12-16 16:33:05 +0800
committerwen <wen@FreeBSD.org>2010-12-16 16:33:05 +0800
commitc3779d99201d96b9afaba1edeaa1ebfa20f0a443 (patch)
treed7d0a9cfe01a37040ca452a9a5ce1927f25bd3d7
parentcbb6aa3193a44514c37f894049ce8379ce72db26 (diff)
downloadfreebsd-ports-graphics-c3779d99201d96b9afaba1edeaa1ebfa20f0a443.tar.gz
freebsd-ports-graphics-c3779d99201d96b9afaba1edeaa1ebfa20f0a443.tar.zst
freebsd-ports-graphics-c3779d99201d96b9afaba1edeaa1ebfa20f0a443.zip
MooseX::Types::Signal exports a type, Signal, that recognizes valid signals
on your platform. The underlying type is a non-negative number, but there is a coercion from strings to numbers that recognizes signals by name. There are also more restrictive types, PerlSignal and UnixSignal. UnixSignal only understands signals that are in your system's signal.h header file. PerlSignal only understands signals that are in Perl's %Config hash. Signal is either/or, with preference to UnixSignal over PerlSignal when coercing. WWW: http://search.cpan.org/dist/MooseX-Types-Signal/ PR: ports/153203 Submitted by: Denis Pokataev <catone@cpan.org>
-rw-r--r--devel/Makefile1
-rw-r--r--devel/p5-MooseX-Types-Signal/Makefile24
-rw-r--r--devel/p5-MooseX-Types-Signal/distinfo2
-rw-r--r--devel/p5-MooseX-Types-Signal/pkg-descr10
-rw-r--r--devel/p5-MooseX-Types-Signal/pkg-plist7
5 files changed, 44 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 8c8a91434dc..8219d1cf9ea 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -1966,6 +1966,7 @@
SUBDIR += p5-MooseX-Types-DateTime-ButMaintained
SUBDIR += p5-MooseX-Types-DateTimeX
SUBDIR += p5-MooseX-Types-Path-Class
+ SUBDIR += p5-MooseX-Types-Signal
SUBDIR += p5-MooseX-Types-Structured
SUBDIR += p5-Mouse
SUBDIR += p5-MouseX-AttributeHelpers
diff --git a/devel/p5-MooseX-Types-Signal/Makefile b/devel/p5-MooseX-Types-Signal/Makefile
new file mode 100644
index 00000000000..2381afc70e8
--- /dev/null
+++ b/devel/p5-MooseX-Types-Signal/Makefile
@@ -0,0 +1,24 @@
+# New ports collection makefile for: p5-MooseX-Types-Signal
+# Date created: 16 Dec 2010
+# Whom: Denis Pokataev <catone@cpan.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= MooseX-Types-Signal
+PORTVERSION= 1.101930
+CATEGORIES= devel perl5
+MASTER_SITES= CPAN
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= catone@cpan.org
+COMMENT= A type to represent valid UNIX or Perl signals
+
+RUN_DEPENDS= p5-MooseX-Types>=0:${PORTSDIR}/devel/p5-MooseX-Types
+BUILD_DEPENDS= ${RUN_DEPENDS}
+
+PERL_CONFIGURE= 5.8.0+
+
+MAN3= MooseX::Types::Signal.3
+
+.include <bsd.port.mk>
diff --git a/devel/p5-MooseX-Types-Signal/distinfo b/devel/p5-MooseX-Types-Signal/distinfo
new file mode 100644
index 00000000000..16c4075236a
--- /dev/null
+++ b/devel/p5-MooseX-Types-Signal/distinfo
@@ -0,0 +1,2 @@
+SHA256 (MooseX-Types-Signal-1.101930.tar.gz) = de5c0346205cb6354ca1881d0805cd8a3c68b03987f5fe42d62ac75f6ae6c23b
+SIZE (MooseX-Types-Signal-1.101930.tar.gz) = 11388
diff --git a/devel/p5-MooseX-Types-Signal/pkg-descr b/devel/p5-MooseX-Types-Signal/pkg-descr
new file mode 100644
index 00000000000..8154eb449c9
--- /dev/null
+++ b/devel/p5-MooseX-Types-Signal/pkg-descr
@@ -0,0 +1,10 @@
+MooseX::Types::Signal exports a type, Signal, that recognizes valid signals
+on your platform. The underlying type is a non-negative number, but there is
+a coercion from strings to numbers that recognizes signals by name.
+
+There are also more restrictive types, PerlSignal and UnixSignal. UnixSignal
+only understands signals that are in your system's signal.h header file.
+PerlSignal only understands signals that are in Perl's %Config hash. Signal
+is either/or, with preference to UnixSignal over PerlSignal when coercing.
+
+WWW: http://search.cpan.org/dist/MooseX-Types-Signal/
diff --git a/devel/p5-MooseX-Types-Signal/pkg-plist b/devel/p5-MooseX-Types-Signal/pkg-plist
new file mode 100644
index 00000000000..a82c9c8cbef
--- /dev/null
+++ b/devel/p5-MooseX-Types-Signal/pkg-plist
@@ -0,0 +1,7 @@
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/MooseX/Types/Signal/.packlist
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/MooseX/Types/Signal
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/MooseX/Types
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/MooseX
+%%SITE_PERL%%/MooseX/Types/Signal.pm
+@dirrmtry %%SITE_PERL%%/MooseX/Types
+@dirrmtry %%SITE_PERL%%/MooseX