freebsd-ports/devel/p5-File-Pid-Quick/Makefile
Wen Heping 22e1d290cc This module associates a PID file with your script for the purpose
of keeping more than one copy from running (concurrency prevention).
It creates the PID file, checks for its existence when the script
is run, terminates the script if there is already an instance running,
and removes the PID file when the script finishes.

This module's objective is to provide a completely simplified
interface that makes adding PID-file-based concurrency prevention
to your script as quick and simple as possible; hence File::Pid::Quick.
For a more nuanced implementation of PID files, please see File::Pid.

WWW: http://search.cpan.org/dist/File-Pid-Quick/Quick.pm

PR:		ports/146060
Submitted by:	Eric Freeman <freebsdports@chillibear.com>
2010-05-08 08:54:22 +00:00

25 lines
507 B
Makefile

# Ports collection makefile for: devel-p5-File-Pid-Quick
# Date created: 03 April 2010
# Whom: Eric Freeman <freebsdports@chillibear.com>
#
# $FreeBSD$
#
PORTNAME= File-Pid-Quick
PORTVERSION= 1.02
CATEGORIES= devel perl5
MASTER_SITES= CPAN
MASTER_SITE_SUBDIR= File
PKGNAMEPREFIX= p5-
MAINTAINER= freebsdports@chillibear.com
COMMENT= Associates a PID file with your script
PERL_CONFIGURE= yes
MAN3= File::Pid::Quick.3
regression-test:
cd ${WRKSRC} && ${MAKE} test
.include <bsd.port.mk>