diff options
Diffstat (limited to 'sysutils/flock/Makefile')
-rw-r--r-- | sysutils/flock/Makefile | 40 |
1 files changed, 40 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> |