aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/flog/Makefile
blob: 9efc460dfe5032010ba5bd533534b3336cd4b705 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# New ports collection makefile for:    flog
# Date created:             7 October 2001
# Whom:                 Anders Nordby <anders@fix.no>
#
# $FreeBSD$
#

PORTNAME=   flog
PORTVERSION=    1.3
CATEGORIES= sysutils
MASTER_SITES=   http://oss.ezic.com/flog/

MAINTAINER= ports@FreeBSD.org
COMMENT=    A small STDIN-to-file logger with support for log rotation

do-build:
    ${CC} ${CFLAGS} -o ${WRKSRC}/flog ${WRKSRC}/flog.c

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/flog ${PREFIX}/bin
.if !defined(NOPORTDOCS)
    ${MKDIR} ${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif

.include <bsd.port.mk>