mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-25 00:51:21 +00:00
d9264e2449
PR: ports/132020 Submitted by: Edmondas Girkantas <eg@fbsd.lt> Approved by: maintainer timeout (anders; 1 month)
33 lines
720 B
Makefile
33 lines
720 B
Makefile
# New ports collection makefile for: flog
|
|
# Date created: 7 October 2001
|
|
# Whom: 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
|
|
|
|
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>
|