diff options
Diffstat (limited to 'sysutils/flog/Makefile')
-rw-r--r-- | sysutils/flog/Makefile | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/sysutils/flog/Makefile b/sysutils/flog/Makefile index 9efc460dfe50..77029a5b38a3 100644 --- a/sysutils/flog/Makefile +++ b/sysutils/flog/Makefile @@ -6,20 +6,27 @@ # PORTNAME= flog -PORTVERSION= 1.3 +PORTVERSION= 1.5 CATEGORIES= sysutils -MASTER_SITES= http://oss.ezic.com/flog/ +MASTER_SITES= http://oss.ezic.com/flog/ \ + ftp://ftp.nuug.no/pub/anders/distfiles/ -MAINTAINER= ports@FreeBSD.org +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) - ${MKDIR} ${DOCSDIR} + ${INSTALL} -d -m 0755 ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} .endif |