summaryrefslogtreecommitdiff
path: root/sysutils/p5-Sys-SigAction/Makefile
diff options
context:
space:
mode:
authorsno <sno@pkgsrc.org>2009-02-25 21:30:27 +0000
committersno <sno@pkgsrc.org>2009-02-25 21:30:27 +0000
commit6dc5b2054bfd2475cd730e0645857c5feabdb915 (patch)
tree5961537072c4a46afb90b9c4f10bc0489f6b1e2a /sysutils/p5-Sys-SigAction/Makefile
parent616f2a47a5003044b7f0c247f833f165016a7949 (diff)
downloadpkgsrc-6dc5b2054bfd2475cd730e0645857c5feabdb915.tar.gz
This module implements set_sig_handler(), which sets up a signal handler and
(optionally) returns an object which causes the signal handler to be reset to the previous value, when it goes out of scope. Also implemented is timeout_call() which takes a timeout value and a code reference, and executes the code reference wrapped with an alarm timeout. Finally, two convenience routines are defined which allow one to get the signal name from the number -- sig_name(), and get the signal number from the name -- sig_number().
Diffstat (limited to 'sysutils/p5-Sys-SigAction/Makefile')
-rw-r--r--sysutils/p5-Sys-SigAction/Makefile19
1 files changed, 19 insertions, 0 deletions
diff --git a/sysutils/p5-Sys-SigAction/Makefile b/sysutils/p5-Sys-SigAction/Makefile
new file mode 100644
index 00000000000..05499123af6
--- /dev/null
+++ b/sysutils/p5-Sys-SigAction/Makefile
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile,v 1.1 2009/02/25 21:30:27 sno Exp $
+
+DISTNAME= Sys-SigAction-0.11
+PKGNAME= p5-${DISTNAME}
+CATEGORIES= sysutils perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Sys/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://search.cpan.org/dist/Sys-SigAction
+COMMENT= Perl extension for Consistent Signal Handling
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+PKG_INSTALLATION_TYPES= overwrite pkgviews
+
+PERL5_PACKLIST= auto/Sys/SigAction/.packlist
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"