aboutsummaryrefslogtreecommitdiff
path: root/sysutils/flog/Makefile
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2016-03-12 14:10:15 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2016-03-12 14:10:15 +0000
commit0a6d3faaf1915a536d68a0b12270d6b095438e35 (patch)
treeb2caa9186a1a085bbb37b51e17e0d97d0c1db68d /sysutils/flog/Makefile
parent705c9445928a2d6b47f397ab12f7c82d5337df4e (diff)
Notes
Diffstat (limited to 'sysutils/flog/Makefile')
-rw-r--r--sysutils/flog/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/sysutils/flog/Makefile b/sysutils/flog/Makefile
index 0a535fa793db..eed685100129 100644
--- a/sysutils/flog/Makefile
+++ b/sysutils/flog/Makefile
@@ -10,19 +10,24 @@ MASTER_SITES= http://oss.ezic.com/flog/ \
MAINTAINER= ports@FreeBSD.org
COMMENT= Small STDIN-to-file logger with support for log rotation
+LICENSE= GPLv2 # version is not specified actually
+
PORTDOCS= README
+PLIST_FILES= bin/flog
OPTIONS_DEFINE= DOCS
post-patch:
- ${REINPLACE_CMD} -e "s@|O_LARGEFILE@@" ${WRKSRC}/flog.c
+ @${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}
+
+do-install-DOCS-on:
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>