aboutsummaryrefslogtreecommitdiff
path: root/sysutils/flock
diff options
context:
space:
mode:
authorPete Fritchman <petef@FreeBSD.org>2002-11-13 16:45:39 +0000
committerPete Fritchman <petef@FreeBSD.org>2002-11-13 16:45:39 +0000
commit48209f9cc2d3df4d446bf8f12209887624f96719 (patch)
treea28f28052e793c08987c758827fb84e59c401c8a /sysutils/flock
parent53f144b1419955aecce42da5e11dcaca9a8ad6cd (diff)
downloadports-48209f9cc2d3df4d446bf8f12209887624f96719.tar.gz
ports-48209f9cc2d3df4d446bf8f12209887624f96719.zip
Notes
Diffstat (limited to 'sysutils/flock')
-rw-r--r--sysutils/flock/Makefile40
-rw-r--r--sysutils/flock/distinfo1
-rw-r--r--sysutils/flock/pkg-comment1
-rw-r--r--sysutils/flock/pkg-descr2
-rw-r--r--sysutils/flock/pkg-plist1
5 files changed, 45 insertions, 0 deletions
diff --git a/sysutils/flock/Makefile b/sysutils/flock/Makefile
new file mode 100644
index 000000000000..b68a3d891d73
--- /dev/null
+++ b/sysutils/flock/Makefile
@@ -0,0 +1,40 @@
+# New ports collection makefile for: flock
+# Date created: Nov 1 2002
+# Whom: Stephen Gunn <csg@fedex.com>, <csg@waterspout.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= flock
+PORTVERSION= 3.4
+CATEGORIES= sysutils
+MASTER_SITES= ftp://ftp.physics.purdue.edu/pub/pundits/ \
+ http://archive.progeny.com/pundits/
+DISTNAME= xapply-${PORTVERSION}
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= csg@fedex.com
+
+BUILD_DEPENDS= makeme:${PORTSDIR}/devel/msrc0 \
+ mkcmd:${PORTSDIR}/devel/mkcmd
+
+USE_REINPLACE= yes
+MAKE_FLAGS=
+MAKEFILE=
+MAN1= ${PORTNAME}.1
+
+post-patch:
+ @${REINPLACE_CMD} -e 's,CFLAGS=,CFLAGS+=,' -e 's,^DEBUG,#DEBUG,'\
+ -e 's,gcc,${CC},' ${WRKSRC}/bin/flock/Make.host
+
+do-build:
+ ( cd ${WRKSRC}/bin/${PORTNAME} && ${SETENV} ${MAKE_ENV} makeme \
+ ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${ALL_TARGET} )
+
+do-install:
+ ( cd ${WRKSRC}/bin/flock && ${SETENV} ${MAKENV} makeme \
+ ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${INSTALL_TARGET} )
+ ${INSTALL_MAN} ${WRKSRC}/bin/${PORTNAME}/${PORTNAME}.man \
+ ${PREFIX}/man/man1/${PORTNAME}.1
+
+.include <bsd.port.mk>
diff --git a/sysutils/flock/distinfo b/sysutils/flock/distinfo
new file mode 100644
index 000000000000..71994d72b2f5
--- /dev/null
+++ b/sysutils/flock/distinfo
@@ -0,0 +1 @@
+MD5 (xapply-3.4.tgz) = 6e8b976cd3696c3d478e61104cc866e9
diff --git a/sysutils/flock/pkg-comment b/sysutils/flock/pkg-comment
new file mode 100644
index 000000000000..2f6109a2564d
--- /dev/null
+++ b/sysutils/flock/pkg-comment
@@ -0,0 +1 @@
+Assert/wait for advisory locks with flock(2)
diff --git a/sysutils/flock/pkg-descr b/sysutils/flock/pkg-descr
new file mode 100644
index 000000000000..bd8cac3e1d9a
--- /dev/null
+++ b/sysutils/flock/pkg-descr
@@ -0,0 +1,2 @@
+Flock(1) asserts/waits for/removes advisory locks on descriptors,
+and can be used to sync with other processes using flock(2).
diff --git a/sysutils/flock/pkg-plist b/sysutils/flock/pkg-plist
new file mode 100644
index 000000000000..5cc06ca0e3f3
--- /dev/null
+++ b/sysutils/flock/pkg-plist
@@ -0,0 +1 @@
+bin/flock