diff options
author | petef <petef@FreeBSD.org> | 2002-11-13 16:45:39 +0000 |
---|---|---|
committer | petef <petef@FreeBSD.org> | 2002-11-13 16:45:39 +0000 |
commit | c647b0448e491c0d86df6798436ba85005ff8176 (patch) | |
tree | 97a5383fbf5b23ef0bad3fb0500f7367fe90ba27 /sysutils/flock | |
parent | 5874ebece7beddc2bd894fce3c0a4c9431b28f78 (diff) | |
download | FreeBSD-ports-c647b0448e491c0d86df6798436ba85005ff8176.zip FreeBSD-ports-c647b0448e491c0d86df6798436ba85005ff8176.tar.gz |
Add flock 3.4, assert/wait for advisory locks with flock(2).
Submitted by: Stephen Gunn <csg@fedex.com>
Diffstat (limited to 'sysutils/flock')
-rw-r--r-- | sysutils/flock/Makefile | 40 | ||||
-rw-r--r-- | sysutils/flock/distinfo | 1 | ||||
-rw-r--r-- | sysutils/flock/pkg-comment | 1 | ||||
-rw-r--r-- | sysutils/flock/pkg-descr | 2 | ||||
-rw-r--r-- | sysutils/flock/pkg-plist | 1 |
5 files changed, 45 insertions, 0 deletions
diff --git a/sysutils/flock/Makefile b/sysutils/flock/Makefile new file mode 100644 index 0000000..b68a3d8 --- /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 0000000..71994d7 --- /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 0000000..2f6109a --- /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 0000000..bd8cac3 --- /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 0000000..5cc06ca --- /dev/null +++ b/sysutils/flock/pkg-plist @@ -0,0 +1 @@ +bin/flock |