mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-15 07:56:36 +00:00
cad484f4ce
processes. Only one process can hold a lock file. Other processes that want to acquire it have to wait until it is released by the holder. In this module the lock file is implemented as an empty regular file, exclusively locked using fcntl.flock. The file is removed when it is to be released. WWW: http://martin.horcicka.eu/python/lock_file/ PR: ports/113392 Submitted by: Martin Horcicka <martin at horcicka.eu>
21 lines
427 B
Makefile
21 lines
427 B
Makefile
# New ports collection makefile for: lock_file
|
|
# Date created: 5 June 2007
|
|
# Whom: Martin Horcicka <martin@horcicka.eu>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= lock_file
|
|
PORTVERSION= 1.0
|
|
CATEGORIES= devel python
|
|
MASTER_SITES= http://martin.horcicka.eu/python/lock_file/
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= martin@horcicka.eu
|
|
COMMENT= Lock file manipulation
|
|
|
|
USE_PYTHON= 2.4+
|
|
USE_PYDISTUTILS= yes
|
|
|
|
.include <bsd.port.mk>
|