aboutsummaryrefslogtreecommitdiff
path: root/sysutils/lockfile-progs/Makefile
diff options
context:
space:
mode:
authorKurt Jaeger <pi@FreeBSD.org>2018-02-14 17:10:36 +0000
committerKurt Jaeger <pi@FreeBSD.org>2018-02-14 17:10:36 +0000
commitafb9e97ec9ff1bfd0c2c48fe06a8bca84994567f (patch)
tree7a889c48e606afa97f2cdab485fd4b94541a0da9 /sysutils/lockfile-progs/Makefile
parentf8f24ef9fe52a6d6f8740c97cc69e276d8028ee8 (diff)
downloadports-afb9e97ec9ff1bfd0c2c48fe06a8bca84994567f.tar.gz
ports-afb9e97ec9ff1bfd0c2c48fe06a8bca84994567f.zip
New port: sysutils/lockfile-progs
This package includes several programs to safely lock and unlock files and mailboxes from the command line. These include: lockfile-create lockfile-remove lockfile-touchlock mail-lock mail-unlock mail-touchlock These programs use liblockfile to perform the file locking and unlocking, so they are guaranteed compatible with Debian's file locking policies. WWW: https://tracker.debian.org/pkg/lockfile-progs PR: 224508 Submitted by: Yasuhiro KIMURA <yasu@utahime.org>
Notes
Notes: svn path=/head/; revision=461821
Diffstat (limited to 'sysutils/lockfile-progs/Makefile')
-rw-r--r--sysutils/lockfile-progs/Makefile40
1 files changed, 40 insertions, 0 deletions
diff --git a/sysutils/lockfile-progs/Makefile b/sysutils/lockfile-progs/Makefile
new file mode 100644
index 000000000000..56a2a1dbfa72
--- /dev/null
+++ b/sysutils/lockfile-progs/Makefile
@@ -0,0 +1,40 @@
+# Created by: Yasuhiro KIMURA <yasu@utahime.org>
+# $FreeBSD$
+
+PORTNAME= lockfile-progs
+PORTVERSION= 0.1.17
+CATEGORIES= sysutils
+MASTER_SITES= DEBIAN_POOL
+DISTNAME= ${PORTNAME}_${PORTVERSION}
+
+MAINTAINER= yasu@utahime.org
+COMMENT= Programs for locking and unlocking files and mailboxes
+
+LICENSE= GPLv2
+LICENSE_FILE= ${WRKSRC}/COPYING
+
+LIB_DEPENDS= liblockfile.so:devel/liblockfile
+
+ALL_TARGET= lockfile-create
+WRKSRC= ${WRKDIR}/${DISTNAME:S/_/-/}
+
+OPTIONS_DEFINE= DOCS
+
+PORTDOCS= TODO changelog
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/lockfile-create ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_DATA} ${WRKSRC}/lockfile-progs.1 ${STAGEDIR}${MANPREFIX}/man/man1
+.for f in lockfile-remove lockfile-touch lockfile-check mail-lock mail-unlock mail-touchlock
+ ${LN} ${STAGEDIR}${PREFIX}/bin/lockfile-create ${STAGEDIR}${PREFIX}/bin/${f}
+ ${LN} -s lockfile-progs.1 ${STAGEDIR}${MANPREFIX}/man/man1/${f}.1
+.endfor
+ ${LN} -s lockfile-progs.1 ${STAGEDIR}${MANPREFIX}/man/man1/lockfile-create.1
+
+do-install-DOCS-on:
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
+.for f in TODO debian/changelog
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
+.endfor
+
+.include <bsd.port.mk>