2002-11-13 17:45:39 +01:00
|
|
|
# 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
|
|
|
|
|
2005-10-17 00:01:07 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-21 14:28:59 +01:00
|
|
|
COMMENT= Assert/wait for advisory locks with flock(2)
|
2002-11-13 17:45:39 +01:00
|
|
|
|
|
|
|
BUILD_DEPENDS= makeme:${PORTSDIR}/devel/msrc0 \
|
|
|
|
mkcmd:${PORTSDIR}/devel/mkcmd
|
|
|
|
|
2006-09-17 15:02:41 +02:00
|
|
|
NO_LATEST_LINK= yes
|
2002-11-13 17:45:39 +01:00
|
|
|
MAKE_FLAGS=
|
|
|
|
MAKEFILE=
|
|
|
|
MAN1= ${PORTNAME}.1
|
2004-02-06 14:12:53 +01:00
|
|
|
PLIST_FILES= bin/flock
|
2002-11-13 17:45:39 +01:00
|
|
|
|
|
|
|
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>
|