diff --git a/devel/Makefile b/devel/Makefile index 1ece80f5a34d..b5024e9c32f5 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -1730,6 +1730,7 @@ SUBDIR += p5-Sys-Cpu SUBDIR += p5-Sys-MemInfo SUBDIR += p5-Sys-Mmap + SUBDIR += p5-Sys-RunAlone SUBDIR += p5-Sys-Sig SUBDIR += p5-Sys-SigAction SUBDIR += p5-Sys-Syscall diff --git a/devel/p5-Sys-RunAlone/Makefile b/devel/p5-Sys-RunAlone/Makefile new file mode 100644 index 000000000000..13836cb01d9e --- /dev/null +++ b/devel/p5-Sys-RunAlone/Makefile @@ -0,0 +1,22 @@ +# New ports collection makefile for: devel/p5-Sys-RunAlone +# Date created: 27 November 2008 +# Whom: Anton Berezin +# +# $FreeBSD$ +# + +PORTNAME= Sys-RunAlone +PORTVERSION= 0.08 +CATEGORIES= devel perl5 +MASTER_SITES= CPAN +MASTER_SITE_SUBDIR= Sys +PKGNAMEPREFIX= p5- + +MAINTAINER= tobez@FreeBSD.org +COMMENT= Make sure only one invocation of a script is active at a time + +PERL_CONFIGURE= yes + +MAN3= Sys::RunAlone.3 + +.include diff --git a/devel/p5-Sys-RunAlone/distinfo b/devel/p5-Sys-RunAlone/distinfo new file mode 100644 index 000000000000..2e251360e32a --- /dev/null +++ b/devel/p5-Sys-RunAlone/distinfo @@ -0,0 +1,3 @@ +MD5 (Sys-RunAlone-0.08.tar.gz) = e8d09837b6a1d897a53fbf04a5115d34 +SHA256 (Sys-RunAlone-0.08.tar.gz) = 37fe65c32fcff62243e4f204e151710e0e39822952d8e0f0e30451fe294d8b69 +SIZE (Sys-RunAlone-0.08.tar.gz) = 3769 diff --git a/devel/p5-Sys-RunAlone/pkg-descr b/devel/p5-Sys-RunAlone/pkg-descr new file mode 100644 index 000000000000..72939b6e4d26 --- /dev/null +++ b/devel/p5-Sys-RunAlone/pkg-descr @@ -0,0 +1,4 @@ +Provide a simple way to make sure the script from which this module is +loaded, is only running once on the server. + +WWW: http://search.cpan.org/dist/Sys-RunAlone/ diff --git a/devel/p5-Sys-RunAlone/pkg-plist b/devel/p5-Sys-RunAlone/pkg-plist new file mode 100644 index 000000000000..895b92a7cbc7 --- /dev/null +++ b/devel/p5-Sys-RunAlone/pkg-plist @@ -0,0 +1,5 @@ +%%SITE_PERL%%/Sys/RunAlone.pm +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Sys/RunAlone/.packlist +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Sys/RunAlone +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Sys +@dirrmtry %%SITE_PERL%%/Sys