1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-22 00:35:15 +00:00
freebsd-ports/sysutils/flog/Makefile
2014-02-25 13:31:49 +00:00

29 lines
652 B
Makefile

# Created by: Anders Nordby <anders@fix.no>
# $FreeBSD$
PORTNAME= flog
PORTVERSION= 1.8
CATEGORIES= sysutils
MASTER_SITES= http://oss.ezic.com/flog/ \
ftp://ftp.nuug.no/pub/anders/distfiles/
MAINTAINER= anders@FreeBSD.org
COMMENT= A small STDIN-to-file logger with support for log rotation
PORTDOCS= README
OPTIONS_DEFINE= DOCS
post-patch:
${REINPLACE_CMD} -e "s@|O_LARGEFILE@@" ${WRKSRC}/flog.c
do-build:
${CC} ${CFLAGS} -o ${WRKSRC}/flog ${WRKSRC}/flog.c
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/flog ${STAGEDIR}${PREFIX}/bin
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>