1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00
freebsd-ports/sysutils/flog/Makefile
Anders Nordby 72038367f7 Update to 1.5.
Use PORTDOCS.
Add secondary master site.
Reclaim maintainership.
2005-03-16 20:38:49 +00:00

34 lines
739 B
Makefile

# New ports collection makefile for: flog
# Date created: 7 October 2001
# Whom: Anders Nordby <anders@fix.no>
#
# $FreeBSD$
#
PORTNAME= flog
PORTVERSION= 1.5
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
USE_REINPLACE= yes
PORTDOCS= README
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 ${PREFIX}/bin
.if !defined(NOPORTDOCS)
${INSTALL} -d -m 0755 ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif
.include <bsd.port.mk>