2001-10-10 10:29:18 +00:00
|
|
|
# New ports collection makefile for: flog
|
|
|
|
# Date created: 7 October 2001
|
|
|
|
# Whom: Anders Nordby <anders@fix.no>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= flog
|
2005-03-16 20:38:49 +00:00
|
|
|
PORTVERSION= 1.5
|
2001-10-10 10:29:18 +00:00
|
|
|
CATEGORIES= sysutils
|
2005-03-16 20:38:49 +00:00
|
|
|
MASTER_SITES= http://oss.ezic.com/flog/ \
|
|
|
|
ftp://ftp.nuug.no/pub/anders/distfiles/
|
2001-10-10 10:29:18 +00:00
|
|
|
|
2005-03-16 20:38:49 +00:00
|
|
|
MAINTAINER= anders@FreeBSD.org
|
2003-02-20 19:00:52 +00:00
|
|
|
COMMENT= A small STDIN-to-file logger with support for log rotation
|
2001-10-10 10:29:18 +00:00
|
|
|
|
2005-03-16 20:38:49 +00:00
|
|
|
USE_REINPLACE= yes
|
|
|
|
PORTDOCS= README
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
${REINPLACE_CMD} -e "s@|O_LARGEFILE@@" ${WRKSRC}/flog.c
|
|
|
|
|
2001-10-10 10:29:18 +00:00
|
|
|
do-build:
|
|
|
|
${CC} ${CFLAGS} -o ${WRKSRC}/flog ${WRKSRC}/flog.c
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/flog ${PREFIX}/bin
|
|
|
|
.if !defined(NOPORTDOCS)
|
2005-03-16 20:38:49 +00:00
|
|
|
${INSTALL} -d -m 0755 ${DOCSDIR}
|
2001-10-10 10:29:18 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|